1 |
On 09/11/2010 11:51 PM, Alan McKinnon wrote: |
2 |
> Apparently, though unproven, at 22:34 on Saturday 11 September 2010, Nikos |
3 |
> Chantziaras did opine thusly: |
4 |
> |
5 |
>> On 09/11/2010 11:18 PM, Alan McKinnon wrote: |
6 |
>>> Apparently, though unproven, at 11:46 on Saturday 11 September 2010, |
7 |
>>> Albert |
8 |
>>> |
9 |
>>> Hopkins did opine thusly: |
10 |
>>>> On Sat, 2010-09-11 at 10:24 +0200, Stéphane Guedon wrote: |
11 |
>>>>> few months ago, I read linux kernel in a nutschell(sic), and the author |
12 |
>>>>> wrote we shouldn't do kernel operations (config and build) as root. |
13 |
>>>> |
14 |
>>>> I call bullsh*t. I've been compiling kernels for 17 years and for the |
15 |
>>>> most part have done it as root without any problems. |
16 |
>>> |
17 |
>>> Same here. |
18 |
>>> |
19 |
>>> The root user (sometimes portage) creates /usr/src/linux-* |
20 |
>>> |
21 |
>>> Someone tell me again exactly how user alan is supposed to build those |
22 |
>>> sources? |
23 |
>> |
24 |
>> chown -R |
25 |
> |
26 |
> I utterly fail to see the point of this prohibition against building as root. |
27 |
> |
28 |
> Sure, it makes sense when I'm installing perl stuff for my users and last |
29 |
> command is sudo make install. But for everything else? |
30 |
|
31 |
Well, running GCC and Make as root raises the same concerns as running |
32 |
any other program as root. |
33 |
|
34 |
In the case of Gentoo, this isn't too important though, since in Gentoo, |
35 |
you don't build your software in your home dir and then "sudo make |
36 |
install", but portage will run GCC as root anyway. |
37 |
|
38 |
With other distros, you never run GCC/Make/etc as root. In Gentoo you |
39 |
do, so there's no point in reading too much into this. |