Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically.
@ 2021-07-02 20:59 wibed
  2021-07-07 10:30 ` amak79
  2021-07-17  3:46 ` [ISSUE] [CLOSED] " ericonr
  0 siblings, 2 replies; 3+ messages in thread
From: wibed @ 2021-07-02 20:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

New issue by wibed on void-packages repository

https://github.com/void-linux/void-packages/issues/31768

Description:
### System

* xuname:  
Void 5.12.10_1 x86_64-musl AuthenticAMD notuptodate rrFFF

* package:  
pkgver: usbguard-1.0.0_3

### Expected behavior
after install, started service running seamlessly

### Actual behavior
fails silently in the background

### Steps to reproduce the behavior
xbps-install -Syu usbguard
ln -s /etc/sv/usbguard /var/service/
sv restart usbguard


the error message indicates a missing directory in /etc/usbguard
/etc/usbguard/IPCAccessControl.d

the installation candidate does not setup this directory by itself.

### WORKAROUND
just create the directory as root and usbguard will start as expected


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically.
  2021-07-02 20:59 [ISSUE] usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically wibed
@ 2021-07-07 10:30 ` amak79
  2021-07-17  3:46 ` [ISSUE] [CLOSED] " ericonr
  1 sibling, 0 replies; 3+ messages in thread
From: amak79 @ 2021-07-07 10:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

New comment by amak79 on void-packages repository

https://github.com/void-linux/void-packages/issues/31768#issuecomment-875490471

Comment:
This is caused by `xbps-src` removing empty directories during post-install.
```
=> usbguard-1.0.0_3: running post-install hook: 03-remove-empty-dirs ...
=> WARNING: usbguard-1.0.0_3: removed empty dir: /var/log/usbguard
=> WARNING: usbguard-1.0.0_3: removed empty dir: /var/log
=> WARNING: usbguard-1.0.0_3: removed empty dir: /var
=> WARNING: usbguard-1.0.0_3: removed empty dir: /etc/usbguard/IPCAccessControl.d
```
I fixed this by adding the directory to `make_dirs`. The template already does this for `/var/log/usbguard`. I can make a pull request, but I would like to get a comment from a dev first.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically.
  2021-07-02 20:59 [ISSUE] usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically wibed
  2021-07-07 10:30 ` amak79
@ 2021-07-17  3:46 ` ericonr
  1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-07-17  3:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

Closed issue by wibed on void-packages repository

https://github.com/void-linux/void-packages/issues/31768

Description:
### System

* xuname:  
Void 5.12.10_1 x86_64-musl AuthenticAMD notuptodate rrFFF

* package:  
pkgver: usbguard-1.0.0_3

### Expected behavior
after install, started service running seamlessly

### Actual behavior
fails silently in the background

### Steps to reproduce the behavior
xbps-install -Syu usbguard
ln -s /etc/sv/usbguard /var/service/
sv restart usbguard


the error message indicates a missing directory in /etc/usbguard
/etc/usbguard/IPCAccessControl.d

the installation candidate does not setup this directory by itself.

### WORKAROUND
just create the directory as root and usbguard will start as expected


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-17  3:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 20:59 [ISSUE] usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically wibed
2021-07-07 10:30 ` amak79
2021-07-17  3:46 ` [ISSUE] [CLOSED] " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).