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!
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!
FS#25033 - [initscripts]Cleaning /tmp/ in rc.sysinit fails if too many files
Attached to Project:
Arch Linux
Opened by Dmytro Bagrii (dimich) - Tuesday, 05 July 2011, 22:09 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 26 July 2011, 11:05 GMT
Opened by Dmytro Bagrii (dimich) - Tuesday, 05 July 2011, 22:09 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 26 July 2011, 11:05 GMT
|
DetailsIf /tmp/ directory contains many files (about tens of thousands) rm -rf /tmp/* fails with "Argument list is too long".
Possible solutions: find /tmp/ -mindepth 1 -delete or find /tmp/ -mindepth 1 -depth -print0 | xargs -r0 rm -rf |
This task depends upon
A workaround is to mount /tmp on tmpfs (which is almost always a good idea anyway).
If anyone can, it would be greatly appreciated if you could check that this script solves the problem.