FS#3662 - bind changes ownership of /var/run
Attached to Project:
Arch Linux
Opened by Mario Vazquez (darkcoder) - Sunday, 25 December 2005, 17:32 GMT
Opened by Mario Vazquez (darkcoder) - Sunday, 25 December 2005, 17:32 GMT
|
Details
Currently when installing bind-9.3.1-1 package, it changes
the ownership of /var/run from root to named user and
group.
A ls -l /var/ can confirm this: drwxr-xr-x 2 root root 4096 2005-12-12 23:42 opt drwxr-xr-x 7 named named 4096 2005-12-25 12:54 run drwxr-xr-x 6 root root 4096 2005-12-13 13:16 spool And worst, if bind is removed, then the /var/run keeps ownership of a now non existent user/group with id's of 40. drwxr-xr-x 2 root root 4096 2005-12-12 23:42 opt drwxr-xr-x 6 40 40 4096 2005-12-25 12:58 run drwxr-xr-x 6 root root 4096 2005-12-13 13:16 spool Another issue but not as grave as the first one, is that they way bind package create the /etc/rndc.key it is neither backup or removed when removing bind from the system. Included are a PKGBUILD and bind.install to fix both issues. This have also been tested with bind-9.3.2 and works without problems. |
This task depends upon
Closed by Judd Vinet (judd)
Monday, 26 December 2005, 06:49 GMT
Reason for closing: Implemented
Additional comments about closing: Thank you!
Monday, 26 December 2005, 06:49 GMT
Reason for closing: Implemented
Additional comments about closing: Thank you!

This revised bind.install also fix ownership of /var/run for
previous bind installations