Can we finally switch to systemd /run directory? /var/run sucks…

2019-02-19 Thread Jacek Konieczny
Hi, In PLD various systemd units and tmpfiles configs have been patched to move from /run to the legacy /var/run for 'backward compatibility', even though there are good reasons for using /run. New systemd won't even work well with /var/run: Feb 19 08:55:04 pbx systemd-tmpfiles[1100]:

Re: Can we finally switch to systemd /run directory? /var/run sucks…

2019-02-19 Thread Jacek Konieczny
On 19/02/2019 09.39, Jacek Konieczny wrote: > On 19/02/2019 09.34, Jacek Konieczny wrote: >> The systemd preferred way to handle backward compatibility with the old >> /var/run directory is to make /var/run a symlink to /run. > > Wrong… it is bind-mount of /run over /var/run, which is currently

Re: Can we finally switch to systemd /run directory? /var/run sucks…

2019-02-19 Thread Jacek Konieczny
On 19/02/2019 09.34, Jacek Konieczny wrote: > The systemd preferred way to handle backward compatibility with the old > /var/run directory is to make /var/run a symlink to /run. Wrong… it is bind-mount of /run over /var/run, which is currently disabled in PLD. Maybe the way to go is to restore

Re: Can we finally switch to systemd /run directory? /var/run sucks…

2019-02-19 Thread glen
On 2/19/19 10:39 AM, Jacek Konieczny wrote: On 19/02/2019 09.34, Jacek Konieczny wrote: The systemd preferred way to handle backward compatibility with the old /var/run directory is to make /var/run a symlink to /run. Wrong… it is bind-mount of /run over /var/run, which is currently disabled

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread Arkadiusz Miśkiewicz
On 19/02/2019 15:37, Jacek Konieczny wrote: > Adding external libidn2 dependency to glibc was a very bad idea and > should be reverted. glibc must not have any 'heavy' external > dependencies. That's why it is "Suggests" not "Requires". -- Arkadiusz Miśkiewicz, arekm / ( maven.pl |

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread glen
On 2/19/19 2:16 PM, jajcus wrote: -%post -/sbin/ldconfig -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +%post -p +os.execute("/sbin/ldconfig >/dev/null 2>&1") +os.execute("/usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1") -%postun

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread glen
On 2/19/19 4:37 PM, Jacek Konieczny wrote: Adding external libidn2 dependency to glibc was a very bad idea and should be reverted. glibc must not have any 'heavy' external dependencies. And libidn2 is not even a single library, as it pulls libunistring. perhaps pld should go alpine? use musl

Re: Can we finally switch to systemd /run directory? /var/run sucks…

2019-02-19 Thread Michael Shigorin
On Tue, Feb 19, 2019 at 09:34:48AM +0100, Jacek Konieczny wrote: > The bigger problem will be /var/run subdirectories… I have no > good idea how to make this work without systemd and tmpfiles or > by re-implementing tmpfiles in rc-scripts… You might want to have a look at

Re: [packages/libidn2] Use lua in %post scripts to break dependency loop

2019-02-19 Thread Elan Ruusamäe
On 19/02/2019 16:59, Arkadiusz Miśkiewicz wrote: On 19/02/2019 15:37, Jacek Konieczny wrote: Adding external libidn2 dependency to glibc was a very bad idea and should be reverted. glibc must not have any 'heavy' external dependencies. That's why it is "Suggests" not "Requires". it's rpm