From: amak79 <amak79@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: usbguard missing directory preventing service to start up. resulting in any usb to be recognized automatically.
Date: Wed, 07 Jul 2021 12:30:53 +0200 [thread overview]
Message-ID: <20210707103053.QStFx0yR5Y3pbOprjWQrpKB51dtIjhFnK-LMHJs7HOk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31768@inbox.vuxu.org>
[-- 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.
next prev parent reply other threads:[~2021-07-07 10:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-02 20:59 [ISSUE] " wibed
2021-07-07 10:30 ` amak79 [this message]
2021-07-17 3:46 ` [ISSUE] [CLOSED] " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210707103053.QStFx0yR5Y3pbOprjWQrpKB51dtIjhFnK-LMHJs7HOk@z \
--to=amak79@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).