[Pkg-systemd-maintainers] Bug#721347: Bug#721347: systemd: wrong path for quota-related binaries
Michael Biebl
biebl at debian.org
Fri Aug 30 17:41:19 BST 2013
severity 721347 important
thanks
Hi,
Am 30.08.2013 17:25, schrieb Kirill Elagin:
> Upstream provides unit-files `quotaon.service` and `systemd-quotacheck.service` which assume that
> binaries from `quota` package are in `/usr/sbin`, while in Debian they are in `/sbin`.
>
> This results in quotas not being enabled (due to failed conditions).
Thanks for the bug report.
configure.ac has a couple of program checks:
AC_PATH_PROG([QUOTACHECK], [quotacheck], [/usr/sbin/quotacheck])
AC_PATH_PROG([SETCAP], [setcap], [/usr/sbin/setcap])
AC_PATH_PROG([KILL], [kill], [/usr/bin/kill])
AC_PATH_PROG([KMOD], [kmod], [/usr/bin/kmod])
AC_PATH_PROG([KEXEC], [kexec], [/usr/sbin/kexec])
If the binary is not found in the build environment, the specified
default is used. We can
a/ either build-depend on the various packages, specifically quota,
libcap2-bin, procps, kmod, kexec-tools
b/ patch configure.ac to use different defaults, i.e.
/sbin/quotacheck
/sbin/setcap
/bin/kill
/bin/kmod
/sbin/kexec
Opinions, thoughts?
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130830/6994df23/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list