2013/8/20 Michael Biebl <bi...@debian.org>

> Am 20.08.2013 10:39, schrieb olivier sallou:
> > hi,
> > I need for a package to override some udev standard rules.
> >
> > If I put an identical rule name in /etc/udev/rules.d, I know it overrides
> > the one in /lib/udev/rules.d
> >
> >
> > However, lintian raises an error if I put an udev rule in /etc instead of
> > /lib.
> > And if I try to put the file in /lib, it fails at install because the
> file
> > is owned by udev package.
> >
> > This particular package is for use in virtual machines creation where
> > package removes default network persistence.
>
> Could you elobarate why you need that?
> The persistent network interface naming rules are already skipped if
> udev is run within a virtual machine.
> Might be better to just fix udev if it doesn't work in your case.
> For that, it would be good to know more about your problem / use case.
>
ok,
I am packaging a package for OpenNebula that is to be installed on virtual
machine images.
It does many setup at startup.
Among other things, in upstream packages, it replaces 2 udev rules:
75-cd-aliases-generator.rules and 75-persistent-net-generator.rules.
The new rules does nothing, it just expects to skip the existing one.

I did not know that udev skipped (at least) persistent-net in virtual
machines so I did not try without those replacement rules (how does it know
it is a virtual machine?).


Olivier

>
> Michael
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
>


-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)

Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Reply via email to