On 8/21/20 12:38 PM, Ken Moffat via blfs-book wrote:
On Fri, Aug 21, 2020 at 12:42:39PM -0000, pierre--- via blfs-book wrote:
Author: pierre
Date: Fri Aug 21 05:42:39 2020
New Revision: 23592

Log:
Fix polkit detection of elogind (again!)

Modified:
    trunk/BOOK/postlfs/security/polkit.xml


I thought it was working without this patch ?

Aug 20 23:20:16 leshp dbus-daemon[990]: [system] Activating service 
name='org.freedesktop.login1' requested by ':1.0' (uid=0 pid=1154 comm="/bin/login 
--     ") (using servicehelper)
Aug 20 23:20:16 leshp klogd: <38>[   14.225879] elogind-daemon[1163]: New seat 
seat0.
Aug 20 23:20:16 leshp klogd: <38>[   14.226760] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event2 (Power Button)
Aug 20 23:20:16 leshp klogd: <38>[   14.277907] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event1 (Power Button)
Aug 20 23:20:16 leshp klogd: <38>[   14.277952] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event0 (Sleep Button)
Aug 20 23:20:16 leshp klogd: <38>[   14.278024] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event15 (SEM USB Keyboard)
Aug 20 23:20:16 leshp klogd: <38>[   14.278093] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event16 (SEM USB Keyboard Consumer Control)
Aug 20 23:20:16 leshp klogd: <38>[   14.278160] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event17 (SEM USB Keyboard System Control)
Aug 20 23:20:16 leshp dbus-daemon[990]: [system] Successfully activated service 
'org.freedesktop.login1'
Aug 20 23:20:16 leshp klogd: <38>[   14.598931] elogind-daemon[1163]: New 
session c1 of user ken.
Aug 20 23:20:32 leshp klogd: <38>[   29.780068] elogind-daemon[1163]: New 
session c2 of user ken.

and the Xorg log is in .local:

ken@leshp ~$ ls -al .local/share/xorg/Xorg.0.log*
-rw-r--r-- 1 ken users 44305 Aug 21 18:20 .local/share/xorg/Xorg.0.log
-rw-r--r-- 1 ken users 50091 Aug 21 03:40 .local/share/xorg/Xorg.0.log.old

I agree. I didn't use the patch and things are working for me. So far I only have twm and xfce installed (kde later today).

In my log I do have:

Package systemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `systemd.pc'
to the PKG_CONFIG_PATH environment variable
No package 'systemd' found

but later:

        Session tracking:           libelogind
        PAM support:                yes
        systemdsystemunitdir:
        polkitd user:               polkitd

In ~/.local/share/xorg/Xorg.0.log is:

(II) systemd-logind: took control of session /org/freedesktop/login1/session/_31

(II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0

(II) systemd-logind: got fd for /dev/input/event1 13:65 fd 26 paused 0
(II) systemd-logind: got fd for /dev/input/event0 13:64 fd 29 paused 0

and several similar messages.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to