Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Alan McKinnon
On 11/02/2014 03:23, Walter Dnes wrote: > On Tue, Feb 11, 2014 at 12:28:43AM +, Kerin Millar wrote >> On 10/02/2014 23:57, Walter Dnes wrote: >>> >>>What's the point, if you still have to run as root (or su or sudo) for >>> the emerge update process? >> >> It's the principle of least privil

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Alan McKinnon
On 11/02/2014 01:57, Walter Dnes wrote: > On Mon, Feb 10, 2014 at 11:10:50PM +, Kerin Millar wrote > >> As mentioned in a few other posts, recent snapshots are portage:portage >> throughout so it's a done deal for new installations. > > How "recent"? Looking back into ~/Maildir/spam/cur/

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Mike Gilbert
On Mon, Feb 10, 2014 at 8:23 PM, Walter Dnes wrote: > On Tue, Feb 11, 2014 at 12:28:43AM +, Kerin Millar wrote >> On 10/02/2014 23:57, Walter Dnes wrote: >> > >> >What's the point, if you still have to run as root (or su or sudo) for >> > the emerge update process? >> >> It's the principle

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Kerin Millar
On 11/02/2014 01:23, Walter Dnes wrote: On Tue, Feb 11, 2014 at 12:28:43AM +, Kerin Millar wrote On 10/02/2014 23:57, Walter Dnes wrote: What's the point, if you still have to run as root (or su or sudo) for the emerge update process? It's the principle of least privilege. Is there a

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Walter Dnes
On Tue, Feb 11, 2014 at 12:28:43AM +, Kerin Millar wrote > On 10/02/2014 23:57, Walter Dnes wrote: > > > >What's the point, if you still have to run as root (or su or sudo) for > > the emerge update process? > > It's the principle of least privilege. Is there any specific reason for > por

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Kerin Millar
On 10/02/2014 20:30, Kerin Millar wrote: On 10/02/2014 16:05, Stroller wrote: Hello all, I'm a little bit rusty, but my recollection is that I should be able to perform `eix-sync` (or `emerge --sync`?) as a user to synchronise my local copy of the portage tree with Gentoo's master portage tree.

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Kerin Millar
On 10/02/2014 23:57, Walter Dnes wrote: On Mon, Feb 10, 2014 at 11:10:50PM +, Kerin Millar wrote As mentioned in a few other posts, recent snapshots are portage:portage throughout so it's a done deal for new installations. How "recent"? Looking back into ~/Maildir/spam/cur/ I see that

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Stroller
On Tue, 11 February 2014, at 12:05 am, Stroller wrote: > On Mon, 10 February 2014, at 11:57 pm, Walter Dnes > wrote: >>> ... >>> There is no subsequent requirement not to invoke emerge --sync as root. >> >> What's the point, if you still have to run as root (or su or sudo) for >> the emerge u

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Stroller
On Mon, 10 February 2014, at 11:57 pm, Walter Dnes wrote: >> ... >> There is no subsequent requirement not to invoke emerge --sync as root. > > What's the point, if you still have to run as root (or su or sudo) for > the emerge update process? To reduce the number of times the user has to ent

[gentoo-user] Re: [poll] What is your session state?

2014-02-10 Thread walt
On 02/09/2014 06:06 PM, Canek Peláez Valdés wrote: > On Sun, Feb 9, 2014 at 4:43 PM, walt wrote: >> Recent threads about consolekit vs logind(systemd) have made me curious, so >> I've been studying... >> >> A few of us have had recent problems with things like plugging USB sticks, >> which once wo

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Walter Dnes
On Mon, Feb 10, 2014 at 11:10:50PM +, Kerin Millar wrote > As mentioned in a few other posts, recent snapshots are portage:portage > throughout so it's a done deal for new installations. How "recent"? Looking back into ~/Maildir/spam/cur/ I see that the email file suffix changed from ".d5

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Kerin Millar
On 10/02/2014 19:29, Alan McKinnon wrote: On 10/02/2014 21:03, Walter Dnes wrote: >On Mon, Feb 10, 2014 at 05:09:55PM +, Stroller wrote >> >>On Mon, 10 February 2014, at 4:55 pm, Gleb Klochkov wrote: >> >>>Hi. Try to use sudo with no password for eix-sync. >> >>I'd really rather not. Th

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Stefan G. Weichinger
Am 10.02.2014 17:11, schrieb Canek Peláez Valdés: > I remeber something similar when I was running gnome-boxes. However, > nowadays I use qemu directly; it never asks for my root password. I > run it as a normal user, obviously. > > I don't know if this is related to logind. looked through the f

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Kerin Millar
On 10/02/2014 16:05, Stroller wrote: Hello all, I'm a little bit rusty, but my recollection is that I should be able to perform `eix-sync` (or `emerge --sync`?) as a user to synchronise my local copy of the portage tree with Gentoo's master portage tree. User is in the portage group: $ whoam

[gentoo-user] Re: User eix-sync permissions problem

2014-02-10 Thread eroen
On Mon, 10 Feb 2014 14:03:44 -0500, "Walter Dnes" wrote: > On Mon, Feb 10, 2014 at 05:09:55PM +, Stroller wrote > > > > On Mon, 10 February 2014, at 4:55 pm, Gleb Klochkov > > wrote: > > > > > Hi. Try to use sudo with no password for eix-sync. > > > > I'd really rather not. Thanks, though.

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Kerin Millar
On 10/02/2014 19:03, Walter Dnes wrote: On Mon, Feb 10, 2014 at 05:09:55PM +, Stroller wrote On Mon, 10 February 2014, at 4:55 pm, Gleb Klochkov wrote: Hi. Try to use sudo with no password for eix-sync. I'd really rather not. Thanks, though. Being in group "portage" is not enough.

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Alan McKinnon
On 10/02/2014 21:03, Walter Dnes wrote: > On Mon, Feb 10, 2014 at 05:09:55PM +, Stroller wrote >> >> On Mon, 10 February 2014, at 4:55 pm, Gleb Klochkov >> wrote: >> >>> Hi. Try to use sudo with no password for eix-sync. >> >> I'd really rather not. Thanks, though. > > Being in group "port

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Walter Dnes
On Mon, Feb 10, 2014 at 05:09:55PM +, Stroller wrote > > On Mon, 10 February 2014, at 4:55 pm, Gleb Klochkov > wrote: > > > Hi. Try to use sudo with no password for eix-sync. > > I'd really rather not. Thanks, though. Being in group "portage" is not enough. That merely lets you do emer

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Alan McKinnon
On 10/02/2014 18:05, Stroller wrote: > Hello all, > > I'm a little bit rusty, but my recollection is that I should be able to > perform `eix-sync` (or `emerge --sync`?) as a user to synchronise my local > copy of the portage tree with Gentoo's master portage tree. I don't sync as user alan, I l

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Stroller
On Mon, 10 February 2014, at 4:55 pm, Gleb Klochkov wrote: > Hi. Try to use sudo with no password for eix-sync. I'd really rather not. Thanks, though. Stroller.

Re: [gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Gleb Klochkov
Hi. Try to use sudo with no password for eix-sync. 10.02.2014 20:07 пользователь "Stroller" написал: > Hello all, > > I'm a little bit rusty, but my recollection is that I should be able to > perform `eix-sync` (or `emerge --sync`?) as a user to synchronise my local > copy of the portage tree wit

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Canek Peláez Valdés
On Mon, Feb 10, 2014 at 9:58 AM, Stefan G. Weichinger wrote: > Am 10.02.2014 16:55, schrieb Canek Peláez Valdés: > >> Stefan, I'm not following you. Do you have the same problem that Walt >> has? In your DE you are being asked for your root password when you >> insert a USB stick or when you power

[gentoo-user] User eix-sync permissions problem

2014-02-10 Thread Stroller
Hello all, I'm a little bit rusty, but my recollection is that I should be able to perform `eix-sync` (or `emerge --sync`?) as a user to synchronise my local copy of the portage tree with Gentoo's master portage tree. User is in the portage group: $ whoami stroller $ groups stroller wheel audi

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Stefan G. Weichinger
Am 10.02.2014 16:55, schrieb Canek Peláez Valdés: > Stefan, I'm not following you. Do you have the same problem that Walt > has? In your DE you are being asked for your root password when you > insert a USB stick or when you power off the machine from the menu? Only when I start virtual machine

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Canek Peláez Valdés
On Mon, Feb 10, 2014 at 9:52 AM, Stefan G. Weichinger wrote: > Am 10.02.2014 16:13, schrieb Canek Peláez Valdés: > >>> I would not expect to have to type I the local root password when >>> administering something on a remote host. >> >> And you don't need to with logind. > > logind runs here as w

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Canek Peláez Valdés
On Mon, Feb 10, 2014 at 9:50 AM, Stefan G. Weichinger wrote: > Am 10.02.2014 16:12, schrieb Canek Peláez Valdés: >> On Mon, Feb 10, 2014 at 2:13 AM, Stefan G. Weichinger wrote: >>> >>> because you wrote "poll": >> >> Sorry? Who wrote "poll" where? > > Subject of mail ... afai see. Yeah, I totall

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Stefan G. Weichinger
Am 10.02.2014 16:13, schrieb Canek Peláez Valdés: >> I would not expect to have to type I the local root password when >> administering something on a remote host. > > And you don't need to with logind. logind runs here as well. What to change? Wher to put that "startx -- vt01" in my case (syst

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Stefan G. Weichinger
Am 10.02.2014 16:12, schrieb Canek Peláez Valdés: > On Mon, Feb 10, 2014 at 2:13 AM, Stefan G. Weichinger wrote: >> >> because you wrote "poll": > > Sorry? Who wrote "poll" where? Subject of mail ... afai see. S

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Canek Peláez Valdés
On Mon, Feb 10, 2014 at 4:52 AM, Samuli Suominen wrote: > > On 10/02/14 00:43, walt wrote: >> Recent threads about consolekit vs logind(systemd) have made me curious, so >> I've been studying... >> >> A few of us have had recent problems with things like plugging USB sticks, >> which once worked t

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Canek Peláez Valdés
On Mon, Feb 10, 2014 at 2:13 AM, Stefan G. Weichinger wrote: > > because you wrote "poll": Sorry? Who wrote "poll" where? > $ loginctl show-session 1 > Id=1 > Timestamp=Mo 2014-02-10 08:45:40 CET > TimestampMonotonic=28555352 > VTNr=7 > Display=:0 > Remote=no > Service=gdm-password > Scope=sessi

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Canek Peláez Valdés
On Mon, Feb 10, 2014 at 2:36 AM, J. Roeleveld wrote: > On 10 February 2014 09:13:37 CET, "Stefan G. Weichinger" > wrote: >> >>because you wrote "poll": >> >>$ loginctl show-session 1 >>Id=1 >>Timestamp=Mo 2014-02-10 08:45:40 CET >>TimestampMonotonic=28555352 >>VTNr=7 >>Display=:0 >>Remote=no >>S

[gentoo-user] Re: module woes

2014-02-10 Thread James
walt gmail.com> writes: > Baffling things happen to me when I compile modules with /usr/src/linux > pointing to the wrong sources. Worth a quick look. -rw-r--r-- 1 root0 Dec 25 21:19 .keep lrwxrwxrwx 1 root 20 Feb 2 04:01 linux -> linux-3.13.1-gentoo/ nope.it's fine. thx, Jame

[gentoo-user] Re: module woes

2014-02-10 Thread James
Mick gmail.com> writes: > > What is stumping me is why all three kernels boot, but the modules > > only point to 3.10.25, even when boot either the second > > (kernel-3.13.0-gentoo-r1) kernel or the third (config-3.13.1-gentoo) > > kernel. > I apologise if what I suggest has already been cove

[gentoo-user] Re: module woes

2014-02-10 Thread James
William Kenworthy iinet.net.au> writes: > I had this problem back a few months and I had made a typo in grub so > the kernels were not loading the correct initrd. > BillK I'm using grub2. Can you be a bit more specific? James

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Samuli Suominen
On 10/02/14 00:43, walt wrote: > Recent threads about consolekit vs logind(systemd) have made me curious, so > I've been studying... > > A few of us have had recent problems with things like plugging USB sticks, > which once worked transparently but now require root privileges. > > I've discovered

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread J. Roeleveld
On 10 February 2014 09:13:37 CET, "Stefan G. Weichinger" wrote: > >because you wrote "poll": > >$ loginctl show-session 1 >Id=1 >Timestamp=Mo 2014-02-10 08:45:40 CET >TimestampMonotonic=28555352 >VTNr=7 >Display=:0 >Remote=no >Service=gdm-password >Scope=session-1.scope >Leader=1352 >Audit=1 >Type

Re: [gentoo-user] [poll] What is your session state?

2014-02-10 Thread Stefan G. Weichinger
because you wrote "poll": $ loginctl show-session 1 Id=1 Timestamp=Mo 2014-02-10 08:45:40 CET TimestampMonotonic=28555352 VTNr=7 Display=:0 Remote=no Service=gdm-password Scope=session-1.scope Leader=1352 Audit=1 Type=x11 Class=user Active=yes State=active IdleHint=no IdleSinceHint=0 IdleSinceHin