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

Bug#692730: kdm fail to update utmp when a user log in, causing shutdown-at-night to misbehave



[Lisandro]
I'll try to see why we have

/etc/kde4/kdm/kdm.options:use-sessreg

Seems to be that this was set to have logging in utmp by default (according to man 5 kdm.options).
And UseSessReg in kdmrc was set to False to avoid logging twice (ancient bug mentioned by Petter).
This setting is no longer effective cause configuration of kdm is done exclusively in kdmrc, as
explained in the upstream answer and double logging isn't a problem anymore cause sessreg was merged
into kdm according to upstream.

So imo it would be this way to go to have the wanted default logging:

(1) Don't patch upstream kdmrc concerning UseSessReg (sources file debian/patches/07_kdmrc_defauts.diff)
(2) Drop the line containing use-sessreg in kdm.options (source file debian/local/kdm.options)
(3) Correct the man page (drop the section about use-sessreg in source file debian/local/kdm.options.5)

Regards

Wolfgang


Reply to: