Missing /run/lock with recent tw update
Hi, I'm testing tw 20231206, previously was at 20231107, and had one of my own services not start up because, it turns out, /run/lock is missing. Checking, I see that /usr/lib/tmpfiles.d/suse.conf is gone, where previously a line was that created the directory. I further see that /usr/lib/tmpfiles.d/fs-var.conf still specifies a /var/lock -> ../run/lock symlink, which now is dangling. Some specific packages, e.g. lvm2 and dmraid, have tmpfiles.d snippets of their own creating e.g. /run/lock/dmraid, kind of masking the issue probably on a lot of installs. Is that (/run/lock not being created) a plain bug (shall I create a bugzilla entry?) - or is there some plan behind it + I should change my private packaging to put locks elsewhere? best regards Patrick
On Fri, Dec 8, 2023 at 10:30 AM Patrick Schaaf via openSUSE Factory < factory@lists.opensuse.org> wrote:
Hi,
I'm testing tw 20231206, previously was at 20231107, and had one of my own services not start up because, it turns out, /run/lock is missing.
Checking, I see that /usr/lib/tmpfiles.d/suse.conf is gone, where previously a line was that created the directory.
I further see that /usr/lib/tmpfiles.d/fs-var.conf still specifies a /var/lock -> ../run/lock symlink, which now is dangling.
Some specific packages, e.g. lvm2 and dmraid, have tmpfiles.d snippets of their own creating e.g. /run/lock/dmraid, kind of masking the issue probably on a lot of installs.
Is that (/run/lock not being created) a plain bug (shall I create a bugzilla entry?) - or is there some plan behind it + I should change my private packaging to put locks elsewhere?
Looks like the move was done incomplete, it works for MicroOS, but that code does not exist on Tumbleweed. I submitted a fix now. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
participants (2)
-
Patrick Schaaf
-
Thorsten Kukuk