From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 8D2503858D33 for ; Thu, 16 Feb 2023 13:59:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D2503858D33 Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 9977A21D90 for ; Thu, 16 Feb 2023 13:59:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1676555960; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Stm7t56MygL3KPCx+m1mujEmPXyuiLUjjArUB2pfHA=; b=lLQqHbd5ywKdhQYsr7Ud///8JZWcvlf6rojM9lzR383ntShNSP2uOqbclX6SDWOabkGAAl cKJyOq3/vVtHfFJY8TMnAh0ohhc21TlTfUccmtMUOOJUfqJlmdCJuH1nNpQy8gDPUhlBpO rHCxjOgY2cavc45qAprUYj5y4I/znkE= Received: from kukuk-phex.future.suse.de (unknown [10.162.233.67]) by relay2.suse.de (Postfix) with ESMTP id 8D8DB2C141 for ; Thu, 16 Feb 2023 13:59:20 +0000 (UTC) Received: by kukuk-phex.future.suse.de (Postfix, from userid 358) id 7F09E6052D; Thu, 16 Feb 2023 14:59:20 +0100 (CET) Date: Thu, 16 Feb 2023 14:59:20 +0100 From: Thorsten Kukuk To: Thorsten Kukuk via Libc-alpha Subject: Re: 64-bit time_t and __WORDSIZE_TIME64_COMPAT32 Message-ID: <20230216135920.GA1706@suse.com> References: <20230208091821.GA2282@suse.com> <0869a6f98f29405eb431f63db593c490@DB6PR04MB3255.eurprd04.prod.outlook.com> <20230208101125.GA5099@suse.com> <20230208102225.GA5543@suse.com> <7485b79473614eaa994d3ea79c91629a@DB6PR04MB3255.eurprd04.prod.outlook.com> <20230208103819.GA6177@suse.com> <901005ca-640f-3a8f-a199-c1374f3cf141@linaro.org> <20230214082409.GA29974@suse.com> <3230d2f8fa214c268cba52e699c14ae2@DB6PR04MB3255.eurprd04.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3230d2f8fa214c268cba52e699c14ae2@DB6PR04MB3255.eurprd04.prod.outlook.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Feb 14, Florian Weimer wrote: > * Thorsten Kukuk via Libc-alpha: > > > I think we don't lose anything if btmp and lastlog don't exist anymore. > > Querying utmp for the runlevel in systemd times is also obsolete. > > Statistical data how many users are logged in if you login or if you > > call uptime is also only nice to have, nothing more. > > This is something that systemd could do, in a far more reliable fashion > (or the kernel audit subsystem, I assume). It looks like systemd-logind provides already everything we need at least for w and who and many more cases. We just need a simple interface or wrapper. Updated https://github.com/thkukuk/utmpx/blob/main/Y2038.md#ideas-for-solutions Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)