[arch-general] tmp cleanup problems

Tom Gundersen teg at jklm.no
Sat Jul 28 07:22:16 EDT 2012


On Jul 28, 2012 10:00 AM, "Lukas Jirkovsky" <l.jirkovsky at gmail.com> wrote:
>
> Hi guys,
> Today I noticed a bunch of the following (kinda scary) errors on boot:
>
> Attempted to remove disk file system, and we can't allow that.
> rm_rf(/tmp): Operation not permitted
>
> And my /tmp is not cleaned up. I guess this is caused by the
> systemd-tmpfiles. I'm using initscripts. I use separate partition for
> my /tmp.
>
> I have following in the /etc/tmpfiles.d/tmp.conf:
>
> D /tmp 1777 root root 0d
> D /var/tmp 1777 root root 10d
>
> Is anyone seeing similar errors? Is there a problem with my config, or is
a bug?
>
> Thanks,
> Lukas

This is probably a bug. Please file a report. A check was added to avoid
accidentally deleting /, I guess it was too strict.

Tom


More information about the arch-general mailing list