On Wed, 8 Nov 2017 09:04:57 -0800, Rick wrote in message 
<[email protected]>:

> Quoting Olaf Meeuwissen ([email protected]):
> 
> > I used to mount /usr read-only on my server machines but that
> > quickly becomes a bore when you need to install security upgrades
> > every so often.  
> 
> Suggestion:  Make remounting an automatic part of package operations.
> 
> /etc/apt/apt.conf:
> 
> DPkg {
>     // Auto re-mounting of a read-only /usr
>     Pre-Invoke { "mount -o remount,rw /usr"; };
>     Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o
> remount,ro /usr || true"; }; };


..me, I would prefer "mount -vo remount,ro /usr", it's an useful 
wee bit more verbose, and new people coming over from e.g. Debian,  
may not neccessarily like "our new sneaky surprise breaking their
system" systemd workarounds etc.  


..let's have them complain about our verbosity when they get 
fed up with it. ;o)


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to