Re: Polishing systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Oct 16, 2012 at 6:37 PM, Leonid Isaev <lisaev@xxxxxxxxxxxx> wrote:

> On Tue, 16 Oct 2012 23:08:33 +0200
> Thomas Bächler <thomas@xxxxxxxxxxxxx> wrote:
>
> > Am 16.10.2012 20:15, schrieb Martín Cigorraga:
> > > Interesting, but I don't know. This may be a polkit setting. If you
> find
> > > out, I'd be interested.
> > >
> > > I was sugested in the #systemd channel that this may be associated with
> > > dbus:
> > > 06:31:17 Mithrandir | sounds like the dbus config isn't restrictive
> enough,
> > > you should get something like:
> > > 06:31:20 Mithrandir | > systemctl reboot
> > > 06:31:22 Mithrandir | Failed to issue method call: Access denied
> > >
> > > I'll keep you informed while I continue investigating this issue until
> I
> > > have
> > > enough info to file a bug.
> >
> > That's not it. It's intended that you can reboot/halt as user, if nobody
> > else is logged in.
> >
> >
>
> Actually, I am seeing this too.
>
> More precisely, from console "systemctl reboot" works as a normal user.
> However, when X (and xfce4-session) is started via "startx -- vt1" I can no
> longer do that (with the same error message as Martin). In both cases
> "loginctl" shows an assigned seat0, and inside xfce "ck-list-session"
> shows an
> active session on /dev/tty1, so I can reboot/poweroff via
> ck/polkit/sysvcompat
> layer.
>
> I can't try gnome to check whether it is an issue with xfce4-session not
> being
> systemd-aware, because somehow gnome-shell segfaults on startup for me :(
>
> --
> Leonid Isaev
> GnuPG key: 0x164B5A6D
> Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
>

"That's not it. It's intended that you can reboot/halt as user, if nobody
else is logged in."

Ahh, ok, that explains a lot.

I can reboot/shutdown with my user account from both CLI and inside X.
However
when I switch to another user if I try to reboot/shutdown from CLI I'm
asked for the
first logged user password (instead the root password!) while when inside X
I just
have the "Access denied" message - with not chance to enter any password to
authorize the command.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux