Coder Social home page Coder Social logo

Comments (6)

thkukuk avatar thkukuk commented on July 17, 2024

Our 70-persistent-net.rules looks similar and it works there.
It sounds like you are running in e.g. this bug: systemd/systemd#14935 ?

from issue-generator.

rnissl avatar rnissl commented on July 17, 2024

So shouldn't /usr/lib/udev/rules.d/90-issue-generator.rules then be changed like that:
ACTION=="add", SUBSYSTEM=="net", RUN+="/usr/sbin/issue-generator network add $name"
ACTION=="remove", SUBSYSTEM=="net", RUN+="/usr/sbin/issue-generator network del $name"

This file is part of https://ftp.opensuse.org/distribution/leap/15.3/repo/oss/noarch/issue-generator-1.7-1.17.noarch.rpm and hasn't been changed since 2019-05-05, while https://ftp.opensuse.org/update/leap/15.3/sle/x86_64/dracut-049.1+suse.238.gd8dbb075-150200.3.60.1.x86_64.rpm contains this change:

Wed Sep 29 14:00:00 2021
[email protected]

  • Update to version 049.1+suse.207.g72a93d93:
    • fcoe/fcoe-genrules.sh: use $name instead of $env{INTERFACE} (bsc#1186260)
    • fix: /var/lib/nfs/statd/sm is /var/lib/nfs/sm on SUSE (bsc#1184970)

I'm going to upgrade to Leap 15.4 in January -- would be nice, if the issue could be fixed till then 😉

from issue-generator.

thkukuk avatar thkukuk commented on July 17, 2024

If you want to get something fixed in a Linux distribution, you have to report that bug against that Linux distribution, and not a random upstream github project and not even mentioning it there...

from issue-generator.

thkukuk avatar thkukuk commented on July 17, 2024

Since you did report this against this project/code: did you try the current code at all?
Since you have problems with renaming interfaces, I would bet that this code is missing in your version.

from issue-generator.

rnissl avatar rnissl commented on July 17, 2024

The current code works better than the original distributed by Leap 15.3, i. e. it lists the 4 renamed interfaces + the 4 original interfaces eth0 ... eth3 (my adjusted regex is ^[^l]).

Using the original code with $name works as expected. Only the renamed interfaces get listet.

from issue-generator.

thkukuk avatar thkukuk commented on July 17, 2024

The current version from this project works fine for me in all cases. I assume you did not update the whole code but only the udev rule?
Anyways, your udev rule with the current git code works on Leap for me.

from issue-generator.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.