Coder Social home page Coder Social logo

issue-generator's People

Contributors

lnussel avatar thkukuk avatar vogtinator avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

issue-generator's Issues

generated network files do not use renamed interface name

In /etc/udev/rules.d/70-persistent-net.rules I do have entries like this one:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="00:15:5d:85:04:21", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth", NAME="ext1"

And /usr/lib/udev/rules.d/90-issue-generator.rules contains:
ACTION=="add", SUBSYSTEM=="net", RUN+="/usr/sbin/issue-generator network add $env{INTERFACE}"
ACTION=="remove", SUBSYSTEM=="net", RUN+="/usr/sbin/issue-generator network del $env{INTERFACE}"

The above action "add" will generate a file in /run/issue.d (for example /run/issue.d/70-eth1.conf) which uses the original interface name.

Hence, no interface adresses will be shown as issue.

Does not react to renaming network interfaces

For some reason, renaming network interfaces does not generate add/remove events, but rather a single move event. This means that after ip link set enp1s0 name eth0, the shown issue is broken.

I'm not show how such a udev rule handling that would look like, as I don't see how to get the old name in a move event...

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.