I've noticed the following warning during boot: ====================================================================== * Setting up tmpfiles.d entries ... /usr/lib/tmpfiles.d/mysql.conf:1: Line references path below legacy directory /var/run/, updating /var/run/mysqld /run/mysqld; please update the tmpfiles.d/ drop-in file accordingly. ====================================================================== ${FILESDIR}/mysql.conf should be modernized. Reproducible: Always
In case unclear, this happens with systemd-tmpfiles (opentmpfiles won't emit warnings on this).
Friendly ping (it's been 3 months).
Same issue on a brand new installation only. This message doesn't appear after update an environment installed few years ago.
Created attachment 706779 [details] rc.log
Created attachment 706782 [details] emerge --info
A workaround of this case is to edit /usr/lib/tmpfiles.d/mysql.conf and replace d /var/run/mysqld 0755 mysql mysql - with d /run/mysqld 0755 mysql mysql - as /var/run is a symlink to /run Although it'll be better to update dev-db/mysql-init-scripts/files/mysql.conf if it doesn't lead to another issues.
This is not critical, it is just a pointless warning from your init system without any impact. It's scheduled for next bump but there are other, real issues, which require testing, before we can tag a new release. PS: Do not edit /usr/lib/tmpfiles.d/mysql.conf. Copy that file to /etc/tmpfiles.d and edit it there if you need to.
Opentmpfiles got masked so after an update (and migration to systemd-tmpfiles) I got this in the logs too.
*** Bug 804858 has been marked as a duplicate of this bug. ***
*** Bug 807592 has been marked as a duplicate of this bug. ***
*** Bug 829695 has been marked as a duplicate of this bug. ***
(In reply to Thomas Deutschmann from comment #7) > This is not critical, it is just a pointless warning from your init system > without any impact. It's scheduled for next bump but there are other, real > issues, which require testing, before we can tag a new release. > > > PS: Do not edit /usr/lib/tmpfiles.d/mysql.conf. Copy that file to > /etc/tmpfiles.d and edit it there if you need to. We've been waiting quite a long time. Can you please merge the PR?
Found this bug as I have similar messages: * Setting up tmpfiles.d entries ... /usr/lib/tmpfiles.d/xl2tpd.conf:1: Line references path below legacy directory /var/run/, updating /var/run/xl2tpd /run/xl2tpd; please update the tmpfiles.d/ drop-in file accordingly. * Setting up tmpfiles.d entries for /dev ... /usr/lib/tmpfiles.d/xl2tpd.conf:1: Line references path below legacy directory /var/run/, updating /var/run/xl2tpd /run/xl2tpd; please update the tmpfiles.d/ drop-in file accordingly. Is that the same issue or should be filed separately?
That sounds like a separate issue with xl2tpd -- you should open a separate bug if there isn't already one.
-> bug 829885
It looks like the following files have to be changed: /etc/mysql/mysql.d/50-distro-client.cnf /etc/mysql/mysql.d/50-distro-server.cnf /var/run/ -> /run/
(In reply to diamond from comment #16) > It looks like the following files have to be changed: > /etc/mysql/mysql.d/50-distro-client.cnf > /etc/mysql/mysql.d/50-distro-server.cnf > /var/run/ -> /run/ Those files are installed by a different ebuild (dev-db/mysql proper). You should create a new, separate bug for those.
I added bug #832901.
*** Bug 832901 has been marked as a duplicate of this bug. ***
Apologies for leading you astray, "Diamond". (I guess Sam thinks they both belong in here.)
I think this has been closed by https://github.com/gentoo/gentoo/commit/a2e045276140813d197d5eb341bb583dc76cac41
(In reply to Philippe Chaintreuil from comment #21) > I think this has been closed by > https://github.com/gentoo/gentoo/commit/ > a2e045276140813d197d5eb341bb583dc76cac41 Thanks.