[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996540: marked as done (Post install fails when run as non-root user and does not respect PKG_ROOT)



Your message dated Mon, 17 Jan 2022 00:13:47 +0100
with message-id <cb78d1cf-95e5-7af5-e4fc-650f08eb023e@web.de>
and subject line Re: Bug#996540: Post install fails when run as non-root user and does not respect PKG_ROOT
has caused the Debian Bug report #996540,
regarding Post install fails when run as non-root user and does not respect  PKG_ROOT
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
996540: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996540
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: install-info
Version: 6.7.0.dfsg.2-6

The post install is failing when dpkg is configured with a root and run
as an unprivileged user. This is an issue partly with packaging and
partly with the upstream package (I think). The upstream issue can be remedied with a patch in
the packaging.

My suggestion for a fix is to modify update-info-dir such that it takes
an argument (eg. --root <path>) prepend that argument to all file paths
used.  Then in the post install call update-info-dir with $PKG_ROOT as
the argument, eg. update-info-dir --root $PKG_ROOT. Any fix will do
though.

Glenn

--- End Message ---
--- Begin Message ---
Am 15.01.2022 um 07:54 teilte Johannes Schauer Marin Rodrigues mit:
Quoting Hilmar Preuße (2022-01-14 23:57:32)

Hi Josch,

Further I don't understand the use case: under which situations will a
configuration script will be run as non-privileged user?

None. Glenn also filed #996435, #996438 and #996542 and my answer to the latter
also holds for this bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996542#25
I'm closing the bug using the same justification. Hope this was correct.

Hilmar
--
sigfault

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply to: