ConsoleKit 0.2.0

Michael Biebl mbiebl at gmail.com
Thu Mar 15 11:58:46 PDT 2007


2007/3/15, William Jon McCann <mccann at jhu.edu>:
> On 3/15/07, Michael Biebl <mbiebl at gmail.com> wrote:
> > > On 3/15/07, Michael Biebl <mbiebl at gmail.com> wrote:
> > > > The pam module does not compile on Debian/Ubuntu (pam version  0.79).
> > > >
> > > > There was a similar issue with PolicyKit:
> > > > http://lists.freedesktop.org/archives/hal/2006-June/005430.html
> > > >
> > > > Maybe you can reuse the patch.
> > >
> > > I've committed this and added a fallback to syslog when pam_syslog
> > > isn't available.
> > >
> > > Is is possible for you to test git to confirm that it works?
> > >
> >
> > Well, it compiles now. But adding pam_ck_connector to /etc/pam.d/login yields:
> > Mar 15 18:37:36 pluto login[13648]: ROOT LOGIN  on 'tty1'
> > Mar 15 18:38:05 pluto login[2301]: PAM unable to
> > dlopen(/lib/security/pam_ck_connector.so)
> > Mar 15 18:38:05 pluto login[2301]: PAM [dlerror:
> > /lib/security/pam_ck_connector.so: undefined symbol: pam_syslog]
> > Mar 15 18:38:05 pluto login[2301]: PAM adding faulty module:
> > /lib/security/pam_ck_connector.so
> > Mar 15 18:38:07 pluto login[2301]: (pam_unix) session opened for user
> > root by (uid=0)
> > Mar 15 18:38:07 pluto login[2301]: Module is unknown
>
> Ugh.  My search and replace missed one.  Sorry.  Is it fixed now?
>

Yeah, it seems to work now.

Could you please also check the following:

# cat /proc/pid_of_console-kit-daemon/stat
26871 (console-kit-dae) S 1 26871 26871 0 -1 4194624 421 0 0 0 1 0 0 0
15 0 62 0 270239 7323648 420 4294967295 134512640 134578184 3216130800
3216130424 3086844944 0 0 4096 0 4294967295 0 0 17 0 0 0 0

Notice the mangled executable name.
Because of that, start-stop-daemon in the Debian init script has
problems to terminate the daemon.

Cheers,
Michael


More information about the hal mailing list