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

2021-10-15 Thread Johannes Schauer Marin Rodrigues
Hi Glenn, Quoting Glenn Washburn (2021-10-15 21:39:08) > > While running dpkg with --root and --force-script-chrootless avoids the > > chroot() call and thus, allows installing packages without the root user in > > theory, the DPKG_ROOT mechanism and the avoidance of the chroot() was *not* > >

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

2021-10-15 Thread Glenn Washburn
Hi Johannes, On Fri, 15 Oct 2021 20:24:12 +0200 Johannes Schauer Marin Rodrigues wrote: > Hi Michael & Glenn, > > On Fri, 15 Oct 2021 12:26:38 +0200 Michael Biebl wrote: > > Am 15.10.21 um 11:14 schrieb Michael Biebl: > > > Am 15.10.21 um 07:53 schrieb Glenn Washburn: > > >> Probably the

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

2021-10-15 Thread Johannes Schauer Marin Rodrigues
Hi Michael & Glenn, On Fri, 15 Oct 2021 12:26:38 +0200 Michael Biebl wrote: > Am 15.10.21 um 11:14 schrieb Michael Biebl: > > Am 15.10.21 um 07:53 schrieb Glenn Washburn: > >> Probably the easiest solution would be to exit early from the post install > >> if the current user is not root. There's

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

2021-10-15 Thread Glenn Washburn
On Fri, 15 Oct 2021 12:26:38 +0200 Michael Biebl wrote: > Am 15.10.21 um 11:14 schrieb Michael Biebl: > > 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

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

2021-10-15 Thread Michael Biebl
Am 15.10.21 um 11:14 schrieb Michael Biebl: 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

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

2021-10-15 Thread Michael Biebl
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

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

2021-10-14 Thread 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