Re: how to forbid debhelper to modify /home ?

2021-09-06 Thread Jonathan Dowland
On Fri, Sep 03, 2021 at 08:23:07AM -0400, Roberto C. Sánchez wrote: As a Debian Developer, I would consider it bad form to go creating things under /home from a package's maintainer script, though that does not appear to be a specific policy violation. I idly wonder whether it should be,

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Roberto C . Sánchez
On Fri, Sep 03, 2021 at 03:41:00PM +0200, Harald Dunkel wrote: > On 9/3/21 13:57, Roberto C. Sánchez wrote: > > That sounds like potentially buggy behavior. Can you give a specific > > example? > > > > ntp (Debian) > sane (Debian) > gitlab-runner (not Debian) >

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Harald Dunkel
On 9/3/21 13:57, Roberto C. Sánchez wrote: That sounds like potentially buggy behavior. Can you give a specific example? ntp (Debian) sane (Debian) gitlab-runner (not Debian) zabbix-agent (not Debian) Apparently the postinst scripts of ntp and sane have been

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Harald Dunkel
On 9/3/21 11:40, Erwan David wrote: I would do this the other way (but not eay tpo migrate) : add your users in another directory (/srv/home or something else) where you mpount your remote home directory, and keep system using /home. I agree, but unfortunately this is not an option.

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Sven Hartge
Roberto C. Sánchez wrote: > On Fri, Sep 03, 2021 at 08:03:23AM -0400, Greg Wooledge wrote: >> Out of curiosity, I checked my system to see if there were any system >> users with home directories under /home. The only one I found is "ntp". >> >> Then I looked at the ntp.postinst script, and it

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Greg Wooledge
On Fri, Sep 03, 2021 at 08:39:09AM -0400, Roberto C. Sánchez wrote: > So, the existence of /home/ntp on the OP's system, or any system > installed from a Debian release prior to the last 4-ish years, could be > attributed to some process or series of actions that decides, "hey, this > ntp user's

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Roberto C . Sánchez
On Fri, Sep 03, 2021 at 08:33:25AM -0400, Greg Wooledge wrote: > On Fri, Sep 03, 2021 at 08:23:07AM -0400, Roberto C. Sánchez wrote: > > On Fri, Sep 03, 2021 at 08:03:23AM -0400, Greg Wooledge wrote: > > > Out of curiosity, I checked my system to see if there were any system > > > users with home

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Greg Wooledge
On Fri, Sep 03, 2021 at 08:23:07AM -0400, Roberto C. Sánchez wrote: > On Fri, Sep 03, 2021 at 08:03:23AM -0400, Greg Wooledge wrote: > > Out of curiosity, I checked my system to see if there were any system > > users with home directories under /home. The only one I found is "ntp". > How old is

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Roberto C . Sánchez
On Fri, Sep 03, 2021 at 08:03:23AM -0400, Greg Wooledge wrote: > On Fri, Sep 03, 2021 at 07:57:44AM -0400, Roberto C. Sánchez wrote: > > On Fri, Sep 03, 2021 at 11:14:45AM +0200, Harald Dunkel wrote: > > > Hi folks, > > > > > > how can I tell the debhelper scripts to not install home directories

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Andrew M.A. Cater
On Fri, Sep 03, 2021 at 08:03:23AM -0400, Greg Wooledge wrote: > On Fri, Sep 03, 2021 at 07:57:44AM -0400, Roberto C. Sánchez wrote: > > On Fri, Sep 03, 2021 at 11:14:45AM +0200, Harald Dunkel wrote: > > > Hi folks, > > > > > > how can I tell the debhelper scripts to not install home directories

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread rhkramer
On Friday, September 03, 2021 05:40:18 AM Erwan David wrote: > Le 03/09/2021 à 11:14, Harald Dunkel a écrit : > > how can I tell the debhelper scripts to not install home directories > > for system services in /home (managed on a remote host in my > > environment), but to use /var/lib instead? >

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Greg Wooledge
On Fri, Sep 03, 2021 at 07:57:44AM -0400, Roberto C. Sánchez wrote: > On Fri, Sep 03, 2021 at 11:14:45AM +0200, Harald Dunkel wrote: > > Hi folks, > > > > how can I tell the debhelper scripts to not install home directories > > for system services in /home (managed on a remote host in my

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Roberto C . Sánchez
On Fri, Sep 03, 2021 at 11:14:45AM +0200, Harald Dunkel wrote: > Hi folks, > > how can I tell the debhelper scripts to not install home directories > for system services in /home (managed on a remote host in my environment), > but to use /var/lib instead? > That sounds like potentially buggy

Re: how to forbid debhelper to modify /home ?

2021-09-03 Thread Erwan David
Le 03/09/2021 à 11:14, Harald Dunkel a écrit : Hi folks, how can I tell the debhelper scripts to not install home directories for system services in /home (managed on a remote host in my environment), but to use /var/lib instead? I know I can block dpkg using apparmor, but this would break

how to forbid debhelper to modify /home ?

2021-09-03 Thread Harald Dunkel
Hi folks, how can I tell the debhelper scripts to not install home directories for system services in /home (managed on a remote host in my environment), but to use /var/lib instead? I know I can block dpkg using apparmor, but this would break many postinst scripts, at least for 3rd-party