From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 311A61F5AE for ; Tue, 27 Apr 2021 18:04:11 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B611398B868; Tue, 27 Apr 2021 18:03:41 +0000 (GMT) Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 13D993896C14 for ; Tue, 27 Apr 2021 18:03:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 13D993896C14 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: r/9EQCHinjV2oimBiVrrr2d1ri/SLXu+mQziH1hHHHGe8CYSTo8WA9X4Z7/zXXPYuTm4lIW3+I McLmbnOFm+1UuAuVYYViqp99rj64nnF/WIYwibz51o819ZEq468g8YHPXwfNT7bhsrODAWghIC tenTursIZ1oh/C9QWKGDqJRI/kIRCF4ZQ37EzSV1XwXXaIvZ5ICLUXUAupxLIrHsFLK5s1InXU TB3MVdJXr/UgSqdtDVt7KiV5HlKSnBXjxmw3xp7VSRdHkmfNtyA2QZOd/nsXNMaYnNg8x45A2Y yrk= X-IronPort-AV: E=Sophos;i="5.82,255,1613462400"; d="scan'208";a="60563887" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 27 Apr 2021 10:03:37 -0800 IronPort-SDR: ObK5mKZ18HIRqXQvBwvr3Hpbc21Op2cxxjMol13J15ctkiSnnCu/sO1prmGITi4oIEYKuDuvBC WVmq3QZPhxv44/So/gn4VPuzhGww902zgBFWOivdQM6JZkU0GMb0AEetEReD1aLDrLy/ZxWGMz J7pdlQ3LkKnJ4qkM1riYaqn+pG6fjssQqnXYrho6nNyPsdDX28lOX43Szv/FFt9dU/OhlrUINy UOx2DTy71mMBd49NpKwz81MJ9wBAv8hdw00uY0Z4KM5zucBjX50wX6OBNqr9BlEdn9Zs/ZfD9Z IkM= Date: Tue, 27 Apr 2021 18:03:33 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Florian Weimer Subject: Re: [PATCH 20/52] login: Add 64-bit time support to utmp/utmpx In-Reply-To: <87zgxjnc3u.fsf@oldenburg.str.redhat.com> Message-ID: References: <20210305201518.798584-1-adhemerval.zanella@linaro.org> <20210305201518.798584-21-adhemerval.zanella@linaro.org> <87zgxjnc3u.fsf@oldenburg.str.redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adhemerval Zanella via Libc-alpha Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Tue, 27 Apr 2021, Florian Weimer via Libc-alpha wrote: > The interface was fine when a system had a few fixed terminal lines that > weren't equivalent. But I think it's mostly useless today. At a higher level, I think it's still useful to be able to list logged-in user sessions (and e.g. how long they have been idle) on a multi-user system, to help identify e.g. users to consult about a possible reboot. In the absence of utmp, you need some other system for tracking such information about sessions, and applications such as "w" and "who" need to be taught to use such other API in place of utmp, before it can be considered obsolete. -- Joseph S. Myers joseph@codesourcery.com