Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 626416

Summary: sys-auth/elogind : All stable branches bumped with important fixes!
Product: Gentoo Linux Reporter: Sven Eden <sven.eden>
Component: Current packagesAssignee: Andreas Sturmlechner <asturm>
Status: RESOLVED OBSOLETE    
Severity: normal CC: kensington, sven.eden
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/elogind/elogind/releases
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Update files/elogind.conf to files/elogind.conf.in
Update elogind-229.6.ebuild to elogind-229.7.ebuild
Update ebuilds for 231, 232 and 233
Add new option to elogind-234.2.ebuild

Description Sven Eden 2017-07-28 07:50:39 UTC
Hi all,

I have just unleashed a series of new releases of elogind.

namely:
- 229.7
- 231.5
- 232.4
- 233.5
And brand new:
- 234.2

The new version is in sync with systemd-stable branch v234-stable, commit 782c925. All newer commits do not touch elogind

All five stable branches got some similar updates I back- and forth-ported:

- Added -fuse-linker-plugin to CFLAGS to work around odd compiler and
  binutils installs. This should fix most "plugin needed to handle lto
  object" issues.

- Fixed a bug that caused stopped sessions to never being finalized.

- Fixed a bug that caused pam_elogind to log, that pam_systemd was
  initialized.

- Fix Makefile.am to install elogind and elogind-cgroups-agent in
  rootlibexecdir, like upstream does with systemd-login.

- Add --with-rootlibexecdir to configure.ac and make it default to
  $libdir/libexec.

- Fix a bug in cgroup handling that caused elogind to create its
  group in the wrong folder.

The change in where stuff is installed causes a few ebuild and elogind.conf changes. I will add attachments for them in a few minutes.
Comment 1 Sven Eden 2017-07-28 08:00:10 UTC
Created attachment 487042 [details, diff]
Update files/elogind.conf to files/elogind.conf.in

This changes the location where the elogind executable is installed.

@libdir@ will be replaced with $(get_libdir) during install phase
Comment 2 Sven Eden 2017-07-28 08:05:05 UTC
Created attachment 487044 [details, diff]
Update elogind-229.6.ebuild to elogind-229.7.ebuild

In this version the configure options differed from the later versions, thus an individual patch is needed.
Comment 3 Sven Eden 2017-07-28 08:12:20 UTC
Created attachment 487046 [details, diff]
Update ebuilds for 231, 232 and 233

The resulting ebuild from this patch can be used for 
- 231.5
- 232.4 and
- 233.5

Just copy the ebuild to its new name.
Comment 4 Sven Eden 2017-07-28 08:19:38 UTC
Created attachment 487048 [details, diff]
Add new option to elogind-234.2.ebuild

From here on the --with-rootprefix option seems to be needed. Without it, my tests lead to stuff being installed into /usr/bin and /usr/lib again.

Weirdly, I can not fathom why, because the rootprefix handling doesn't seem to have changed since ... around version 221 or so.

However, just copy elogind-233.5.ebuild to elogind-234.2.ebuild, apply this patch and it should be good and working.
Comment 5 Sven Eden 2017-09-18 13:39:09 UTC
This bug has been superseded by bug #631322