libera/#devuan/ Wednesday, 2024-11-06

AlverstoneAlexLikeRock_, `cat /etc/apt/sources.list` ?00:01
AlexLikeRock_ohhh. no !00:01
AlexLikeRock_ready Alverstone ?00:02
AlexLikeRock_https://paste.debian.net/1334641/00:03
Alverstonedoesn't matter, I rechecked and sledjhamr.org is up to date00:03
Alverstoneit's not that bad actually00:05
Alverstonehttps://paste.debian.net/plain/133464200:07
AlverstoneBut I don't think it's the problem actually00:07
AlverstoneBut doing so would reduce amount of files downloaded during `apt update`00:07
Alverstonewhat does `readlink -f /lib/x86_64-linux-gnu/libblkid.so.1` output?00:09
onefangsledjhamr.org better be up to date.  B-)00:10
Alverstoneonefang, do you run it? O_O00:11
onefangYep, that's my server.00:11
AlverstoneAlexLikeRock_, I think maybe symbolic links got messed up? Where does `readlink -f /lib/x86_64-linux-gnu/libblkid.so.1` point?00:13
* onefang gets back to work and checks how all the package mirrors are going today.00:13
AlexLikeRock_yes, the symbolic link its the problem00:14
AlexLikeRock_readlink -f /lib/x86_64-linux-gnu/libblkid.so.1     /lib/x86_64-linux-gnu/libblkid.so.1.1.0.bak00:15
AlexLikeRock_-.-00:15
Alverstone...00:16
Alverstonerm /lib/x86_64-linux-gnu/libblkid.so.100:16
Alverstoneln -s /lib/x86_64-linux-gnu/libblkid.so.1.1.0 /lib/x86_64-linux-gnu/libblkid.so.100:16
Alverstonethough if you want my opinion, you should use relative links00:16
Alverstonethat is00:16
Alverstonecd /lib/x86_64-linux-gnu/00:17
Alverstonerm /lib/x86_64-linux-gnu/libblkid.so.00:17
Alverstoneln -s libblkid.so.1.1.0 libblkid.so.100:17
AlexLikeRock_aptitude install   initramfs-tools  linux-image-amd6400:17
AlexLikeRock_00:17
AlexLikeRock_cool00:17
AlexLikeRock_ advence one step more00:18
AlexLikeRock_now  :00:18
AlverstoneUsing absolute symbolic links will screw your chroots00:18
AlexLikeRock_ /usr/share/initramfs-tools/hooks/fsck: 434: blkid: not found00:18
AlexLikeRock_yes00:18
Alverstoneutil-linux00:18
AlexLikeRock_ /usr/share/initramfs-tools/hooks/fsck: 434: blkid: not found00:20
AlexLikeRock_ /usr/share/initramfs-tools/hooks/fsck: 209: blkid: not found00:20
AlexLikeRock_W: Couldn't identify type of root file system for fsck hook00:20
Alverstoneapt install util-linux00:21
AlexLikeRock_yes00:25
AlexLikeRock_ working ..00:25
AlexLikeRock_dkms: autoinstall for kernel 6.1.0-25-amd64 was skipped since the kernel headers for this kernel do not seem to be installed.00:25
AlexLikeRock_ /etc/kernel/postinst.d/initramfs-tools:00:25
AlexLikeRock_update-initramfs: Generating /boot/initrd.img-6.1.0-25-amd6400:25
AlexLikeRock_ /usr/share/initramfs-tools/hooks/mdadm: 77: /usr/share/mdadm/mkconf: Permission denied00:25
AlexLikeRock_: mdadm: failed to auto-generate the mdadm.conf file.00:26
AlexLikeRock_W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .00:26
AlexLikeRock_welll00:26
AlexLikeRock_ another step forward00:26
AlexLikeRock_no error any more : "/usr/share/initramfs-tools/hooks/fsck: 434: blkid: not found"00:26
Alverstonewhy initramfs-hooks?00:28
Alverstoneit has nothing to do with util-linux00:28
Alverstonewhat is the complete output of running `apt install util-linux`?00:29
AlexLikeRock_https://paste.debian.net/1334645/00:32
AlexLikeRock_not install mdadm00:36
AlexLikeRock_installing and  purge00:36
Alverstone`readlink -f /lib/x86_64-linux-gnu/libmount.so.1`00:38
Alverstonealso00:38
Alverstone`gzip -d /usr/share/doc/mdadm/README.upgrading-2.5.3.gz`00:38
AlexLikeRock_coool not errors00:39
AlexLikeRock_ Processing triggers for initramfs-tools (0.142+deb12u1) ... update-initramfs: Generating /boot/initrd.img-6.1.0-25-amd64 live-boot: core filesystems devices utils udev blockdev dns.00:40
AlexLikeRock_yes lib mount00:40
AlexLikeRock_purge mdadm ...00:40
AlexLikeRock_dam!00:41
AlexLikeRock_cool : no errrors to purge00:42
AlexLikeRock_readlink -f /lib/x86_64-linux-gnu/libmount.so.100:42
AlexLikeRock_ lib/x86_64-linux-gnu/libmount.so.1.1.0.bak00:42
AlexLikeRock_another00:42
AlexLikeRock_gzip -d /usr/share/doc/mdadm/README.upgrading-2.5.3.gz00:42
AlexLikeRock_gzip: /usr/share/doc/mdadm/README.upgrading-2.5.3.gz: No such file or directory00:42
AlverstoneAlexLikeRock_, yep just purge mdadm00:43
Alverstoneapt purge00:43
Alverstonethen install it back if you need it00:43
AlexLikeRock_done  : purge . no errors00:43
AlexLikeRock_i dont  need00:43
AlexLikeRock_rm /lib/x86_64-linux-gnu/libmount.so.100:43
Alverstonecd /usr/lib/x86_64-linux-gnu00:44
Alverstoneln -s libmount.so.1.1.0 libmount.so.100:44
AlexLikeRock_not exist   /usr/lib/x86_64-linux-gnu/libmount.so.1.1.000:47
Alverstone._o00:47
AlexLikeRock_but "ln "  say , "the file already exists"00:48
AlexLikeRock_take alook00:48
AlexLikeRock_ a  fail at programing00:48
Alverstonels libmount*00:48
Alverstone???00:48
AlexLikeRock_https://paste.debian.net/1334646/00:48
AlexLikeRock_my fail00:49
AlexLikeRock_done00:49
AlexLikeRock_now00:50
AlexLikeRock_ what next ?00:50
Alverstonekeep trying to update initramfs00:50
Alverstoneuntil it succeedd00:50
Alverstoneuntil it succeeds*00:50
Alverstone /sbin/update-initramfs -c -k $(uname -r)00:51
AlexLikeRock_cool00:51
AlexLikeRock_generating ...00:52
AlexLikeRock_finish.....00:53
AlexLikeRock_non errors!00:53
onefangYay!00:53
AlexLikeRock_undate-grub ?00:53
AlexLikeRock_yes, onefang , finaly !!!00:53
onefangUndating grub would be great.  Think you meant update-grub.00:53
AlverstoneAlexLikeRock_, that's the neat part00:54
Alverstoneupdate-grub must be run on the system which actually installed the bootloader00:54
AlverstoneIt is usually outside of chroot00:54
AlexLikeRock_cool ,00:54
AlexLikeRock_ nice one  Alverstone ,,  the las time , i lost my NEW DEVUAN !!! (-.-)u00:55
onefangReminds me, I need to replace grub on my test computer with syslinux.00:55
AlexLikeRock_update-initramfs -c -k $(uname -r)00:55
AlexLikeRock_update-initramfs: Generating /boot/initrd.img-6.1.0-25-amd6400:55
AlexLikeRock_live-boot: core filesystems devices utils udev blockdev dns.00:55
Alverstoneonefang, can syslinux make me a cool background picture line grub?00:55
Alverstoneonefang, actually what does liveCD iso use?00:56
AlverstoneAlexLikeRock_, updating initramfs on the running system wasn't necessary though00:56
onefangI think it can make a cool background image.00:56
AlexLikeRock_ok,00:56
AlexLikeRock_thanks so much Alverstone ,00:57
AlexLikeRock_what contry you are ?00:57
AlexLikeRock_to send a 12 beer ?00:58
AlexLikeRock_:-D00:58
Alverstone:)00:58
AlverstoneSave it for yourself :)00:58
AlverstoneI understand you have booted right?00:58
onefangI really should update Magic Pixie Dust as well.  My micro SD card that has over 20 operating systems on it.  It's boot image is someone half embedded in a tree, like they live there, like a pixie.00:58
AlexLikeRock_yes, i take of note of everyting00:59
onefangrrq and fsmithred are the people to talk to about the ISOs.00:59
AlexLikeRock_bye, lets   test00:59
AlverstoneI hope he actually boots without issues01:00
Alverstoneonefang, Magic Pixie what?01:01
AlverstoneDo you mean the Pixie Dust used as an ultimate emacs marco?01:02
onefangMagic Pixie Dust.  Coz it's a micro SD card, and it's magic.  B-)01:02
Alverstoneas the ultimate*01:02
onefangThere's over 20 operating systems on it, sure to be several copies of the Emacs operating system on it.01:02
onefangBy default it boots into Devuan.01:03
Alverstonehttps://imgs.xkcd.com/comics/real_programmers.png01:03
Alverstone:D01:03
onefangThought that's what you where getting at.  lol01:04
Alverstonesomehow this joke doesn't age01:05
Alverstonetime to sleep01:07
onefangSleep well.01:08
AlexLikeRocki just come  to say :....01:24
AlexLikeRock not work :-<01:24
AlexLikeRockalverstone ???01:24
AlexLikeRockits gone ?01:24
AlexLikeRock im kiding01:24
AlexLikeRock work fine , and loguin normaly  to X1101:24
AlexLikeRocktell him , if you see : onefang   fsmithred01:25
AlexLikeRock thanks  all01:25
AlexLikeRockbye01:25
onefangThat was too easy.  I wanted to add IPv6 to my home system.  Turned on IPv6 on my router, and everything else just worked.  The desktop was already awaiting IPv6 from the router, and the ISP was already supplying it.  B-)05:11
AlverstoneAre you aware of convenient tools to monitor network activity of a process? Without time gap between the monitored process' startup and the monitor picking it up.16:32
AlverstoneMaybe the word 'convenient' was a bit too much, I admit16:38
WalexAlverstone: 'strace -e trace=network'?17:16
WalexAlverstone: depends on what you mean by "network activity"17:16
fsmithrediptraf17:41
freemwireshark/tcpdump?17:58
cabinhi all18:28
cabinI had a question on setting up boot for devuan install.  documentation is a bit different than options i am presented with18:29
cabinI want to install devuan, from USB Live onto a a singel devoted drive.18:30
cabinIn gparted, do I just try to format the entire partition?  Seems that the chosen default is ext418:31
cabinthen which options do I choose while doing the install.  Let it create a boot sector, or just put MBR onto drive, and format -again the installer wants to first show ext418:32
cabinand I guess I am all alone here.18:33
gnarfacecabin: it's a slow channel, be patient18:34
Walexcabin: the defaults usually work well.18:34
cabinUh,  I have tried creating a boot sector with gparted18:34
gnarfacedoesn't the live iso just magically do it all? i don't think you even have to touch gparted...18:34
cabinthere is one documentation for a grphaical install , and now it asks some questions18:35
Walexcabin: "format the entire partition" and " create a boot sector, or just put MBR onto drive" do not seem entirely clear here.18:35
gnarfacejust click on the installer icon on the desktop18:35
gnarfaceor use the netinstall18:35
gnarfaceyou're making this harder than it has to be18:35
cabinI have tried several options,  as of now, I have to use gparted, install that finished do not start18:36
gnarfacemaybe i'm wrong, does the live iso's installer now require you use gparted as part of the setup? i don't remember hearing that was ever the case but i can't say i've tried itmyself...18:37
cabinI am using a Lenovo T48018:37
gnarfaceis that a UEFI machine?18:37
cabinIt offers gparted, and another, trying to skip over did not work18:37
cabinIt can be, but for now , I have UEFI turned off18:37
cabinor should I say, secure boot in bios is turned off, which in another section of bios shows no uefi18:38
gnarfacewell, it could be related to the issue18:38
gnarfaceyou tried putting the MBR onto the front of the drive?18:38
cabinIf I were going to format the entirety of the drive, should I use ext4, and put an MBR on it.18:39
gnarfacethe MBR can either go onto a partition or onto the drive itself. in your case if this is going to be your only OS on this machine then you want to put it onto the drive itself. aside from that, it doesn't really matter how you partition the rest.18:39
gnarfacebut that assumes the bios can boot in legacy mode and doesn't require EFI18:40
gnarfaceoff the top of my head i don't know if that's the case for this machine18:40
gnarfacebut yes, it should be fine to partition the whole drive as ext4 as long as it's legacy booting18:41
cabinwell I will try again, thank you for your time.  I use this T480 for several LInux Distros ,  that are legacy boot, I can also install Windows 10 which auto turns on UEFI18:41
gnarfaceyou'll probably want a swap partition too though...18:41
gnarfaceif you need to boot in EFI mode then you also need some EFI partition somewhere and i think the bios has to help create it, but i'm vague on details18:41
cabinShould in the list of options, I should choose a second partition for use as swap. I think that is a setting that is offered.   swap, I recall is twice the amount of ram18:42
cabinThere was another graphically installer that apparentlly auto handled this18:43
gnarfaceit doesn't really have to be, but if you want hibernate to work it should be at least the same size as the ram or bigger18:43
gnarfaceusing zram for swap instead is also an option18:44
cabinI actually only intend to use Devuan to flash another computer with core boot ,  eventually touse for Qubes, OS, and then I will instal Qubes onto T480, which is what it had on it previouslly18:44
gnarfacebut then you give up ram instead of harddrive space18:44
cabinI will go to try the options mentioned, which might take awhile.  I am glad ofr your help18:46
gnarfacestay connected here in case you have questions18:46
cabinOh unless someone wants to say something about the flash I intend.  I intend to use the coreboot flash of bios chips, from dangerousprotypes for a lenovo G505s18:47
gnarfacelike i said, it's a slow channel, so you should stick around for answers to questions like that18:48
gnarfacesomeone might know something but not read this for a few hours18:49
golinuxcabin: Have you checked the instructions on the Devuan website? https://www.devuan.org/os/documentation/install-guides/daedalus/live-gui18:55
golinuxYou might also have a look at https://refracta.org/documents.html18:56
golinuxfsmithred is mostly afk for a few days . . .18:57
golinuxbut will help sort things if/when he pops in.18:57
Alverstoneiptraf, wireshark, tcpdump are all quite spammy unfortunately. I just want to see which domains an application contacts during its operation19:03
gnarfacethey have filters19:04
AlverstoneBy PID?19:11
Hurgotronstrace -e trace=network <program>    maybe?19:14
AlverstoneHurgotron, output isn't terribly useful unfortunately19:16
gnarfacewhy not?19:17
Hurgotronmay need a few more options19:17
cabingparted addresses the drive as Sda1,  offers to install to sdb1 or sdb2, I see error message, failed to channge ownershiop of '/target/dev/console' to root:tty gailed to shange ownerhsip of '/target/dev/ptms   the documentation shows a graphcial installer that does not come up, documentation shows installer like a lot of other linux distros installers I have seen19:17
gnarfacecabin: first of all make sure you're not trying to partition the live iso you just booted from, and secondly, that documentation you're referring to is most likely talking about one of the regular installers, not the live iso19:19
gnarfacecabin: this is probably what you actually want: https://files.devuan.org/devuan_daedalus/installer-iso/devuan_daedalus_5.0.1_amd64_netinstall.iso19:19
cabinyes, I will try netinstaller19:20
gnarfaceit's based on the debian netinstaller and should work almost identically19:20
metalaNo Devuan question per se. I want to make link aggr/bondage on unmanaged switch. If I set bond0 with balance-rr, I assume it's a single MAC => SW will spill in both ports, defeating the idea. If instead set both interfaces to the same IP, would they start fighting with ARPs? More importantly, would network peers see them as different hosts or would they load balance the packets towards that IP?19:23
metalas/No/Not/19:23
gnarfacemetala: i don't off the top of my head know the right answer, but i think the keyword you need to use in your searches for documentation on what you're trying to do is "trunking" and the mystery you're trying to resolve about it that you need ISP support upstream of you to make it work19:25
gnarfaceand afaik, iproute219:26
gnarfaceunless i misunderstand what you're getting at entirely...19:27
metalagnarface: thanks. I will check the trunking part i nthe documentation. This is more of a local/SOHO thing. My desktop machine (not upgradable) has 2x1GbE and I have 2 machines with 2.5GbE. I will also do some experiments to see what works.19:28
gnarfacemaybe what you're trying to do is actually like BSD's "CARP" but i'm not sure here... are you trying to make two computers look like one network device or are you trying to get two network connections to act like one network connection?19:30
gnarfaceugh, even as i say that my own description fails to parse out those two tasks as distinct19:31
gnarfacethey are though, there's a fundamental difference but i'm vague on the proper terminology19:31
gnarfacethere's one thing called trunking or maybe bonding19:32
gnarfacethat uses two network connections19:32
gnarfacethen there's this other thing where you set up redundant routers on one network connection, with load-balancing and failover19:32
metalaNot an HA scenario, no. It's about throughput. Theoretically, the switches can do that traffic, but on one machine (S1) I have only 2x1GbE NICs. Therefore I can have full-duplex full channel if the 2.5GbE hosts would round-robin the packets to S1 NICs based on MAC.19:33
gnarfacenever had a chance to set up either myself, but if you're doing this all entirely within your lan maybe that obviates some of the problems19:33
gnarfacehmm, ok that kinda sounds like trunking but if you're just doing it locally inside your LAN maybe that doesn't need ISP support19:34
gnarfacebut you might need to do some fancy stuff at your router still19:35
metalaonly switching, no router needed.19:35
metalaI guess I will experiment. If I have something interesing as a result I might post it in dev1galaxy19:36
gnarfaceyea, lets us know, sounds interesting... and if you can, stay connected in case someone around here reads this later and has better answers for you19:36
metalaI will keep an eye. Thank you.19:37
gnarfacemetala: oh, i remembered another search term for you to try, see if this looks related to what you're trying to do: "equal-cost multi-path routing"19:39
gnarfacei think that might be able to accomplish what you want without having to double-dip IP or MAC addresses19:41
metalainteresting. I will definately look into that.19:41
metalait's routing, though, but nonetheless it's interesting read.19:43
gnarfacewell, i think that at least with a dumb switch anyway, you might still need something on the LAN acting as a router to manage the traffic flow even if you're not actually passing any of it to an uplink19:44
gnarfacebut maybe that can be the same device as the one with the two network cards, not sure19:45
gnarfacebut i think it fits the feature profile of having one link just for outbound packets and the other link just for inbound19:46
gnarfacebut in that situation i believe they still each get their own mac and ip addresses19:46
gnarfacelike i said though, this is beyond the scope of my direct experience, just some stuff i had started looking into a long time ago in preparation for a business endeavor that never materialized19:47
metalaI might have found it. https://www.kernel.org/doc/Documentation/networking/bonding.txt19:49
gnarfacehmm, source looks legit anyway19:49
metala> balance-alb or 6 => Adaptive load balancing: includes balance-tlb plus receive load balancing (rlb) for IPV4 traffic, and does not require any special switch support.19:49
gnarfacehmm, cool19:50
metalajust to keep you updated, it seems to work, partially. Throughput: 1.7G tx and 0.9G rx. Also mate-session network manager cannot handle it well.22:12
metalait could be router's switch or the SFP... I will see when I get the other 2.5G switch with SFP+.22:14

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!