migrating pld /var/run to /run (and related dirs)
baggins at pld-linux.org
Sun Feb 9 10:09:29 CET 2020
On Sat, 08 Feb 2020, Jacek Konieczny wrote:
> On 2/8/20 6:52 PM, Tomasz Pala wrote:
> > On Thu, Feb 06, 2020 at 19:20:26 +0100, Arkadiusz Miśkiewicz wrote:
> >> We need to finally do this while still keeping sysvinit compatibility
> >> (using symlinks).
> > Why do we need to do this? Legacy SysVinit uses /var/run and works,
> > while systemd systems are already handled well (tmpfiles etc.) in /run.
> New systemd won't even boot properly when /run is a symlink. And many
Do we even have that anywhere (/run as symlink)?
poldek:/all-avail> desc -ll FHS | grep /run
mode size name
drwxr-xr-x 6 /run
drwxr-xr-x 6 /var/run/
And FHS.spec commit 4e9a06c31d tells me it was so from the very start.
Our current systemd package has var-run.mount bind mounting /run there,
so in this case is just a matter of removing that file and symlinking
/var/run on next boot.
Don't know how it looks for SysVinit running systems, but can't be more
Jan Rękorajski | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/
More information about the pld-devel-en