Sorry for pushing this to the wrong place. Looking forward to the fix. Thanks a lot Craig !
On 6/20/25 12:55, Craig Small wrote: > *CAUTION* : This email originated outside the company. Do not click on any > links or open attachments unless you are expecting them from the sender. > *ATTENTION* : Cet e-mail provient de l'extérieur de l'entreprise. Ne cliquez > pas sur les liens ou n'ouvrez pas les pièces jointes à moins de connaitre > l'expéditeur. > > > > clone 1068904 -1 > retitle -1 w reports error getting sessions on non-systemd hosts > found -1 2:4.0.4-8 > notfound 1068904 2:4.0.4-8 > thankyou > > On Fri, 20 Jun 2025 at 00:17, <alexandre.ferri...@orange.com> wrote: > > > I do confirm "w" is still broken in a way that is related to systemd, > though not exactly in the same way as initially mentioned here. > > It's a different way, different version, attached to the same bug number which > is problematic. > > > w: error getting sessions: Operation not permitted > > And strace shows that this error is the result of the absence of > /run/systemd/system > > faccessat2(AT_FDCWD, "/run/systemd/system/", F_OK, > AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) > > It seems odd that the systemd library gets an ENOENT but returns an EPERM. > Their man page is silent on what it should be. > > The relevant code is: > sessions = sd_get_sessions (&sessions_list); > if (sessions < 0 && sessions != -ENOENT) > error(EXIT_FAILURE, -sessions, _("error getting > sessions")); > The fix would be to check for negative sessions and it was either -ENOENT or > -EPERM. > > I'll have to wait for the Debian bug system to generate the new bug ID. The > changelog already has 1068904 fixed > because that one is. I'll see if it can make Trixie, that's up to someone > else. > > - Craig > ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.