Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510158 - sys-apps/systemd - symlinks in /etc/systemd/ should be fixed after SYMLINK_LIB=no conversion
Summary: sys-apps/systemd - symlinks in /etc/systemd/ should be fixed after SYMLINK_LI...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
Reported: 2014-05-12 12:52 UTC by Alexander Tsoy
Modified: 2019-06-13 19:19 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2014-05-12 12:52:54 UTC
As discussed in bug 506276, symlinks in /etc/systemd/ should be fixed after SYMLINK_LIB=no conversion. This should be either documented somewhere or added to the script.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2018-01-07 21:20:48 UTC
Confirming this, since I just carried out the amd64 17.1 profile conversion and some my symlinks were invalid afterwards.  It feels as though this ought to be part of the unsymlink-lib script, since the unconverted symlinks were installed by various packages rather than systemd itself.  It seems easy enough to convert them: "systemctl enable <name>" removed the old symlink and installed a new one.
Comment 2 Mike Gilbert gentoo-dev 2018-01-07 21:28:31 UTC
Fixing the symlinks is generally unnecessary; in many cases, systemd ignores the symlink target and simply uses the name.
Comment 3 Alexander Tsoy 2018-01-08 03:33:58 UTC
This bug is about those symlinks that created due to Alias options in units: display-manager.service, dbus-org.freedesktop.*.service, etc.
Comment 4 Pacho Ramos gentoo-dev 2019-06-05 14:22:05 UTC
what is the status of this at present time?
Comment 5 Mike Gilbert gentoo-dev 2019-06-05 14:34:37 UTC
I added systemd_reenable calls to several packages that install units that utilize the Alias directive.

Beyond that, I don't plan to take further action unless someone presents another problem.
Comment 6 Pacho Ramos gentoo-dev 2019-06-05 20:08:38 UTC
Thanks :)