Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. That's a new one.

That's a new one.

Scheduled Pinned Locked Moved Uncategorized
19 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

    @domi like the refactoring is dumb but i don't mind it.

    what i do mind is it breaking rather than moving all of my config to sysctl.d/legacy.conf or something and letting me split it out if and when i want

    azonenberg@ioc.exchangeA This user is from outside of this forum
    azonenberg@ioc.exchangeA This user is from outside of this forum
    azonenberg@ioc.exchange
    wrote last edited by
    #5

    @domi (I'm very much old school on a bunch of things, I still configure stuff in /etc/network/interfaces and add new wifi networks to my laptop by editing /etc/wpa_supplicant/wpa_supplicant.conf in nano)

    domi@donotsta.reD 1 Reply Last reply
    0
    • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

      @domi like the refactoring is dumb but i don't mind it.

      what i do mind is it breaking rather than moving all of my config to sysctl.d/legacy.conf or something and letting me split it out if and when i want

      domi@donotsta.reD This user is from outside of this forum
      domi@donotsta.reD This user is from outside of this forum
      domi@donotsta.re
      wrote last edited by
      #6

      @azonenberg@ioc.exchange i do mind it, because it's yet another distro changing something for no reason and fragmenting a good feature ๐Ÿ˜•

      guess it's fine if you use/administer one box, or boxen on one distro. but I touch at least three distros in prod, sometimes more for local fucking around, and it's exhausting to go round and remember about all the stupid papercuts that maintainers implemented for their own amusement. this is certainly not making it any better ๐Ÿ˜•

      azonenberg@ioc.exchangeA 1 Reply Last reply
      0
      • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

        @domi (I'm very much old school on a bunch of things, I still configure stuff in /etc/network/interfaces and add new wifi networks to my laptop by editing /etc/wpa_supplicant/wpa_supplicant.conf in nano)

        domi@donotsta.reD This user is from outside of this forum
        domi@donotsta.reD This user is from outside of this forum
        domi@donotsta.re
        wrote last edited by
        #7

        @azonenberg@ioc.exchange I stopped using /etc/network/interfaces because there are at least 2 incompatible implementations in current use, and neither has really good docs for itself...

        wpa_supplicant.conf is fine tho, I do that too. (albeit through wpa_gui most of the time)

        1 Reply Last reply
        0
        • domi@donotsta.reD domi@donotsta.re

          @azonenberg@ioc.exchange i do mind it, because it's yet another distro changing something for no reason and fragmenting a good feature ๐Ÿ˜•

          guess it's fine if you use/administer one box, or boxen on one distro. but I touch at least three distros in prod, sometimes more for local fucking around, and it's exhausting to go round and remember about all the stupid papercuts that maintainers implemented for their own amusement. this is certainly not making it any better ๐Ÿ˜•

          azonenberg@ioc.exchangeA This user is from outside of this forum
          azonenberg@ioc.exchangeA This user is from outside of this forum
          azonenberg@ioc.exchange
          wrote last edited by
          #8

          @domi What i mean is, I dislike backend refactoring a lot less than I dislike breakage.

          When they changed network device enumeration every release several times in a row? THAT bothered me.

          Little things like changing package names between releases or moving a config file, if the migration is done properly, generally don't cost me any time.

          domi@donotsta.reD 1 Reply Last reply
          0
          • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

            @domi What i mean is, I dislike backend refactoring a lot less than I dislike breakage.

            When they changed network device enumeration every release several times in a row? THAT bothered me.

            Little things like changing package names between releases or moving a config file, if the migration is done properly, generally don't cost me any time.

            domi@donotsta.reD This user is from outside of this forum
            domi@donotsta.reD This user is from outside of this forum
            domi@donotsta.re
            wrote last edited by
            #9

            @azonenberg@ioc.exchange oh, also: all my non-dayjob boxes run with net.ifnames=0, which returns the previous "non-predictable" device names, a move which has likely elongated my life by a good year or two

            azonenberg@ioc.exchangeA 1 Reply Last reply
            0
            • domi@donotsta.reD domi@donotsta.re

              @azonenberg@ioc.exchange oh, also: all my non-dayjob boxes run with net.ifnames=0, which returns the previous "non-predictable" device names, a move which has likely elongated my life by a good year or two

              azonenberg@ioc.exchangeA This user is from outside of this forum
              azonenberg@ioc.exchangeA This user is from outside of this forum
              azonenberg@ioc.exchange
              wrote last edited by
              #10

              @domi I don't mind predictable names if they are actually predictable since I tend to have a LOT of nics.

              But if it's enp3s0 and then I update and it's suddenly eno1, then next release it's enp6s0, and I add a new SSD and it's enp5s0 now? That's not good.

              domi@donotsta.reD 1 Reply Last reply
              0
              • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                @domi I don't mind predictable names if they are actually predictable since I tend to have a LOT of nics.

                But if it's enp3s0 and then I update and it's suddenly eno1, then next release it's enp6s0, and I add a new SSD and it's enp5s0 now? That's not good.

                domi@donotsta.reD This user is from outside of this forum
                domi@donotsta.reD This user is from outside of this forum
                domi@donotsta.re
                wrote last edited by
                #11

                @azonenberg@ioc.exchange i would take predictable names if they'd resolve to en<MAC> by default

                toast@donotsta.reT azonenberg@ioc.exchangeA 2 Replies Last reply
                0
                • domi@donotsta.reD domi@donotsta.re

                  @azonenberg@ioc.exchange i would take predictable names if they'd resolve to en<MAC> by default

                  toast@donotsta.reT This user is from outside of this forum
                  toast@donotsta.reT This user is from outside of this forum
                  toast@donotsta.re
                  wrote last edited by
                  #12
                  @domi @azonenberg I should write this udev rule :^) (actually can you? I'm not sure udev is mac-aware)
                  domi@donotsta.reD 1 Reply Last reply
                  0
                  • domi@donotsta.reD domi@donotsta.re

                    @azonenberg@ioc.exchange i would take predictable names if they'd resolve to en<MAC> by default

                    azonenberg@ioc.exchangeA This user is from outside of this forum
                    azonenberg@ioc.exchangeA This user is from outside of this forum
                    azonenberg@ioc.exchange
                    wrote last edited by
                    #13

                    @domi That would be awesome, since it would also (unlike the current "predictable" ones) be stable if you moved the nic between slots, something I have to do sometimes

                    1 Reply Last reply
                    0
                    • toast@donotsta.reT toast@donotsta.re
                      @domi @azonenberg I should write this udev rule :^) (actually can you? I'm not sure udev is mac-aware)
                      domi@donotsta.reD This user is from outside of this forum
                      domi@donotsta.reD This user is from outside of this forum
                      domi@donotsta.re
                      wrote last edited by
                      #14

                      @toast @azonenberg@ioc.exchange probably not, but I bet you can do some hacks to extract a MAC anyways

                      toast@donotsta.reT emily@fedi.uni.horseE 2 Replies Last reply
                      0
                      • domi@donotsta.reD domi@donotsta.re

                        @toast @azonenberg@ioc.exchange probably not, but I bet you can do some hacks to extract a MAC anyways

                        toast@donotsta.reT This user is from outside of this forum
                        toast@donotsta.reT This user is from outside of this forum
                        toast@donotsta.re
                        wrote last edited by
                        #15
                        @domi @azonenberg hmm, you might be able to? cursory reading of udev(7) suggests ATTR{} is a thin layer over sysfs, and in sysfs you have device/address which contains the MACโ€ฆ
                        toast@donotsta.reT 1 Reply Last reply
                        0
                        • toast@donotsta.reT toast@donotsta.re
                          @domi @azonenberg hmm, you might be able to? cursory reading of udev(7) suggests ATTR{} is a thin layer over sysfs, and in sysfs you have device/address which contains the MACโ€ฆ
                          toast@donotsta.reT This user is from outside of this forum
                          toast@donotsta.reT This user is from outside of this forum
                          toast@donotsta.re
                          wrote last edited by
                          #16

                          @domi @azonenberg@ioc.exchange hello from enx5847[censored]
                          I was going to go into the deep end but turns out the same script used for "predictable inames" actually exports this information too, but never uses it in the default script
                          looks like so to get this working:

                          ACTION!="add", GOTO="net_name_slot_end"
                          SUBSYSTEM!="net", GOTO="net_name_slot_end"
                          NAME!="", GOTO="net_name_slot_end"
                          
                          IMPORT{cmdline}="net.ifnames"
                          ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
                          
                          NAME=="", ENV{ID_NET_NAME_MAC}!="", NAME="$env{ID_NET_NAME_MAC}"
                          
                          LABEL="net_name_slot_end"
                          

                          save as /etc/udev/rules.d/80-net-name-slot.rules
                          the line starting with NAME=="" is the only important one realistically
                          it does look like $attr{address} should also match but then you have to add the en/wl/etc prefix yourself (which could probably be done using KERNEL==โ€ฆ I might poke at that after my meeting)

                          1 Reply Last reply
                          0
                          • domi@donotsta.reD domi@donotsta.re

                            @toast @azonenberg@ioc.exchange probably not, but I bet you can do some hacks to extract a MAC anyways

                            emily@fedi.uni.horseE This user is from outside of this forum
                            emily@fedi.uni.horseE This user is from outside of this forum
                            emily@fedi.uni.horse
                            wrote last edited by
                            #17

                            @domi @toast @azonenberg it is! I do this in my laptop's udev config:

                            SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="84:ba:59:38:80:77", NAME="eth-onboard"
                            SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="34:99:71:00:0f:63", NAME="eth-dock"
                            SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="a0:d3:65:a8:1f:ba", NAME="wlan0"

                            1 Reply Last reply
                            0
                            • azonenberg@ioc.exchangeA azonenberg@ioc.exchange

                              That's a new one. Upgraded my router from Debian bookworm to trixie and all of the sysctls (including rather important ones like ipv4 and ipv6 forwarding) that I had set in /etc/sysctl.conf no longer applied, the file was moved to a .bak but not migrated to whatever Debian is trying to force me onto instead.

                              But overall far from the most painful distro upgrade I've had. I was worried all of my NICs would change names (again) and I'd have to rebuild my whole firewall configuration.

                              cmm11@fosstodon.orgC This user is from outside of this forum
                              cmm11@fosstodon.orgC This user is from outside of this forum
                              cmm11@fosstodon.org
                              wrote last edited by
                              #18

                              @azonenberg Fwiw it was mentioned in the release notes - https://www.debian.org/releases/trixie/release-notes/issues.en.html#etc-sysctl-conf-is-no-longer-honored

                              azonenberg@ioc.exchangeA 1 Reply Last reply
                              0
                              • cmm11@fosstodon.orgC cmm11@fosstodon.org

                                @azonenberg Fwiw it was mentioned in the release notes - https://www.debian.org/releases/trixie/release-notes/issues.en.html#etc-sysctl-conf-is-no-longer-honored

                                azonenberg@ioc.exchangeA This user is from outside of this forum
                                azonenberg@ioc.exchangeA This user is from outside of this forum
                                azonenberg@ioc.exchange
                                wrote last edited by
                                #19

                                @cmm11 failing to move the existing sysctl.conf to the new location is still a bug imo

                                1 Reply Last reply
                                1
                                0
                                • R relay@relay.infosec.exchange shared this topic
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups