Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498922 - sys-apps/systemd - src_install(): make[4]: setfacl: Command not found
Summary: sys-apps/systemd - src_install(): make[4]: setfacl: Command not found
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-22 13:53 UTC by om3i
Modified: 2016-05-30 14:29 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,76.46 KB, application/gzip)
2014-01-22 13:58 UTC, om3i
Details

Note You need to log in before you can comment on or make changes to this bug.
Description om3i 2014-01-22 13:53:23 UTC
setfacl -nm g:adm:rx,d:g:adm:rx /home/portage_temp/portage/sys-apps/systemd-208-r2/image//var/log/journal/
make[4]: setfacl: Command not found
Makefile:14533: recipe for target 'libsystemd-journal-install-hook' failed
make[4]: [libsystemd-journal-install-hook] Error 127 (ignored)

setfacl -nm g:wheel:rx,d:g:wheel:rx /home/portage_temp/portage/sys-apps/systemd-208-r2/image//var/log/journal/
make[4]: setfacl: Command not found
Makefile:14533: recipe for target 'libsystemd-journal-install-hook' failed
make[4]: [libsystemd-journal-install-hook] Error 127 (ignored)

sys-apps/systemd should have build-time dependency on sys-apps/acl.

Reproducible: Always
Comment 1 om3i 2014-01-22 13:58:56 UTC
Created attachment 368430 [details]
build.log.gz

Sorry for compressed log, but it's too big.
Comment 2 Agostino Sarubbo gentoo-dev 2014-01-22 14:38:27 UTC
(In reply to nzqr from comment #0)
> sys-apps/systemd should have build-time dependency on sys-apps/acl.

The ebuild already has a DEPEND on acl:

ago@stonebridge ~ $ grep acl /usr/portage/sys-apps/systemd/systemd-208-r2.ebuild 
        acl? ( sys-apps/acl )
Comment 3 om3i 2014-01-22 14:43:52 UTC
acl? means that dependency is conditional.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-01-22 14:50:31 UTC
Interesting. I wonder if that makes sense at all -- I don't think we're having any guarantees that /tmp (/var/tmp) will support xattrs and that xattrs will be copied to the target fs.
Comment 5 Mike Gilbert gentoo-dev 2014-01-22 18:32:52 UTC
Yeah, it probably doesn't make much sense to include /var/log/journal/ in the installation image. If we create it, it should probably be done in pkg_postinst.
Comment 6 Mike Gilbert gentoo-dev 2016-05-30 14:29:26 UTC
These same ACLs get applied at boot by a tmpfiles snippet. The errors in the build log can be safely ignored.