Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30893 - [initscripts?] /tmp not cleaned up, instead prints an error

Attached to Project: Arch Linux
Opened by Lukas Jirkovsky (6xx) - Saturday, 28 July 2012, 11:30 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 20 September 2012, 22:30 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
During the boot I get a bunch of the following errors, and the /tmp is not cleaned:

Attempted to remove disk file system, and we can't allow that.
rm_rf(/tmp): Operation not permitted
Attempted to remove disk file system, and we can't allow that.
rm_rf(/var/tmp): Operation not permitted

I'm using separate /tmp partition and I have following in the /etc/tmpfiles.d/tmp.conf:

D /tmp 1777 root root 0d
D /var/tmp 1777 root root 10d

Additional info:
* initscripts 2012.07.5-1
* systemd-tools 187-2
This task depends upon

Closed by  Tom Gundersen (tomegun)
Thursday, 20 September 2012, 22:30 GMT
Reason for closing:  Fixed
Comment by Antonio (kokoko3k) - Wednesday, 08 August 2012, 14:45 GMT
I can confirm this, it happens even on a subdirectory:


In my /etc/tmpfiles.d/tmp.conf, i have:
D /tmp/cryopid-0.5.9.1/ 1777 root root

If i do: systemd-tmpfiles --create --remove --clean
i get:
--
Attempted to remove disk file system, and we can't allow that.
rm_rf(/tmp/cryopid-0.5.9.1): Operation not permitted
--
notice that /tmp/cryopid-0.5.9.1 only contains empty subfolders.
Comment by Tom Gundersen (tomegun) - Monday, 03 September 2012, 13:42 GMT
I submitted a patch that fixes the problem for me: http://lists.freedesktop.org/archives/systemd-devel/2012-September/006422.html. Can you confirm this fix?
Comment by Lukas Jirkovsky (6xx) - Monday, 03 September 2012, 14:29 GMT
Tom: Your patch fixes this bug. Thank you!
Comment by Tom Gundersen (tomegun) - Monday, 03 September 2012, 15:28 GMT
Thanks for testing.

Loading...