|
Bugzilla – Full Text Bug Listing |
| Summary: | Failed at step EXEC spawning /usr/bin/systemd-tmpfiles-keep: No such file or directory | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Martin Pluskal <mpluskal> |
| Component: | Basesystem | Assignee: | systemd maintainers <systemd-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | chcao, lnussel, support, systemd-maintainers, thomas.blume |
| Version: | NO 13.2 BUGS!! | Flags: | thomas.blume:
needinfo?
(support) |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 13.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | proposed patch to enable user based exclude statements | ||
|
Description
Martin Pluskal
2014-10-29 09:04:17 UTC
Can not reproduce, on a *older* factory e161:~ # rpm -qf /usr/bin/systemd-tmpfiles-keep aaa_base-13.2+git20140604.9f4be6e-3.1.x86_64 e161:~ # file /usr/bin/systemd-tmpfiles-keep /usr/bin/systemd-tmpfiles-keep: POSIX shell script, ASCII text executable e161:~ # e161:~ # grep -rs systemd-tmpfiles-keep /usr/lib/systemd/system/ /usr/lib/systemd/system/systemd-tmpfiles-clean.service:ExecStart=-/usr/bin/systemd-tmpfiles-keep also on a SLES12 linux:~ # rpm -qf /usr/bin/systemd-tmpfiles-keep aaa_base-13.2+git20140310.a57750d-3.1.x86_64 linux:~ # file /usr/bin/systemd-tmpfiles-keep /usr/bin/systemd-tmpfiles-keep: POSIX shell script, ASCII text executable linux:~ # linux:~ # grep -rs systemd-tmpfiles-keep /usr/lib/systemd/system/ /usr/lib/systemd/system/systemd-tmpfiles-clean.service:ExecStart=-/usr/bin/systemd-tmpfiles-keep I'd like to know *who* has removed the script /usr/bin/systemd-tmpfiles-keep *without* dropping a note to systemd maintainers. The file belongs to FATE #314974 and has to added to git repository of aaa_base and should not be removed! Git repository is upto date as well as there is a SR#258788 for factory This is an autogenerated message for OBS integration: This bug (903009) was mentioned in https://build.opensuse.org/request/show/258788 Factory / aaa_base It looks like this factory update was declined. What is the work-around? (In reply to Don Hughes from comment #10) > It looks like this factory update was declined. What is the work-around? I'm working on an implementation of user based tmpfiles removal directly into the systemd-tmpfiles binary. This will replace the /usr/bin/systemd-tmpfiles-keep script. Would you be willing to test when testpackages are available? Sure. Created attachment 616898 [details]
proposed patch to enable user based exclude statements
(In reply to Don Hughes from comment #12) > Sure. Test packages implementing user based exclude statements into systemd-tmpfiles are available here: https://build.opensuse.org/package/binaries/home:tsaupe/systemd?repository=openSUSE_13.2 you can now add usernames in the argument field of ignore statements (type x and X). For single paths, it accepts one username, for example: x /tmp/probefile3 - - - - testuser would exclude probefile3 below /tmp if it is owned by testuser. For paths using globs (e.g. ignoring directory contents) it supports a comma separated list of user names, e.g.: X /tmp/* - - - - testuser3,testuser2 would exlude paths and directories, owned by the given users, below /tmp. The content of subdirectories owned by the given users, won't be excluded, since capital X was given. After creating some test entries in /etc/tmpfiles.d/tmp.conf, you can use the command: systemd-tmpfiles --clean in order to check them. Please test and report feedback. I tried to apply the updated systemd from https://build.opensuse.org/package/binaries/home:tsaupe/systemd?repository=openSUSE_13.2 but it requires libcrypt.so.20 which is not available for my 13.1 system. (In reply to Don Hughes from comment #16) > I tried to apply the updated systemd from > https://build.opensuse.org/package/binaries/home:tsaupe/ > systemd?repository=openSUSE_13.2 but it requires libcrypt.so.20 which is not > available for my 13.1 system. Owner based ignore statements have been implemented in systemd version 210 with OpenSUSE 13.2. 13.1 only ships systemd 208 and doesn't have it. Please update to 13.2 in order to use this feature. This is an autogenerated message for OBS integration: This bug (903009) was mentioned in https://build.opensuse.org/request/show/282857 Factory / aaa_base This fixed a long time ago openSUSE-RU-2015:0214-1: An update that has 16 recommended fixes can now be installed. Category: recommended (important) Bug References: 897799,897803,898233,901481,902240,902901,903009,903963,904517,904828,906709,907318,907393,908476,910643,912030 CVE References: Sources used: openSUSE 13.2 (src): systemd-210-25.12.1, systemd-mini-210-25.12.1 SUSE-RU-2015:0638-1: An update that has 21 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 897799,897803,898233,901481,902240,902901,903009,903963,904517,904828,905550,906709,907318,907393,908476,910315,910643,911347,912030,916420,918118 CVE References: Sources used: SUSE Linux Enterprise Software Development Kit 12 (src): aaa_base-13.2+git20140911.61c1681-3.1, systemd-210-55.2 SUSE Linux Enterprise Server 12 (src): aaa_base-13.2+git20140911.61c1681-3.1, systemd-210-55.2 SUSE Linux Enterprise Desktop 12 (src): aaa_base-13.2+git20140911.61c1681-3.1, systemd-210-55.2 openSUSE-RU-2015:1969-1: An update that has 21 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 897799,897803,898233,901481,902240,902901,903009,903963,904517,904828,905550,906709,907318,907393,908476,910315,910643,911347,912030,916420,918118 CVE References: Sources used: openSUSE Leap 42.1 (src): aaa_base-13.2+git20140911.61c1681-7.1 openSUSE-RU-2016:0320-1: An update that has 146 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 737690,742774,750845,818044,838475,841544,849870,852015,852021,852232,853293,854884,856389,856392,856858,857204,858864,859072,859365,860574,860937,861316,861489,863217,864745,864904,865834,866732,866933,867128,867663,867664,867840,868019,868230,868439,868931,869142,869603,872929,873432,873444,874665,875502,876587,876694,877021,877674,878525,880438,880732,881125,881559,881942,882393,882714,883565,884271,884403,885232,885288,886211,886599,886852,888178,888215,888612,889297,889357,890977,892096,892162,892300,893797,895087,896664,897799,897801,897803,898233,898240,898432,900558,901481,902240,902901,903009,903963,904214,904517,904828,905550,906709,906900,907318,907393,908476,909358,910643,911347,912030,912334,913517,916420,918118,919095,920195,921831,921898,921920,926169,927250,927457,928265,931388,932284,933365,933512,933521,933533,934077,934901,937512,937900,938908,939571,940264,941576,944132,944799,945282,947212,948458,948555,948705,949574,949683,949739,950510,951265,951663,953241,954336,954781,955635,961576 CVE References: Sources used: openSUSE 13.1 (src): systemd-210-40.1, systemd-mini-210-40.1 |