On Mon, Aug 13, 2012 at 06:49:41PM +0200, Marco d'Itri wrote:
> On Aug 13, Philipp Kern <[email protected]> wrote:
> > Marco, could you come up with a fix that rearranges the dev_id properly so 
> > that
> > it's not added to the matching rules for ccwgroup devices? The only 
> > "solution"
> Setting ENV{MATCHDEVID}="" in the rule should be enough.

# S/390 interfaces are matched only by id
SUBSYSTEMS=="ccwgroup", \
        ENV{MATCHDRV}="$driver", ENV{MATCHID}="$id", ENV{MATCHADDR}="", 
ENV{MATCHDEVID}=""

This works correctly.

> > so far for squeeze and wheezy is to delete the persistent-net-generator, 
> > but I
> > don't agree with that one. And I don't suppose that we want to add
> > SUBSYSTEM!="ccwgroup" to that dev_id rule.
> I do not know much about S/390, but if the interface names are stable 
> without persistent rules then we really do not want to create any.
> Let me know.

I deleted persistent-net.rules, rebooted and the devices were named
differently. So this is not necessarily stable without persistent-net-generator
if multiple NICs are attached.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature

Reply via email to