FS#39147 - [cups] package contains directories in /run
Attached to Project:
Arch Linux
Opened by Uli (Army) - Tuesday, 04 March 2014, 13:44 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 March 2014, 18:22 GMT
Opened by Uli (Army) - Tuesday, 04 March 2014, 13:44 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 March 2014, 18:22 GMT
|
Details
Description:
In my update script I have among others this command, which produces this output # pacman -Qkq cups /run/cups/ cups /run/cups/certs/ Since /run is mounted as tmpfs # mount | grep /run run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) this doesn't make a lot of sense. Additional info: * package version(s) cups 1.7.1-3 Steps to reproduce: Install cups and run pacman -Qkq | grep cups |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 04 March 2014, 18:22 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.1-4
Tuesday, 04 March 2014, 18:22 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.1-4
pacman -Qkq cups
:D But the result is the same, that's what matters here ;)
"Local certificate authentication passes 128-bit "certificates" that identify an authenticated user. Certificates are created on-the-fly from random data and stored in files under /var/run/cups/certs."
So the certs belong to /run in Arch. Not a bug.
FS#39148for the same reason on another package.They absolutely do, but after a reboot, /run/cups/certs will not exist. A tmpfiles.d fragment needs to be added to the cups package to ensure that this is created on startup.
It should be sufficient to create /usr/lib/tmpfiles.d/cups.conf with contents:
d /run/cups/certs 0755 0 0
Please make sure to call this from post_install and post_upgrade as:
systemd-tmpfiles --create cups.conf