FS#58122 - [util-linux] incorrect socket path in uuidd.socket

Attached to Project: Arch Linux
Opened by Maciek Borzecki (bboozzoo) - Thursday, 05 April 2018, 10:04 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 10 April 2018, 13:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The ListenStream in uuidd.socket is incorrect and points to /run/run/uuidd/request.
The path should point to /run/uuidd/request.


Additional info:
* util-linux 2.32-2
* config and/or log files etc.


Steps to reproduce:
* systemctl cat uuidd.socket
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 10 April 2018, 13:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  util-linux 2.32-3
Comment by Maciek Borzecki (bboozzoo) - Thursday, 05 April 2018, 18:32 GMT
A patch addressing the issue, for your consideration.
Comment by Christian Hesse (eworm) - Monday, 09 April 2018, 12:46 GMT
Dave, this was introduces by you, with comment: "- fix --localstatedir for uuidd"
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/util-linux&id=dd25addee45c4261d424a31d9aeb184bca109d89

Can we change this or does it break anything else?
Comment by Dave Reisner (falconindy) - Monday, 09 April 2018, 13:08 GMT
Build system hints at --runstatedir existing since 2.31, but that doesn't actually seem to be the case... Sadly, dropping --localstatedir entirely results in:

ListenStream=/usr/var/run/uuidd/request
Comment by Maciek Borzecki (bboozzoo) - Monday, 09 April 2018, 13:26 GMT
Yes, sadly the only way I could get it work reasonably is to pass --localstatedir (same as Fedora does it ATM).
Comment by Dave Reisner (falconindy) - Tuesday, 10 April 2018, 12:39 GMT
Ok, --localstatedir=/var seems to do what we want. We'll have to wait for autoconf 2.70 to use --runstatedir.

Loading...