Re: migrating pld /var/run to /run (and related dirs)
On Sat, Feb 08, 2020 at 20:00:47 +0100, Jacek Konieczny wrote: > New systemd won't even boot properly when /run is a symlink. And many How about mount --bind? > That is why the /var/run -> /run symlink should be provided. Yes, what is I'm afraid is that our rpm doesn't handle dir->symlink transition. We still need to clean /var/run at system start as long as we support kernels without tmpfs. -- Tomasz Pala ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: migrating pld /var/run to /run (and related dirs)
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 system components rely on /run and /var/run contents to be the same, especially when they are supposed to run on SysVinit and systemd systems with the same default config. > In other words: what problem are you going to solve and in which > scenarios? IMHO the /etc/init.d/ scripts should be kept as they are. That is why the /var/run -> /run symlink should be provided. Jacek ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: migrating pld /var/run to /run (and related dirs)
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. In other words: what problem are you going to solve and in which scenarios? IMHO the /etc/init.d/ scripts should be kept as they are. -- Tomasz Pala ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en