Post by Louis Lagendijk Post by Olaf Meeuwissen
(that you wrote)
Post by Simon Matter Post by Alvaro Gil
using Ubuntu 16.04: man saned
for systemd we need to add 2 configuation files in
/etc/systemd/system. <------------------------------------ This
I'm not sure but at least on RHEL7 /etc/systemd/system seems correct. Can
it be that Ubuntu 16.04 uses an older systemd and therefore the manpage
should be changed? If yes, then this has to be done in the Ubuntu packages
Please take a look at the Directories section of the systemd manual page
and the systemd.unit manual page for Ubuntu 16.04LTS.
Based on my understanding of the documentation there, I would say that
Ubuntu's(?) saned manual page (which is not modified from the one
that the SANE project ships in this respect) refers to the correct
directory locations. If that in some way does not work, it's first and
foremost an issue with the Ubuntu tutorial and Ubuntu's systemd
and/or SANE packages.
You may also want to take a look of the files provided by Ubuntu's
sane-utils package and note that these files should be installed for
you by the package, completely obviating the need for you to
The locations mentioned in the man-page are definitely correct for
the systemd parts of the man-page (in 2013). For these distros they are
Now Ubuntu may have changed some of the paths when it introduced
systemd. It may also be the case that Ubuntu does use an old version of
systemd that does not yet support the user specific units (in
Old systemd version is unlikely for Ubuntu 16.04LTS (from 2016). If
they willy-nilly change paths, the onus is on them to keep the docs in
Post by Louis Lagendijk
Can somebody please confirm if other Ubuntu
versions (probably later versions) do use /etc/systemd/system?
My Devuan Jessie system doesn't *have* systemd(!), but sports an
/etc/systemd/system/ directory. Ditto for Devuan's next version.
But everyone should look at what's already in /lib/systemd/system/
instead. The Debian/Devuan packages put the necessary files there
already. You should not even need to do anything if you installed
the distribution's binary packages.
On Jessie, I get
$ dpkg -S lib/systemd/system/saned
Post by Louis Lagendijk
If I can find some time I may try to clarify the man-page with the
alternate location if we can get more clarity on this.
If the distribution packages don't do the right thing file a bug report
with the distribution. If one builds from source, /etc/systemd/system/
is the right place, according to the systemd documentation.
If the systemd documentation is wrong, bug the systemd cabal ;-)
Hope this helps,
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
sane-devel mailing list: email@example.com
Unsubscribe: Send mail with subject "unsubscribe your_password"