libera/#devuan/ Sunday, 2020-09-06

masonlamermaster: There are bears about, and they've attacked our chickens, so they've been demoted from free range chickens to free range while we're outside with them. Not as good, but safer.02:39
golinuxYour presence would stop a bear?   (Was going to move to OT but you're not there . . . )02:41
masonYep. I chased a big one off. He probably didn't realize I was probably more scared than he was, but there's willpower for you. :P02:41
mason(They're black bears around here, not the grizzlies other parts of the country have. A grizzly wouldn't be impressed.)02:43
masonI'll go back into -offtopic, but I don't much want to linger there if it's going be the same right-wing stuff that made #debianfork unpalatable.02:44
GNUmoon2Hi all, I hope you can help me. I'm trying out devuan (using net install iso) on a system76 laptop that is connected to the wired lan. I've confirmed it has internet access by going to the shell and wgetting a file.04:28
GNUmoon2However, when I try to detect disks, the installer complains that it needs non-free firmware files to operate.04:28
gnarfaceGNUmoon2: does it actually complain that you need them or is it just asking if you want to include any?04:29
GNUmoon2namely iwlwifi-9000*.ucode files. I select No to loading the missing firmware, but I cannot proceed anyfurther.04:29
gnarfacewell, what's interesting about that is it is wifi firmware04:30
gnarfaceso you shouldn't need it to install if you have a wired lan connection already04:31
gnarfacealso, i thought the netinstall already included that firmware anyway... weird it would be complaining04:31
GNUmoon2gnarface: Hi, it is asking to load them, I select No, no other complaints and it goes back to the install menu.04:31
gnarfaceoh, well maybe that's fine then.  select the next item in the menu and pretend like nothing happened.  see if it works.04:32
gnarfaceyou just won't have wifi04:32
GNUmoon2Oh the strange thing is that it asks twice. I select No to loading the firmware, then the same menu appears again.04:32
gnarfaceyou can always add it again later if you change your mind04:32
gnarfaceit might ask again for bluetooth04:33
GNUmoon2That's the weird thing, I'm selecting "Partition disks" and it asks for the wifi firmware...04:33
gnarfacetheres's some combo wifi/bluetooth devices that show up as two devices, might explain it04:33
gnarfaceyea, that is weird i agree04:33
GNUmoon2oh, i see.04:33
gnarfaceyea there's several possible explanations for all this behavior so far that you've described, and the most likely one is just that it is normal04:34
gnarfacemaybe it detects the wifi device, then the harddrives, then the bluetooth04:34
gnarfaceor something like that04:34
gnarfacebut it shouldn't matter04:35
GNUmoon2oh oka.04:35
GNUmoon2ha, now I can see the partitions! I did select no to the wifi firmware twice, but I got kicked back to the main menu without the partition info previously.04:36
GNUmoon2Thanks gnarface!04:37
gnarfaceno problem GNUmoon2.  that is expected behavior.04:37
gnarfacewhenever you get kicked back out to the main menu again, often that's all there is to do with that menu selection and you can just go to the next item manually04:38
GNUmoon2This is my first time with Davuan/Debian so not sure what to expect :)04:38
gnarfaceyou can also safely re-do many of the steps, or even do some of them out of order, or skip others.  if you know what you're doing, the dumbness of the tool can grant you creative flexibility04:38
gnarfacefor the most part it behaves identically to the debian installer with minor changes04:39
GNUmoon2nice, thanks04:39
GNUmoon2Another question. I'm going to do full disk encryption, (https://devuan.org/os/documentation/install-guides/beowulf/full-disk-encryption). Is there any Devuan guide on using a USB with the key-file for decryption instead of the passphase?04:42
yanmaaniGNUmoon2: what some people do is they have the header on the USB stick04:46
yanmaanialthough keep in mind flash drives are usually not great in durability04:46
yanmaaniYMMV04:46
GNUmoon2I see.04:47
GNUmoon2So using the command "cryptsetup luksHeaderBackup /dev/sda --header-backup-file /mnt/myusb"?04:49
GNUmoon2or I'm on the wrong track?04:49
* gnarface doesn't know04:50
yanmaaniGNUmoon2: To put it more bluntly, I would not do that. It can break and then your entire device is fucked04:51
GNUmoon2yanmaani: yeah, that's the risk. security vs convenience/reliability04:53
GNUmoon2I think I'll have a go at the standard disk encryption approach and see how the whole Devuan experience goes :)04:54
masonAh, he left.05:09
masonSomething to recommend to people is to set a key they can type in, and other for the USB key to automatically decrypt.05:10
masonLUKS1, you get four key slots. LUKS2 is... 20 or something? I don't know.05:10
masonBut then if your USB stick with key data dies, you're not hosed and you can just make another one. All you lose is automatic unlocking.05:11
masonSame if you ever simply lose it.05:11
lamermaster~~~~~~~~~~~~~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~;5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~09:17
lamermaster#09:17
HumI try to configure to have many resources on my local computer like kiwix and dwww. See <https://friendsofdevuan.org/doku.php/user:hum/self-reliance> for details. Do you know a search-engine that needs few resources and is easy to configure? yacy is too slow when it get to 1 mio Links, at least on my hdd. I have no SSD. I don't think of a desktop search, I like to have access using http(s). Any hints?12:20
luser978htdig?12:30
luser978Hum12:32
Humluser978: Thx I'll  have look.12:37
Dannyhi all13:22
Dannyi'm having some trouble writing the iso image to a usb13:22
Dannycan anyone help?13:22
gnarfaceDanny: using dd?13:23
Dannyi tried dd and mintstick13:24
Dannyit completes the task and all but as i boot it just doesn't detect the stick anymore13:24
gnarfacedon't specify a block size with dd, and run "sync" afterwards13:24
gnarfaceand make sure you unzipped the image first13:26
gnarfacethose are the 3 leading causes of failure13:26
Hurgotrongnarface: interesting. I never had issues by specifying blocksize. And ihere are any, they should be at the end of the image, while the boot block is at the start.13:27
Hurgotron*if there13:27
Dannythis is the *desktop.iso13:27
Dannyi tried the *desktop-live.iso too13:28
gnarfaceHurgotron: seems to be a hardware specific failure for extra large block sizes (> 1MB)13:28
Dannythat one went further13:28
Hurgotrongnarface: OK, I'll keep that in mind. 1 MB is what I usually specify to speed up things and avoid wear on flash13:29
gnarfaceHurgotron: it will actually in most cases do neither of those things13:29
gnarfaceHurgotron: it will in most cases do nothing at all13:29
Dannyi managed to select i think the first option while booting that and the desktop never appeared13:29
Hurgotrongnarface: the speed difference is very noticeable every time I forget it :)13:30
gnarfaceHurgotron: if you're reading *from* usb or sd flash, you might benefit from a increased blocksize, maybe13:30
Hurgotronah well, benchmark time13:31
gnarfaceHurgotron: if you're writing *to* flash though, you won't be able to sustain the types of speeds that would benefit from it13:31
gnarfaceHurgotron: you might even slow it down13:31
Hurgotrongnarface: https://bpa.st/FI6A13:45
Hurgotronadmittedly, the difference is less big than I thought, but that definetely will be hardware-dependent.13:45
Humxz -tv devuan_ascii_2.0.0_armel_raspi1.img.xz # Get the size of the image13:52
Humxzcat devuan_ascii_2.0.0_armel_raspi1.img.xz | pv -s 1891M > /dev/sdX # replace X with the sdcard13:52
HumJust another way to write an image to flash13:52
Dannyso i try to start devuan-live from the bootable usb and it just stops after an error i think13:55
Dannyit says IPv6: ADDRCONF (NETDEV_UP): eth0: link is not ready13:55
Dannythen it goes to a console13:56
Dannywhat can i do about this?13:56
Dannycool14:03
lamermasterOk, I found a possible workaround to have no xset, here a little fork (xsetfork.c): https://termbin.com/pv0o14:04
lamermastercool, glad to see that you use devuan on raspberry.  you will have to modify the size of partition, because devuan image is too small.14:06
lamermasterI use sda1 sda2 with the kernel on sda1 as fat, and sda2 is a new partition with about 30gb to hold devuan for raspberry (on sanedisk usb).14:07
lamermasternot working dpms14:26
buZzHum: i like dd status=progress , instead of pv14:29
lamermasteron old unix, progress is not there.14:31
buZzlamermaster: i dno how old cause debian stable has it14:32
lamermasterhi... does linux-image-i386 exist in the packages?`15:00
fsmithredlamermaster, there's linux-image-686 and linux-image-686-pae15:06
lamermasterI install by hand15:19
lamermasteris there a vmlinuz 686 from an http?15:19
lamermasterI just need the file and the modules15:19
lamermasterok, I took vmlinuz and linux modules from the following deb:  wget -c http://http.us.debian.org/debian/pool/main/l/linux/linux-image-4.9.0-13-686-pae_4.9.228-1_i386.deb15:34
lamermasterand I installed the i386 on /target (destination) with :  debootstrap  --no-check-gpg  --foreign  --arch i386 --include=wpasupplicant   ascii  . http://pkgmaster.devuan.org/merged15:35
HumbuZz: Yes, as you write it, I use status=progress more often then pv. In past I also used ddrescue until I found status=progress15:42
fsmithredlamermaster, sorry, I was afk. Maybe you want hd-media files? https://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-i386/current/images/16:08
systemdlete2Scary experience just now.  My beowulf VM froze up (somewhat); Was able to get a console (which was also slow).  Logged in and killed firefox-esr.  When I returned to the desktop, not only was firefox gone, but so were 2 shell windows I had had open.18:34
systemdlete2I've been experiencing freeze-ups with beowulf frequently, at least in a VM.  My testbox running beowulf (as host, not VM) doesn't seem to have these issues, but I am not entirely sure if I am comparing them fairly.18:35
systemdlete2Both are updated and upgraded.18:36
systemdlete2Now, I had been trying to close firefox, thinking that was the only app running on the desktop (besides the two shells, which use far less resources).  It would not close, and by then, the clock (mine shows seconds) was frozen, which was when I resorted to the console.18:37
ErRandirFirefox probably ate all your memory and you ended in swapping hell. To confirm checkout the load with uptime. Next time run it with a ulimit -v limit or turn off swap.18:46
systemdlete2That's what I'm thinking also.  I was trying to compare speed test sites, and a couple of them, despite claiming they don't use js, are full of...18:50
systemdlete2(that brown stuff)18:51
systemdlete2Swapping hell might help to explain why the shell windows disappeared I guess.18:51
systemdlete2They probably got starved for memory also.18:52
systemdlete2This firefox heck is repeatable.  Very repeatable.18:52
systemdlete2Thanks ErRandir.  I'll look at it.  Though I'm not sure what to do about it other than confirm, once again, that ff is a pig18:52
systemdlete2(some websites more than others also)18:53
HumanG33khi from a rescue boot and chroot there is a wa yto get last try to startup logs ?20:12
lamermasterinteresting, this kernel of arm runs faster than devuan.  https://www.brobwind.com/wp-content/uploads/2019/01/2019_01_25_rpi3_a586f2b.bin.gz  perfs are quite good, devuan is not faster.20:25
rwpsystemdlete2, Also check if the OOM Killer (out of memory killer) triggered and killed anything important.  Check the system logs for kernel space logs of oom killer actions.20:33
rwpsystemdlete2, I would also use 'vmstat' to look at the si/so fields and see if they are higher than 2 and if so then swap thrash is happening.20:35
rwpRemember than when the kernel OOM Killer strikes the application getting killed has no ability to react.  It's just a "kill -9 $pid" equivalent action.  The process is removed.20:37
rwpI like to watch the 'htop' live bar graph of memory usage when testing memory intensive applications like web browsers.  Useful information.20:37
rwpHumanG33k, Yes.  Logs will be in /var/log/ directory.  If you have 'bootlogd' installed then it will save the boot logs to /var/log/boot file that you can browse.  Otherwise just the standard logs.20:38
HumanG33kthx rwp i just install bootlogd i hope i can have a more verbose output20:39
lamermasterthis is p�s.c to do it without hop and even ps ;) https://termbin.com/gwkb  (ps.c)20:42
rwpGood luck HumanG33k!  Since you are rescue booting I assume you are fighting with a problem there.20:42
HumanG33kyes i m ^^20:43
HumanG33khumm i have WARNING: Device /dev/ram8 not initialized in udev database even after waiting 10000000 microseconds.20:48
HumanG33kwhen i try to update-grub2 any clue ?20:49
rwpSorry.  Not a clue about /dev/ram8 not initialized.20:49
HumanG33kit s not only 8 but look like it s a loop20:50
HumanG33k^^20:50
rwpI miss the previous simplicity of grub v1 where I don't remember having any of the problems with the current grub v2.20:51
rwpgrub v2 does more dynamic automatic probing, and often gets things wrong. :-(20:51
rwpYou might try saving the output to a pastebin and then posting a link and seeing if a second eye from anyone here sees something?20:52
HumanG33kfor now i just try to debug a little more20:53
HumanG33kmaybe i miss a service startup on the chroot20:53
rwpHmm...  Initializing /dev/ramX in a chroot?  That seems wrong.20:55
rwpIn the chroot are you mounting the live /dev so that the devices from the hosting system are available?  I generally "mount -o bind /dev /srv/chroot/ceres/dev" or similar.20:56
rwpThat's just an example for a concrete discussion and of course needs to be different in other environments.20:56
rwpThe /dev is almost always required in a chroot.  /proc sometimes depending upon the applications being run.  Other directories such as /sys maybe depending upon how invasive the program is.20:57
HumanG33kmount --rbind /dev $TARGETDIR/dev20:57
HumanG33kmount --make-rslave $TARGETDIR/dev20:57
rwpI don't know anything about those options.  Probably appeared after I already learned older ways of doing things.  Sorry. :-(20:58
HumanG33kno trouble20:58
HumanG33ki will retry pretty sure the good old option work better as always this days20:59
rwpReading the docs...  --rbind will not be needed for /dev since there are no recursive bind mounds below it.20:59
rwpThere is /dev/shm which is a tmpfs but that has never been needed by me.21:00
rwpThere is /dev/pts which is used by dpkg but I just ignore dpkg whining about it.  It complains but does not really need it.21:00
lamermasterIs XFS better than EXT4?21:01
rwpBetter?  That depends upon the workload.  There are no absolute rules.  Including this one.  :-)  But I am using xfs most places.21:01
HumanG33kme to, and agree for rules.21:02
rwpxfs is *different* from ext4.  Most of those differences I prefer.  Some of those differences are negatives but I avoid those and enjoy the positives.21:02
lamermasterwhat is negative with XFS, for instance? I am new to xfs.21:02
rwpMost things about xfs are positive good things.  It effectively has a built in fsck so that one never needs to do an external fsck.  Mostly.  Therefore crash recovery is always faster than with ext4.21:03
rwpI had to say something good before the bad.21:03
rwpext4 handles incrementally increasing the file system size better.  Such as with lvm and using lvextend to incrementally increase the size of the file system.21:04
rwpWith xfs the allocation strategy defeats adding small incremental amounts.  In xfs the allocation plan is to divide the entire space allocated into quads.  Then allocate among the quads.21:05
rwpIf one then adds a very small incremental chunk, that is also divided into quads.  And then allocation from there when needed.  Which is not so efficient.21:05
lamermasterwhat is more stable for a fileserver running NFS (server) ? xfs or ext4?21:05
rwpTherefore adding small incremental amounts to xfs is not good for file system block allocation efficiency.  I avoid it.21:05
rwpPerfectly good to double the size of an xfs file system however.  Doubling is almost always almost an excellent performance plan.21:06
rwpI have no problems over NFS for either ext4 or xfs.  So have nothing from there to pick one or the other.21:06
rwpDo you use file ACLs?  For whatever reason in some Linux kernels I have turned up some file ACL issues with both xfs and ext4 that I haven't been able to reduce to root cause yet.21:07
rwpTherefore I suggest that if you are using those over NFS that you specifically test that functionality to ensure that it is not a problem for you.21:08
rwpAs I said it has always worked okay but then I tripped over some specific version problems where it works fine on one kernel but not in another.  And I haven't been able to conclude on the actual problem yet.21:08
lamermasterI have a lot of small files, but sometimes about 5-6 GB files.21:09
HumanG33kif you have ressources make capacity planning/test and run for finding the best for you21:09
rwpNFS has many advantages. Such as being about the most well used network file system. But network file systems are higher latency.21:09
lamermasterWith sync, it is slow, but more reliable. async too risky.21:10
rwpLatency over NFS has been something we have been suffering through forever.  And often modifying our work flows to avoid it.  Working in /tmp and so forth.21:10
rwpWe have always used async.21:10
rwpMost of my work experience is in technical environments.  VLSI chip design labs.  Places like that.21:11
lamermasterI lot data with async,... large files mostly.21:11
rwpNot working in a financial institution doing money transfers or anything.21:11
rwpWhen people worry about reliability of sync versus async one must also be aware of the environment in which it is being used.21:12
rwpWhen we are doing things like circuit simulations we do hundreds of thousands of them.21:13
rwpIf on a particular day the power to the building fails, the backup power UPS units drain, and the systems are forced to shutdown, we will lose those running jobs regardless of the setting of sync.21:13
rwpSo we would rather have the much higher performance of async to get more jobs done while the power is on.21:14
lamermasterOn bsd, I see also : ffs, mfs, udf. there are plenty of choices.21:18
rennjopenzfs be done with fsck21:19
rennjand perhaps in the future work across winblows,crapple,linux,bsd's,opensolaris even..1 fs for all21:20
lamermasterzfs is too heavy for ARMs boards.21:20
rennjsend/recv import21:20
rennjcouple TB in 1GB of ram so ive read..21:20
rennjarc zil and such yeah hybrid storage21:21
masonrennj: Hey, what are you doing in here? o/21:37
masonlamermaster: zfs is okay on ARM. If you've got a gig of RAM you can make it work.21:38
lamermasterthank you21:44
lamermasterlot of choices21:44
rennjembedded nand and stuff jffs2 or it that nor...i forget21:51
rennjnand vs nor..fs choices21:51
brocashelmwhat's a good minimalist graphical browser on a devuan desktop running a pentium-era cpu? i checked out netsurf and qutebrowser21:51
rennjwear leveling and all21:51
rennjJFFS2 replacements: LogFS, UBIFS, and YAFFS21:53
Humbrocashelm: depends on the website, imho. Some sites browse well with netsurf, other need a firefox like engine. Some sites have a nice text/lynx mode, if it fits to you, e.g. https://reiseauskunft.bahn.de/bin/query.exe/dl21:53
lamermasterI used JFS but once it crashes, good luck, it takes ages to recover and to boot the machine.21:53
Humlamermaster: btrfs! ;) If you have database-like workloads, the COW is hell and you should disable it and have no advantages about ext4 ;)21:55
Humbut otherwise I like it :)21:56
lamermasternever heard of btrfs :(21:57
Humsimilar to zfs but in the kernel and the fs of the future for ten years or something like that. Now we are getting slowly into future, since btrfs is used in some distros by default. See wikipedia: https://en.wikipedia.org/wiki/Btrfs or for details https://btrfs.wiki.kernel.org/index.php/Main_Page22:00
rennjredhat is certainly pushing it22:02
rennjubuntu has openzfs fu..22:02
rennjsuse what are they pushing22:02
Humrennj: redhat is pushing btrfs back, imho, to sell their own solution22:03
Humdid redhat change their way?22:03
Humhttps://en.wikipedia.org/wiki/Btrfs#Commercial_support22:05
Wonkaweeeell, I'm hearing about fucked up btrfs instances often enough22:05
WonkaI wouldn't want to use it currently22:05
HumHi Wonka: Yeah, me too, when I read my screen messages loudly. But I haven't problems for one or two years, even if I filled my partitions totally22:06
rennjwonky world..haha22:06
rennjso redhat is not pushing btrfs but oracle is22:06
rennjmeh..data loss perhaps on customers22:07
Hum"In 2020, Btrfs was selected as the default file system for Fedora 33."22:07
rennjhttps://access.redhat.com/discussions/313823122:07
masonJamie's commentary is the take-away of that discussion.22:11
rennjwell fedora is suppose to be upstream right22:14
rennjhehe22:14
rennjyeah22:15
rennjthe beta alpha bits of fufture redhat22:15
Hum[1] (sorry german article) from 2017 states that Red Hat will buy permabit and will get access to cloud storage solution(s) with data deduplication and compression. [1] https://www.golem.de/news/rhel-7-4-red-hat-beendet-unterstuetzung-fuer-btrfs-1708-129266.html22:24
HumanG33kone step at time everything becoming "open source"22:24
HumHumanG33k: even your genome?22:25
HumanG33k(not so usefull except if you have $$)22:25
HumanG33khum not pretty sure dna base storage are patent22:26
Humopen source doesn't need patents at first, only copyright. idk how the legal situation about that is22:27
HumanG33kopen source vs free(dom) software22:28
phoggit's literally the same thing22:29
HumHumanG33k: I like the story about OpenStreetMap: A guy respects the copyright of google maps and creates a libre solution. Google needs to lower the price of Google Maps :D22:29
Hum"free(dom) software" is a nice solution to emphasize the core meaning of libre22:30
HumanG33kbtw it s a complex question in a complex world.22:30
rennj"Give 'em the razor; sell 'em the blades"22:35
rennjthe os is free, just buy this hardware22:35
buZzHum: did you see that google was busted a bunch of times, making malicious edits on OSM22:35
buZzHum: they switched directions on one-way streets in london, completely breaking navigation for a while22:36
HumbuZz: No, I didn't read about it.22:38
buZzi follow #osm for a while now, since i worked in GIS for a while22:38
buZzhttps://www.wired.com/2012/01/osm-google-accusation/22:39

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