| Summary: | sys-apps/usbguard-1.0.0-r2 crashes at start (require directory /etc/usbguard/IPCAccessControl.d/) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bogdan <bogdan.pylypenko107> |
| Component: | Current packages | Assignee: | Sebastian Pipping <sping> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dschridde+gentoobugs |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/USBGuard/usbguard/issues/168 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Bogdan
2021-08-17 23:04:33 UTC
To fix bug, ebuild must contains instruction to create /etc/usbguard/IPCAccessControl.d/ directory. Hi Bogdan, thanks for the report! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc9bf3c02298f279114fd220e46328b3e0b200f commit 9dc9bf3c02298f279114fd220e46328b3e0b200f Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2021-08-18 11:15:29 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2021-08-18 11:15:43 +0000 sys-apps/usbguard: Keepdir /etc/usbguard/IPCAccessControl.d Closes: https://bugs.gentoo.org/808801 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.20, Repoman-3.0.3 sys-apps/usbguard/usbguard-1.0.0-r3.ebuild | 101 +++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) (In reply to Larry the Git Cow from comment #3) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=9dc9bf3c02298f279114fd220e46328b3e0b200f > > commit 9dc9bf3c02298f279114fd220e46328b3e0b200f > Author: Sebastian Pipping <sping@gentoo.org> > AuthorDate: 2021-08-18 11:15:29 +0000 > Commit: Sebastian Pipping <sping@gentoo.org> > CommitDate: 2021-08-18 11:15:43 +0000 > > sys-apps/usbguard: Keepdir /etc/usbguard/IPCAccessControl.d > > Closes: https://bugs.gentoo.org/808801 > Signed-off-by: Sebastian Pipping <sping@gentoo.org> > Package-Manager: Portage-3.0.20, Repoman-3.0.3 > > sys-apps/usbguard/usbguard-1.0.0-r3.ebuild | 101 > +++++++++++++++++++++++++++++ > 1 file changed, 101 insertions(+) Now I get: systemd[1]: Starting USBGuard daemon... usbguard-daemon[1168]: [1629721293.729] (E) Permissions for /etc/usbguard/IPCAccessControl.d//.keep_sys-apps_usbguard-0 should be 0600 usbguard-daemon[1168]: [1629721293.730] (E) Check permissions: /etc/usbguard/IPCAccessControl.d//.keep_sys-apps_usbguard-0: Policy may be readable usbguard-daemon[1168]: Permissions for /etc/usbguard/IPCAccessControl.d//.keep_sys-apps_usbguard-0 should be 0600 usbguard-daemon[1168]: Check permissions: /etc/usbguard/IPCAccessControl.d//.keep_sys-apps_usbguard-0: Policy may be readable systemd[1]: usbguard.service: Control process exited, code=exited, status=1/FAILURE systemd[1]: usbguard.service: Failed with result 'exit-code'. systemd[1]: Failed to start USBGuard daemon. This is quickly fixed: # chmod 0600 /etc/usbguard/IPCAccessControl.d/.keep_sys-apps_usbguard-0 Oh shoot, thanks for the update. I confirm that after the chmod this turns into… [1629733331.885] (W) Ignoring access control file because of malformed name: .keep_sys-apps_usbguard-0 …and the daemon starts up. I'll remove -r3 and add -r4 in a minute. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dc7acff514d9d4e1a16b01b87e7edf4973ef1f commit 36dc7acff514d9d4e1a16b01b87e7edf4973ef1f Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2021-08-23 15:45:14 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2021-08-23 15:46:50 +0000 sys-apps/usbguard: Fix troublesome keepdir file perms Closes: https://bugs.gentoo.org/808801 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.22, Repoman-3.0.3 sys-apps/usbguard/{usbguard-1.0.0-r3.ebuild => usbguard-1.0.0-r4.ebuild} | 1 + 1 file changed, 1 insertion(+) |