[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposal v2: enable stateless persistant network interface names



On Jun 03, Vincent Danjean <vdanjean.ml@free.fr> wrote:

> >  stretch+1 (or maybe +2):
> >   - Check existance/non-emptiness of
> >     /etc/udev/rules.d/70-persistent-net.rules in udev.preinst,
> >     Show critical debconf note, and refuse to upgrade
> No. It is always a real pain when a preinst script fails.
This part is not negotiable, because:

> So, you can show a debconf note, try (or not) to migrate the file
> automatically, remove (or comment-out) the 70-persistent-net.rules,
> or ... but, please, do not write a preinst script that fails
> because the admin did not update its config before upgrading.
None of these solutions is applicable: either the upgrade can continue 
or the network interfaces names will change with unpredictable 
consequences.

> One "good" solution would probably a new kind of scripts run
> by dpkg and apt *prior to any other things* (for all involved
> packages) to decide if the upgrade can run or not. But that
This is more or less what apt does when apt-extracttemplates from 
apt-utils is available.

-- 
ciao,
Marco

Attachment: pgpWF_Ag9IADU.pgp
Description: PGP signature


Reply to: