home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 27,127 of 28,835   
   Thomas Dickey to All   
   Bug#1072237: #1072237 libutempter: integ   
   10 Feb 26 23:10:01   
   
   From: dickey@invisible-island.net   
      
   > From: Vincent Lefevre    
   > To: Chris Hofstaedtler , 1072237@bugs.debian.org   
   > Subject: Re: Bug#1072237:   
   > Date: Fri, 18 Apr 2025 12:32:40 +0200   
   > On 2024-11-17 17:34:06 +0100, Chris Hofstaedtler wrote:   
   > > I don't know if it makes sense for libutempter to register sessions   
   > > with logind;   
   >    
   > Not sure, but I'm wondering whether the -ls xterm option is intended   
   > to have a visible effect:   
   >    
   >     Finally, -ls is not completely ignored, because xterm -ls -e does   
   >     write a wtmp entry (if configured to do so), whereas xterm -e does   
   >     not.   
      
   (that was quoting xterm's manpage)   
      
   fwiw xterm relies upon utempter to do what's appropriate.   
      
   In a quick check, that's since   
      
   Patch #188 - 2004/5/12 - XFree86 4.4.99.6   
      
        * improve  ifdef's  for  utempter  library  to  omit direct calls to   
          setutent() or getutent() (adapted from patch by Christian Biere).   
      
   The README for utempter says   
      
   	The utempter is a privileged helper used by libutempter library to manipulate   
   	utmp and wtmp files.   
      
   and (the documentation appears to be written in C) the last thing utempter   
   does if no errors stop it is this:   
      
   	(void) updwtmp(_PATH_WTMP, &ut);   
      
   utempter uses setgid, while systemd (whose documentation is per-line of   
   code no better than utempter) appears to require root privilege   
   (which of course is a big step backwards).   
      
   --    
   Thomas E. Dickey    
   https://invisible-island.net   
      
   -----BEGIN PGP SIGNATURE-----   
      
   iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmmLq/QACgkQzCr0RyFn   
   vgPtDQwAiB9jtxsU9x9RvZZ3gwVAsIpaJgpwvRRRBnnzUA5mizeZySowW6koB7jK   
   rZ4tYqrqrZ2BSVNpdusNZ7D3f/ROUl/1m1CQGtP4jnkzjpHpOvrT60HlJHzwnyK2   
   2eQT/oRYlRrDjfIQosPFzKha+pcATDIJVjpkdZIq5sheIhi8zCfp0xSXGxgBRq1w   
   OMOcbrPYehFDknlnVOj0cTHg7ipEWQev+NzJDQUSyW5JFio2308hpnOhk2868/0J   
   oB4Sunkq7c7gYaVsKq1jko3eLPjvij1t+LQOtg7R9dAWiOqvcVGpza+Mq0j3KJfS   
   nza2NlswYmzUkYPweM7Sh8UFBZBSAoUDRDwnAdwmCzOb32TXM2oGvlyAO+E/5/UN   
   MSJ2dzCy6khvPOVIFVxb8wHNexZdqoIAOK6qBxCUlrZ5tP/yW+TjULqfdhRy+qiL   
   6kaDOZD3U6ePf3JZdixs+OgCPId7qyCkuFgBSS9INAN5p/wQfA3oCrLR6hxiDjo/   
   jNQdYzxM   
   =ClT1   
   -----END PGP SIGNATURE-----   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca