Opened 12 months ago

Closed 12 months ago

Last modified 9 months ago

#18053 closed enhancement (fixed)

elogind-252.9

Reported by: Bruce Dubbs Owned by: pierre
Priority: normal Milestone: 12.0
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New version.

Change History (10)

comment:1 by pierre, 12 months ago

Owner: changed from blfs-book to pierre
Status: newassigned

comment:2 by pierre, 12 months ago

Version 252.9 Release

This is the first stable release of the version 252 series.

The latest upstream commit this version is synced to is systemd-stable/v252-stable:f3678358a4

Changes and Additions

  • Makefile: CLion support has been enhanced.
  • suspend/hibernate has its own, dynamically read, configuration in /etc/elogind/sleep.conf now.
  • Changes to the elogind sleep options take effect immediately, no reload/restart required any more.
  • SYSTEMD_BYPASS_HIBERNATION_MEMORY_CHECK has been unmasked and can be used now. (#250)
  • Before going to sleep, a present battery is no longer checked if we are on AC power.
  • sleep.conf: introduce SuspendEstimationSec=
  • Sleep: Only existing and non-device batteries are enumerated now.
  • Added options to use external programs to suspend/hibernate. (#221)
    • SuspendByUsing=
    • HibernateByUsing=
  • Removed the long gone forums from README.md and add some support stuff instead.
  • Postpone sending preparation signals if hook scripts could cancel suspend/shutdown. (#211)
  • Removed many files that were no longer needed.
  • Added missing translation files
  • Enhanced documentation (but it still needs a lot of work!)
  • loginctl: remove useless --quiet option (njhanley / #228)
  • Enhanced man-pages (njhanley / #229)
  • Enhanced shell-completion (njhanley / #230)
  • Removed netlink, elogind does not need.
    • This means that sd_device_new_from_ifname() has reduced functionality now. If this is a problem for you, please file an issue on GitHub.
  • Added linux/btrfs* headers from upstream (#199)
  • Makefile: Allowed the SYSCONFDIR to be configurable now.
  • Added 'pt' to LINGUAS and added 'pt.po' translation file (hugok79 / #202)

Fixed Bugs

  • Fixed searching for session IDs via PID in hybrid hierarchies.
  • Fixed some issues with suspend-then-hibernate.
  • Changed names back to systemd where the renaming to elogind made no sense.
  • Fixed man pages and remove some that are not related to elogind.
  • Fixed a bug that caused nvidia sleep vt switcher to fail due to an invalid session.
  • Fixed busctl introspecting DBus properties.
  • Fixed a bug that could possibly crash elogind startup.
  • Fixed improper reaping of user sessions.
  • Fixed reloading configuration of sleep modes and states. (#232)
  • Fixed an issue that could cause restarting elogind to tear down the Xorg session. (#216)
  • Fixed a bug that could cause infinite sleep-wakeup-loops. (#241)
  • Added some more custom headers in src/basic/linux (#205)
  • Reverted "Disable polkit support if libpolkit is not installed". (#167 => #206)
  • po/ca.po: Fixed erroneous whitespace.
  • Fixed a bug that caused elogind to block itself when dbus was restarted. (pierre-labastie / #224 / #225)
  • Fixed a bug in org.freedesktop.login1.conf that caused dbus to ignore the file. (jandryuk / #217)
  • Fixed various issues caused by migration upstream commits. (enometh / #238 / #245)
  • Added some more custom headers in src/basic/linux (#205)

comment:3 by pierre, 12 months ago

I get two test failures:

 86/145 elogind:test / test-fs-util            FAIL 0.04s killed by signal 6 SIGABRT
136/145 elogind:dist-check / dbus-docs-fresh   FAIL 0.06s exit status 1

Will investigate. The second one seems harmless (it's about doc). But I'm concerned about the SIGABRT in the first failure.

comment:4 by pierre, 12 months ago

Turns out that my machine had / owned by a regular user, so that any path starting at / was considered "non safe" by the sd library... This was leading to the first failure. For the second one, it says:

141/145 elogind:dist-check / dbus-docs-fresh                               FAIL             0.21s   exit status 1
>>> MALLOC_PERTURB_=20 /sources/elogind/elogind-252.9/tools/update-dbus-docs.py --build-dir /sources/elogind/elogind-252.9/build --test /sources/elogind/elogind-252.9/build/../man/org.freedesktop.login1.xml
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stdout:
COMMAND: /sources/elogind/elogind-252.9/build/elogind --bus-introspect=org.freedesktop.login1.Manager
COMMAND: /sources/elogind/elogind-252.9/build/elogind --bus-introspect=org.freedesktop.login1.Seat
COMMAND: /sources/elogind/elogind-252.9/build/elogind --bus-introspect=org.freedesktop.login1.User
COMMAND: /sources/elogind/elogind-252.9/build/elogind --bus-introspect=org.freedesktop.login1.Session
org.freedesktop.login1.xml: 179/186 OUTDATED
total:                      179/186 
stderr:
Outdated pages: org.freedesktop.login1.xml
Hint: ninja -C /sources/elogind/elogind-252.9/build update-dbus-docs

but after running ninja -C /sources/elogind/elogind-252.9/build update-dbus-docs, I get:

File "../man/org.freedesktop.login1.xml", line 13
lxml.etree.XMLSyntaxError: Double hyphen within comment: <!-- 0 /// elogind does not have to enable itself in c,
line 13, column 3

Maybe the solution is rather to just touch this file...

in reply to:  4 comment:5 by pierre, 12 months ago

Replying to pierre:

Maybe the solution is rather to just touch this file...

No it is not enough...

comment:6 by pierre, 12 months ago

I'm inclined to just tell this test is known to be broken.

in reply to:  6 comment:7 by Xi Ruoyao, 12 months ago

Replying to pierre:

I'm inclined to just tell this test is known to be broken.

Anyway it seems something only related to doc, so even if the doc is broken we don't have a serious issue.

comment:8 by pierre, 12 months ago

The man pages are correct. For some reason, the doc is installed in /usr/share/doc/elogind (without the version), and it has only three .md files. I guess something has changed, either with meson itself or meson.build...

comment:9 by pierre, 12 months ago

Resolution: fixed
Status: assignedclosed

FIxed at 1db852a5

comment:10 by Bruce Dubbs, 9 months ago

Milestone: 11.412.0

Milestone renamed

Note: See TracTickets for help on using tickets.