-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure: use runstatedir for default pid path #7409
Conversation
Works, ACK. |
centos-9 copr build failed with: https://download.copr.fedorainfracloud.org/results/@sssd/pr7409/centos-stream-9-x86_64/07532187-sssd/builder-live.log.gz Makefile used default runstatedir ($localstatedir/run) but spec file expects _rundir (/run) |
Hi, to make
Maybe this is related to bye, |
make distcheck yields the following error because pidpath is currently hardcoded to /run/sssd (with the run directory hardcoded) and prefix is not correctly applied. ``` autoreconf -if && ./configure && make distcheck/usr/bin/mkdir: cannot create directory '/run/sssd': Permission denied make[5]: *** [Makefile:47801: installsssddirs] Error 1 ``` ``` 2024-06-04T16:35:23.1627995Z /usr/bin/mkdir -p \ 2024-06-04T16:35:23.1628921Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/include \ 2024-06-04T16:35:23.1629987Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib \ 2024-06-04T16:35:23.1631024Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/bin \ 2024-06-04T16:35:23.1632011Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/sbin \ 2024-06-04T16:35:23.1632919Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/share/man \ 2024-06-04T16:35:23.1633620Z /run/sssd \ 2024-06-04T16:35:23.1634262Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib/sssd \ 2024-06-04T16:35:23.1635121Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib/ldb \ 2024-06-04T16:35:23.1635921Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/share/dbus-1/system.d \ 2024-06-04T16:35:23.1636710Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/share/dbus-1/system-services \ 2024-06-04T16:35:23.1637387Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib/sssd \ 2024-06-04T16:35:23.1637936Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib/sssd \ 2024-06-04T16:35:23.1638495Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/share/sssd \ 2024-06-04T16:35:23.1639022Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib \ 2024-06-04T16:35:23.1639592Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/lib/sssd/modules \ 2024-06-04T16:35:23.1640407Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/var/lib/sss/pipes/private \ 2024-06-04T16:35:23.1641288Z /__w/sssd/sssd/x86_64/sssd-2.10.0/_inst/share/sssd/krb5-snippets \ ```
@pbrezina , CI is green. |
Hi, I'm sorry, my patch does not work if the systemd path already contains the prefix. Since I'm the only one who have see the issue with those path and bye, |
make distcheck yields the following error because pidpath is currently hardcoded to
/run/sssd (with the run directory hardcoded) and prefix is not correctly applied.