Bug#996542: Post install fails when run as non-root user and does not respect PKG_ROOT

Michael Biebl biebl at debian.org
Fri Oct 15 10:14:16 BST 2021


Control: tags -1 + moreinfo

Am 15.10.21 um 07:53 schrieb Glenn Washburn:
> Package: udev
> Version: 247.3-5
> 
> Probably the easiest solution would be to exit early from the post
> install if the current user is not root. There's probably a more subtle
> fix that preserves more functionality (eg. maybe updating the hwdb in
> PKG_ROOT?), what ever gets the post install to not fail in this
> scenario works for me.

Package installations need to be done as root.
I don't think the package would benefit if we'd litter the maintainer 
scripts with id checks.

Please elobare what the use case is here?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20211015/27ccc545/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list