FS#66321 - [dhcpcd] 9.0.1 permissions too strict on /run/dhcpcd/

Attached to Project: Arch Linux
Opened by Brian BIdulock (bidulock) - Monday, 20 April 2020, 05:46 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 21 April 2020, 15:30 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

dhcpcd.tmpfiles contains: "d /run/dhcpcd 0700 dhcpcd dhcpcd -"

However, unpriv.sock that must be accessible by any user and sock which must be accessible by controlgroup users. When they were placed directly in /etc there was no problem.

Suggest changing dhcpcd.tmpfiles to: "d /run/dhcpcd 0755 dhcpcd dhcpcd -" so that unprivileged users and controlgroup users can access the control sockets.


Additional info:
* package version [9.0.1]


Steps to reproduce:

Attempt to access /run/dhcpcd/sock as controlgroup user or /run/dhcpcd/unpriv.sock as normal user.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 21 April 2020, 15:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  dhcpcd 9.0.1-3
Comment by Antonio Rojas (arojas) - Monday, 20 April 2020, 06:11 GMT
Please test 9.0.1-3
Comment by Dale Blount (dale) - Monday, 20 April 2020, 19:11 GMT
Upgrading from 9.0.1-2 to 9.0.1-4 did NOT fix it to me. Reverting to 8.1.7-1 allowed me to boot again. No gettys will start so it's really hard to debug.
Comment by Antonio Rojas (arojas) - Monday, 20 April 2020, 19:12 GMT
did NOT fix what? this bug report says nothing about booting. If you have another issue, open a different bug report.
Comment by Dale Blount (dale) - Monday, 20 April 2020, 19:33 GMT
There's a link from this forum post below to this bug. It might not be fully related, but downgrading the package to 8.1.7-1 allows me to boot again like m040601 & SUK.

https://bbs.archlinux.org/viewtopic.php?id=254834

Loading...