Bug#21941: dpkg usage of /var

2015-02-15 Thread Trek
here the example hooks for readonly /usr and noexec /var that should be added to /etc/apt/apt.conf to works with apt-get/aptitude: DPkg { // Auto re-mounting of a readonly /usr and noexec /var Pre-Invoke { "mount -o remount,rw /usr && mount -o remount,exec /var"; }; Post-Invoke { "test

Bug#21941: dpkg usage of /var

2011-01-11 Thread Goswin von Brederlow
Hi, Guillem Jover wrote: > Even if the /usr/lib location could be interpreted and argued as valid > too, I'd not see the point in changing it, given the coding and > transition work involved, susceptible to system breakage, and > unfortunately also because there are programs out there which rely

Bug#21941: dpkg usage of /var

2011-01-05 Thread Andreas Barth
* Guillem Jover (guil...@debian.org) [110105 08:32]: > On Sun, 2010-12-26 at 16:56:49 +0100, Andreas Barth wrote: > > I think adding hooks for dpkg to run scripts pre-/post-changing > > requests (e.g. configure, remove, install, ...) might make sense. > > There's already the invoke hooks (see man

Bug#21941: dpkg usage of /var

2011-01-04 Thread Guillem Jover
tag 21941 wontfix thanks [ Goswin, removing the wontfix tag is not something for you to decide. ] On Sun, 2010-12-26 at 16:56:49 +0100, Andreas Barth wrote: > re usage of /var: > > dpkg puts the package data into /var/lib/dpkg/info. This includes the > list of files, the list of

Bug#21941: dpkg usage of /var

2010-12-26 Thread Goswin von Brederlow
Hi, Andreas Barth wrote: > re usage of /var: > ~~ > dpkg puts the package data into /var/lib/dpkg/info. This includes the > list of files, the list of conffiles, templates, md5sums and also the > maintainer scripts of each package. > > According to FHS: > | /var contains variable da

Bug#21941: dpkg usage of /var

2010-12-26 Thread Andreas Barth
Hi, as we had just a discussion about this bug report on IRC, AFAICS there are a couple of reasons and possibilities: re usage of /var: dpkg puts the package data into /var/lib/dpkg/info. This includes the list of files, the list of conffiles, templates, md5sums and also the main