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
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
* 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
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
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
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
6 matches
Mail list logo