[PATCH 3/3] login: Make user accounting database no-op

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Wed Aug 7 18:39:01 GMT 2024



On 07/08/24 14:27, Thorsten Kukuk wrote:
> On Wed, Aug 7, 2024 at 5:23 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
>>
>> On 2024-08-07 02:20, Thorsten Kukuk wrote:
>>> At SUSE/openSUSE all new products don't have /run/utmp nor
>>> /var/log/wtmp anymore. But applications checking return code of the
>>> utmp/wtmp functions report an error, if this files don't exist.
>>
>> Do Gnulib-using programs have this problem? For example, does GNU
>> coreutils 9.5 work correctly without SUSE needing to patch it?
> 
> I  haven't seen any problems with Gnulib based programs, coreutils has
> no open issues and I don't see any patches in this area.
> sshd is for example an application which creates a lot of messages
> around utmp/wtmp.
> 

It still on my plan to rebase this patch and try to move forwards with
this approach.  On 2.40 we changed the way utmp/utmpx to handle the
seconds-since-epoch types as unsigned 32-bit type
(commit 5361ad3910c257bc327567be76fde532ed238e42); so at least it is
not a y2038 issue anymore.

It still does not solve other bad designs from the API and/or
implementation (like BZ #24492); but this also does not seem to be
an urgent issue for other distros like Fedora.


More information about the Libc-alpha mailing list