Summary: | dev-db/mysql-init-scripts tmpfiles.d references /var/run/ still | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philippe Chaintreuil <gentoo_bugs_peep> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bearcatsandor, burcheri.massimo+bugs-gentoo, cafaia, conikost, deim, diamond, gentoo3, gentoo, gentoo_bugs_peep, hanno, hydrapolic, ionen, krinpaus, reuben-gentoo-bugzilla, sam, sebastien.picavet, tl, zhixu.liu |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/19270 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
rc.log
emerge --info |
Description
Philippe Chaintreuil
2021-01-31 12:39:09 UTC
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. |