--- On Thu, 7/14/11, Michael Biebl <bi...@debian.org> wrote:

> From: Michael Biebl <bi...@debian.org>
> Subject: Re: Bug#633886: systemd chokes when /tmp is symlinked to /run/tmp
> To: "Trevour Crow" <cro...@yahoo.com>, 633...@bugs.debian.org
> Date: Thursday, July 14, 2011, 3:42 PM

>Imho symlinking /tmp to /run/tmp is a stupid idea for various reasons.
>If you want /tmp to be on a tmpfs, then make it a separate tmpfs.
>That said, if you want the /run/tmp directory created automatically by systemd,
>you can drop a file in /etc/tmpfiles.d [1].
>I don't think such a file should be shipped by default in systemd though, but
>leave it up to Tollef to decide.
>
> Michael
>
>
> [1] man tmpfiles.d
> --
> Why is it that all of the instruments seeking intelligent
> life in the
> universe are pointed away from Earth?
>
>
My main concern is the fact that systemd breaks on a system sysvinit supports
without any warning(and initscripts's README.Debian gives no hint the
configuration is anything but perfectly acceptable). Is there any reason that
automating the workaround in systemd's postinst would be unacceptable?
Something like this should catch most cases where the bug would manifest:

if [ -h /tmp ]; then
    echo d $(readlink /tmp) 1777 root root - > /etc/tmpfiles.d/tmp-target.conf
fi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to