systemd : inconsistencies in man pages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
From "man systemd-
When packages need to customize the configuration, they can install configuration snippets in /usr/lib/
However from "man SYSTEMD":
DIRECTORIES
System unit directories
The systemd system manager reads unit configuration from various directories. Packages that want to install unit files shall place them in the directory returned by pkg-config systemd
the systemctl(1) tool. Full list of directories is provided in systemd.unit(5).
User unit directories
Similar rules apply for the user unit directories. However, here the XDG Base Directory specification[6] is followed to find units. Applications should place their unit files in the
enable and disable commands of the systemctl(1) tool can handle both global (i.e. for all users) and private (for one user) enabling/disabling of units. Full list of directories is provided
in systemd.unit(5).
Obviously, the 2nd one is more precise about directories for configuration files and therefore should be used in all cases. 1st paragraph of doc should link there
Thank you for taking the time to report this bug and helping to make Ubuntu better.
You didn't say which version of systemd whose manpages you are looking at, or which Ubuntu release you're using. I looked at the current development release of Ubuntu, and I don't see that we're changing the manpages at all from upstream in this respect (other changes are made, but that are not relevant here). Since your suggestion is an editorial one rather than a material error, I suggest that you make your case to systemd upstream directly to see if they are willing to change it. If you want to do this, I suggest you file an issue (or better, a pull request) against https:/ /github. com/systemd/ systemd/ tree/master/ man.
I don't think it makes sense for Ubuntu to your proposed change without upstream, so I'm going to mark this bug as Won't Fix. However if upstream make the change you suggest, a future release of Ubuntu will pick it up.