On Thu, 2015-03-26 at 13:52 -0500, Dirk Eddelbuettel wrote:
> Adam,
>
> I owe you a cold beverage or two! Thanks *so much* for jumping in here.
>
> On 26 March 2015 at 18:46, Adam D. Barratt wrote:
[...]
> | If /usr/local exists then Policy by extension requires that the "staff"
> | group also exist.
fwiw, I was slightly incorrect there. It's a "should", not a "must".
Apologies for the confusion.
> Ace. Here is what r-base-core.postinst does. Twelve years old and still
> valid.
>
> # edd 03 Apr 2003 cf Section 10.1.2 of Debian Policy
> if [ ! -e /usr/local/lib/R ]; then
> if mkdir /usr/local/lib/R 2>/dev/null; then
> chown root:staff /usr/local/lib/R
> chmod 2775 /usr/local/lib/R
> fi
> fi
This probably wants updating to more closely match the current Policy
skeleton, which would also fix the issue described in this report.
<quote>
Since `/usr/local' can be mounted read-only from a remote server,
these directories must be created and removed by the `postinst' and
`prerm' maintainer scripts and not be included in the `.deb'
archive.
These scripts must not fail if either of these operations fail.
For example, the `emacsen-common' package could contain something
like
if [ ! -e /usr/local/share/emacs ]; then
if mkdir /usr/local/share/emacs 2>/dev/null; then
if chown root:staff /usr/local/share/emacs; then
chmod 2775 /usr/local/share/emacs || true
fi
fi
fi
</quote>
[Arguably the above actually /could/ make this RC, depending on which
steps one considers to constitute "creating" the directory. My personal
take continues to be that it's not RC for Jessie in any case.]
Regards,
Adam
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]