Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239612

Re: how to forbid debhelper to modify /home ?

From Erwan David <erwan@rail.eu.org>
Newsgroups linux.debian.user
Subject Re: how to forbid debhelper to modify /home ?
Date 2021-09-03 11:50 +0200
Message-ID <CTdZD-3w5-1@gated-at.bofh.it> (permalink)
References <CTdPY-3sr-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 many
> postinst scripts, at least for 3rd-party packages. Some kind of redirect
> would be helpful.
> 
> 
> Regards
> Harri
> 
> 


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to forbid debhelper to modify /home ? Harald Dunkel <harald.dunkel@aixigo.com> - 2021-09-03 11:40 +0200
  Re: how to forbid debhelper to modify /home ? Erwan David <erwan@rail.eu.org> - 2021-09-03 11:50 +0200
    Re: how to forbid debhelper to modify /home ? rhkramer@gmail.com - 2021-09-03 14:10 +0200
    Re: how to forbid debhelper to modify /home ? Harald Dunkel <harald.dunkel@aixigo.com> - 2021-09-03 15:40 +0200
  Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 14:00 +0200
    Re: how to forbid debhelper to modify /home ? Greg Wooledge <greg@wooledge.org> - 2021-09-03 14:10 +0200
      Re: how to forbid debhelper to modify /home ? "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-03 14:20 +0200
      Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 14:30 +0200
        Re: how to forbid debhelper to modify /home ? Greg Wooledge <greg@wooledge.org> - 2021-09-03 14:40 +0200
          Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 14:40 +0200
            Re: how to forbid debhelper to modify /home ? Greg Wooledge <greg@wooledge.org> - 2021-09-03 14:50 +0200
        Re: how to forbid debhelper to modify /home ? Sven Hartge <sven@svenhartge.de> - 2021-09-03 15:20 +0200
        Re: how to forbid debhelper to modify /home ? Jonathan Dowland <jon+debian-user@dow.land> - 2021-09-06 12:30 +0200
    Re: how to forbid debhelper to modify /home ? Harald Dunkel <harald.dunkel@aixigo.com> - 2021-09-03 16:00 +0200
      Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 16:20 +0200

csiph-web