|
Bugzilla – Full Text Bug Listing |
| Summary: | tmpfiles.d configuration on non-rpm/deb-based distros | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Evangelos Foutras <evangelos> |
| Component: | Configure | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | low | ||
| Version: | 1.8.13 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Evangelos Foutras
2015-03-21 18:12:01 MDT
Sure, that should not be a problem. /usr/lib/tmpfiles.d/sudo.conf is now installed as part of "make install". This file is not packaged for rpm/deb since we need to determine whether systemd is really being used in the postinstall script. http://www.sudo.ws/repos/sudo/rev/522666bc079f A couple of small issues: 1) Running 'make install' with more than one job (-j2 and greater) fails with: =============== /bin/sh: line 1: (destdir)/usr/lib/tmpfiles.d/sudo.conf: No such file or directory /bin/sh: line 2: (destdir)/usr/lib/tmpfiles.d/sudo.conf: No such file or directory Makefile:155: recipe for target 'install-rc' failed =============== I believe this can be solved by either making 'install-dirs' a prerequisite of 'install-rc', or creating the directory in 'install-rc'. 2) $(DESTDIR) shouldn't be included in the directory paths defined inside tmpfiles.d/sudo.conf -- that file should only use $(rundir). http://www.sudo.ws/repos/sudo/rev/930983f88927 I reorganized things a bit which should solve those two issues. init.d/sudo.conf.in is missing from the repo but other than that it seems to work fine. Fixed. I was testing release tarballs and not checkouts so I didn't notice the missing file :-) Fixed in sudo 1.8.14, available now. |