Hi,
I've built systemd-204 in my system, and I've just built polkit-111. The
configure is as follows:
./configure --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --libexecdir=/usr/lib/polkit-1 \
            --enable-libsystemd-login=yes \
            --disable-man-pages \
            --disable-static

And after installation, I copied /etc/pam.d/polkit-1 from Archlinux ABS
tree with:
auth            requisite       pam_nologin.so
auth            required        pam_env.so
auth            required        pam_unix.so
account         required        pam_unix.so
session         required        pam_limits.so
session         required        pam_unix.so
password        required        pam_unix.so

but 'systemctl reboot' still failed, and I had the following journal.

Jul 24 21:35:29 mytbk-lfs polkitd[220]: Registered Authentication Agent for
unix-process:280:25671 (system bus name :1.6 [/usr/bin/pkttyagent
--notify-fd 5 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale )
Jul 24 21:35:29 mytbk-lfs polkitd[220]: Unregistered Authentication Agent
for unix-process:280:25671 (system bus name :1.6, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale ) (disconnected
from bus)
Jul 24 21:35:34 mytbk-lfs polkitd[220]: Registered Authentication Agent for
unix-process:284:26157 (system bus name :1.8 [/usr/bin/pkttyagent
--notify-fd 5 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale )
Jul 24 21:35:34 mytbk-lfs dbus-daemon[170]: dbus[170]: [system] Rejected
send message, 2 matched rules; type="method_call", sender=":1.7" (uid=1000
pid=284 comm="systemctl reboot ")
interface="org.freedesktop.systemd1.Manager" member="StartUnit" error
name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1"
(uid=0 pid=1 comm="/sbin/init ")
Jul 24 21:35:34 mytbk-lfs dbus[170]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.7" (uid=1000 pid=284
comm="systemctl reboot ") interface="org.freedesktop.systemd1.Manager"
member="StartUnit" error name="(unset)" requested_reply="0"
destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
Jul 24 21:35:34 mytbk-lfs polkitd[220]: Unregistered Authentication Agent
for unix-process:284:26157 (system bus name :1.8, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale ) (disconnected
from bus)

Iru Cai
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to