libera/#devuan/ Thursday, 2020-09-10

SuaveDandyAre the spaces before ; something mandatory tho?00:01
SuaveDandyNot familiar with bash scripting00:01
fsmithredno, not mandatory there00:01
SuaveDandyI'm used to be a programming student so I thought…00:02
fsmithredthe spaces inside [  ] are mandatory00:03
SuaveDandyTested it.00:03
SuaveDandyEchoing it does not.00:03
fsmithredno output means it's not a block device00:04
fsmithredyou would need to comment out some lines in the script to skip that test and the next one00:04
SuaveDandyWhat script are you referring to?00:05
SuaveDandyThe one that mason has?00:05
fsmithredno. /usr/bin/refractainstaller00:06
SuaveDandyOh.00:06
SuaveDandyWhat lines tho?00:07
fsmithredhang on00:07
SuaveDandyI'm having a notepad ready.00:08
fsmithredI'm going to paste it for you. Will have a link in a minute.00:14
SuaveDandyYou're pretty fast. Thought you'll be searching for an hour or two seeing how big of a work you made on that script.00:16
fsmithredhttps://paste.debian.net/1163235/00:17
fsmithredbeen working on that script for 10 years. I kinda know my way around it.00:18
fsmithredif you can stand to look at the extra output, run it as 'refractainstaller -d' so you get a more verbose log.00:19
SuaveDandyfsmithred: Thanks. Will add it to a note and do all that later today. I need to get some sleep.00:28
SuaveDandyfsmithred: I think if you added the option to install directly to /mnt to the installer, it would help others who'll run into the same problem.00:32
SuaveDandyBecause oh, boy, way it a bumpy ride.00:32
SuaveDandy*was00:32
SuaveDandyThat was my choise to install Devuan on ZFS, I guess.00:33
rennjwith zfs on root now you all need is the bootadm/beadm. and updates and reverting become nothing but zpool snapshots01:37
rennjhttps://pasteboard.co/Hhq8gOv.png 1000pkg updated..but i could always revert01:39
rennjdiff between releases01:39
rennjfreebsd i think has beadm ported01:41
rennjwonder if ubuntu has something like that..since they got the zfs kernel module01:42
rennjhttps://www.freebsd.org/cgi/man.cgi?beadm01:43
masonrennj: They have bectl in base and beadm in ports.01:44
systemdlete2libsnmp30 depends, in part, on libsensors5?   Is this so mail servers can detect if a message is hot and get special priority?04:47
systemdlete2Tell the truth.04:48
furrywolfis that commentary on excessive dependencies?  :P04:49
systemdlete2I have no idea, actually.04:49
systemdlete2Anyone?04:55
systemdlete2I mean, I've got plenty of diskspace, so there's no reason for me NOT to download every last package in the repo.  Then I would never need to worry about missing dependencies, although upgrades would take a lot longer.  With Covid-19 keeping me grounded, I've got lots of time and plenty of electricity for this.04:56
systemdlete2Please, somebody.  Talk me out of this.04:57
fsmithredtalk you out of installing everything?04:58
yanmaaniyou'll get conflicts04:58
fsmithredDon't install everything!!!04:58
yanmaaniAlthough I wonder what'd happen if you did sudo apt-get install -y *04:59
fsmithredinstall what you need. If you want to keep it lean, exclude Recommends04:59
systemdlete2Why would libsnmp30, which I think has to do with email and email servers, depend on hardware sensors?05:00
yanmaanijust gives "you've held broken packages" error05:00
yanmaanisystemdlete2: look on the package info site05:00
systemdlete2And why am I suddenly getting withheld packages?   Why, what did I do?  I've been faithfully updating and upgrading, minding my own business.05:00
systemdlete2Is apt-get demanding a ransom I don't know about?05:01
systemdlete2If I broke something, I'll pay for it, I promise!05:01
systemdlete2apt full-upgrade seems to resolve whatever issues it had.   It will remove packages that would cause a conflict, which apt upgrade should be doing in the first place.  Unless one prefers broken configurations I guess.05:12
systemdlete2A package management system is useless if it does not ALWAYS enforce consistency across package dependencies.05:13
systemdlete2yanmaani:  Do you mean https://pkginfo.devuan.org/stage/beowulf/beowulf/libsnmp30_5.7.3+dfsg-5.html ?05:23
systemdlete2Oh.  My bad.05:24
systemdlete2snmp, not smtp.05:24
systemdlete2Still, I don't get why upgrading packages would not, by default, modify or remove or add packages as needed.  It even tells you before you agree that it will be doing those things, so what is the difference?05:25
systemdlete2Is there any reason not to use "full-upgrade" rather than "upgrade" -- will it introduce problems that plain "upgrade" will not?05:25
yanmaanisystemdlete2: I recall being recommended to do upgrade first, then dist-upgrade05:26
systemdlete2dist-upgrade does something else entirely.05:26
systemdlete2Not what I want.05:26
yanmaaniwhat do you want?05:27
systemdlete2full-upgrade, it seems.05:27
systemdlete2doesn't dist-upgrade take you to the next release level or something?05:27
systemdlete2like ascii -> beowulf, e.g.05:27
systemdlete2(I DON'T want that!)05:28
rrqno dist-upgrade stays with the sources.list points06:37
GNUmoonStill trying to get thunderbolt 3 dock working with devuan. Just used a live image of Pop!OS and the secondary screen came up straight away...13:54
GNUmoonUses older kernel 5.4.13:54
GNUmoonLogs a bit harder to read, given systemd...as no Xorg.0.log or messages.13:56
GNUmoononly obvious difference is bolt version on Pop!OS is 0.813:57
GNUmoonDevuan is at 0.7.13:57
djphthat might do it13:57
GNUmoonI've added backports and experimental to sources.list, but nothing newer.13:57
GNUmoonDo I need to compile from sources?13:57
GNUmoondjph: yeah, its the most obvious thing to fix next :)13:58
GNUmoonI hope it works.13:58
djphme too :)13:58
fsmithred0.9-1 is in chimaera/ceres.14:03
GNUmoonfsmithred: so do I just add "deb http://deb.devuan.org/merged chimaera main" to the source.list?14:07
fsmithredthat would be risky14:07
fsmithredmaybe download the package from packages.debian.org and install with dpkg -i14:07
fsmithredor if you want to backport it, pull the source package with apt14:08
fsmithredDepends: libc6 (>= 2.28), libglib2.0-0 (>= 2.56), libpolkit-gobject-1-0 (>= 0.99), libudev1 (>= 183)14:08
fsmithredgood chance it'll work in beowulf14:08
GNUmoonfsmithred: thanks, I'll try the dpkg -i approach first.14:09
GNUmoonIs there a guide for "...backport it, pull source package with apt"?14:10
fsmithredyeah, I think I can find it14:11
fsmithredhttps://wiki.debian.org/Packaging/SourcePackage14:13
GNUmoonfsmithred: Thanks, I'll check it out.14:17
ham5urgHas anyone worked with jq? How do I escape a json list to a single line for use in bash?14:56
r3bootjq -c14:59
ham5urgecho `jq -rc .packages <<< $SERVER` gets me ["pkg1","pkg2"...]15:01
ham5urgI would need pkg1 pkg2 ... without escapes and commas.15:02
zatumil<<<'["pkg1", "pkg2"]' jq -rc '.[]' -15:07
ham5urgThanks15:15
SuaveDandyDoes anyone know what "blockdevice" means in "od -j containersize - blocksize" on this ArchWiki page: https://tinyurl.com/dmcrypt-wipe ?17:37
SuaveDandyYes, I'm wiping with dm-crypt.17:38
MinceRwhatever the block device you tried to wipe was17:39
SuaveDandy*blocksize17:39
SuaveDandyAccidentally wrote "blockdevice."17:40
fsmithredSuaveDandy, there's more to exclude from my script if you want to use it. (it tries to mount stuff)17:40
SuaveDandyOhhhhhhhh…17:41
MinceRdunno17:41
SuaveDandyGood that I haven't started the installation yet.17:41
SuaveDandyDo you have the lines stored at paste.debian.org ?17:42
fsmithredno17:42
fsmithredRemove lines 1113-117717:42
fsmithreduh, that only works if you didn't remove the other lines17:43
SuaveDandyAlright. I'll add that to my note.17:43
SuaveDandyOh.17:43
SuaveDandyHere's the lines you gave me. https://paste.debian.net/1163235/17:43
fsmithredfrom this comment: # make mount point, format, adjust reserve and mount17:43
SuaveDandyI saved it in a note-taking app.17:44
fsmithredto these lines:17:44
fsmithredmount $boot_dev /target_boot17:44
fsmithredsep_boot_opt="--exclude=/boot/*"17:44
fsmithredfi17:44
fsmithredalso17:44
fsmithredyou told me two volumes that are mounted at /mnt. It doesn't work that way.17:45
fsmithredI assume you have to install everything to one partition and zfs figures it out. Otherwise, I have no idea what it means.17:45
fsmithredor you move stuff manually afterward17:46
SuaveDandyZFS uses two partitions as two pools.17:46
fsmithredif you mount two devices at the same mountpoint, you only see the second one. I can't get my head around what you're saying.17:46
SuaveDandyfsmithred: Here's the whole documentation. https://tinyurl.com/zfs-on-root17:48
fsmithredoh, you might need to add -X to the rsync command.17:50
fsmithredI see xattr mentioned17:50
SuaveDandyWhat about the lines to delete?17:52
SuaveDandyDo I delete the lines you sent me before or the lines you sent me now?17:52
fsmithredboth17:53
fsmithredyou said you created the mountpoints and mounted everything manually, right?17:53
fsmithredthat's what the second group of lines does, but not the way you want.17:54
fsmithredand just so you know, I'm not able to read that page and then tell you what you're supposed to do.17:55
fsmithredI would have to actually do it myself.17:55
SuaveDandyAlright. I'mma try using debootstrap again. This time not using --include and --exclude17:56
fsmithredthat's probably easier17:57
SuaveDandyThis is my last chanse. After that I give up.17:57
fsmithredless chance of having to re-do it17:57
SuaveDandySuch a shame ZFS uses CDDL.17:58
SuaveDandyWe have to go through all of this because of that17:58
SuaveDandyOracle are big meanies.17:58
SuaveDandyAlthough I heard it's because the OpenZFS team can't find some devs to sign for the change of license.17:59
SuaveDandySome gone, some dead.17:59
nemodoes anyone have recommendations for fixing the AMD rdrand bug on Devuan Beowulf?18:29
nemoI'm thinking I probably should be asking this in #debian18:29
nemobut figured I'd check in the channel I'm idling in first18:30
nemofollowed some instructions months ago, that did not fix it18:30
nemothankfully it is not as serious on devuan as on systemd distros. just kind of annoying in qt apps18:30
DHEso I run a different distro but had an rdrand issue with a ryzen 3000 series chip. openssh and openssl apps refused to work. solution was a mobo bios update18:36
nemoDHE: wut18:37
nemoDHE: openssh and openssl use rdrand exclusively???18:37
nemoDHE: hm. maybe in Windows. I can totally see that there18:37
nemowhere proper OS support for random numbers is a recent thing18:37
nemobut wait you said distro18:37
nemoDHE: which app18:37
DHEI mean not devuan18:38
SuaveDandyDHE: You run a different distro? What do you use Devuan for then?18:40
DHEright now I'm testing it in a VM for a new system18:40
SuaveDandyAh.18:52
SuaveDandyIf you've tested Debian, you've kinda tested Devuan.18:52
SuaveDandyI didn't even bother testing in VM. It's not like Arch or NixOS.18:53
DHEmaybe but I hate systemd with a burning passion. in a "pour gasoline and burn it" sort of way.18:59
nemoDHE: can you tell me which application uses rdrand as an exclusive source of randomness?19:48
nemoDHE: or... could it be that this dubious distro uses rdrand exclusively as a kernel entropy source?19:48
yanmaaniwindows has proper os rng20:06
yanmaanivm rng is sometimes fucked20:07
SuaveDandymason: How hard is it to maintain ZFS compared to Ext4?20:07
yanmaaniin general, not windows20:07
masonSuaveDandy: Fairly easy regardless of whether you're using DKMS or custom packages.20:08
masonSuaveDandy: You need to make sure you schedule scrubs, so that's a little more effort.20:08
masonWithout scrubs, you risk things going wrong and not getting caught in time to fix.20:09
SuaveDandyAnd the ZFS guys said noobs shouldn't use such an expert system and should use Ext4 instead.20:09
SuaveDandySo I thought.20:10
fsmithred20 years of linux here and still using ext*20:13
SuaveDandyI don't know if I should go forward. I mean, will I have enough time to learn ZFS, set up my whole system with window manager and work?20:15
SuaveDandyI don't even know.20:15
SuaveDandyBut I mean, on Windows I always had a long acclimatization period after installing anyway.20:16
SuaveDandyAnd still didn't have the things my way like the keyboard layout.20:16
SuaveDandyOr the window layout. Or the popup terminal.20:16
fsmithredtakes me a few weeks to get a new system all set up20:16
SuaveDandyDo you think it's a better idea to learn ZFS in VM or I can learn it on-the-fly?20:19
fsmithredI don't know it, so I can't estimate.20:19
SuaveDandymason?20:20
yanmaanihow can it take weeks to set up a file system20:20
yanmaaniext4 takes minutes20:20
masonSuaveDandy: I'd use it live. That's how I did it anyway, to learn.20:21
fsmithrednot to set up a file system20:21
fsmithredweeks to get my installation the way I want it20:21
yanmaaniI've had this crazy idea20:21
masonSuaveDandy: The tricky bits are getting comfortable sending/receiving snapshots for incremental backups, etc.20:21
yanmaaniyou make a "DE"20:21
SuaveDandyLive as in on a live CD?20:21
yanmaaniwhich is just "what normal people want for their system"20:21
fsmithredinitial install of the OS only takes me 10 minutes from a live iso20:21
yanmaaniwhere normal people == you20:21
fsmithredyeah, usually DE20:21
masonSuaveDandy: And since ext does nothing like that, that's really like learning different tools, unrelated to the files sitting there and being accessed20:21
yanmaaniso, mpv for media player, FF ESR for browser, that sort of thing.20:22
SuaveDandymason, what do you mean by "live?"20:22
fsmithredI think he means "on hardware and in use"20:23
masonthat20:23
fsmithrednot a test run20:23
fsmithredlike getting thrown in the water to learn how to swim20:24
fsmithredSuaveDandy, did you try the deboostrap install on zfs?20:25
SuaveDandyNot yet.20:25
SuaveDandyWas discussing stuff.20:26
SuaveDandyGimme a sec.20:26
fsmithredhow long did it take to set up the zfs stuff?20:26
fsmithredor better, how long would it take to do it again, now that you know how?20:26
SuaveDandyWell, heh. A couple of half an hour.20:31
SuaveDandyI'mma speed up, guys.20:40
SuaveDandyFocus mode: on20:40
user_Devuan mentioned https://www.theregister.com/2020/09/10/debian_project_address/20:55
* user_ chuckles a bit, muahaha, not enough people to perfect total Poetteringization? or not enough people to prevent too much breakage by that prolific man.20:56
user_hehe comments start with a very much #devuan close question >:-) https://forums.theregister.com/forum/all/2020/09/10/debian_project_address/20:58
* user_ is done with noise, people can read if they want to. The links.20:58
* user_ chuckles as usual reading the comments, thereg comments are worth as much as the article(s) imo21:00
golinuxPlease take it to #debianfork21:01
user_np, done21:02
SuaveDandySo. We have configs and user data backed up to the cloud. And the whole system backed up to the external drive, say, once in 6 months. The hardware failure is unlikely to happen. Does that mean that ZFS snapshots are redundant?22:29
SuaveDandymason22:29
SuaveDandyI'm not going to do anything stupid.22:30
SuaveDandyAlthough I may mess the software up…22:31
SuaveDandyMakes sense.22:31
masonSnapshots are useful as point-in-time references on top of their use in doing incremental back-ups.22:32
SuaveDandySomething like restore points?22:32
masonYes.22:32
SuaveDandyI just thought that Debian is super reliable.22:33
gnarfaceSuaveDandy: Debian is super reliable.  You, however, by comparison, are not.22:34
SuaveDandyHeh.22:34
SuaveDandyWell, I'm only human.22:34
gnarfaceSuaveDandy: sometimes you only realize you made a mistake months later.  that's when it's good to have historical snapshots to refer to22:34
gnarfaceSuaveDandy: we are all only human.   well, most of us are.  i might not be, but i'm no less error prone for it.22:35
gordonDrogonwhen I was being paid to sysadmin, users deleting files was very common. less common was "can you get that version of the file I had 3 weeks ago", but it did happen.22:36
gnarfaceransomware attacks and mysql database corruption also come to mind22:37
specingI have hourly snapshots and they had saved me dozens of times already22:44
specingand half of those dozens of times were when messing with git22:44
specingand nuking my working checkout by accident22:45
specingthe snapshots are kind of like revision control system control system22:45
masonOoh, I may have identified my startup race. At least, this matches what I see: https://linux.debian.bugs.dist.narkive.com/a99qRmYJ/bug-912237-etc-init-d-rpcbind-stat-not-found23:28
masonLooks like I've been bitten by a UsrMerge bug.23:30
masonThis could be another one for us to fork.23:31
masonI'll see if there's a Debian-side bug.23:31
masonbbiab, rebooting, testing23:31
unixbsdis XFS on devuan more stable than EXT4?23:43
gnarfaceit is more stable period.23:48
gnarfacebut that doesn't mean it will be the best choice in every situation (for example, Valve's Steam client for Linux has had a history of obscure patch failures on anything other than ext4)23:49
gnarfacealso, even though generally everything is faster with XFS, deletions are slower, so there may be very different performance implications depending on the work load23:50
gnarfacei would just suggest to try it23:51
gnarfaceif you want faster launch times and more read throughput, XFS is a shoe-in unless you only have a single-core system (XFS is also the only multithreaded filesystem)23:52
gnarfaceon the other hand, if you want a build server for kernels, and you do a lot of "rm -rf /usr/src/*" and the like, the delay time might get annoying23:55
gnarfacenot like, cripplingly slow, but if you are used to all deletions being basically instantaneous you might get frustrated having to wait 30s to delete 2GB of small files23:57
WonkaBack Then[tm], when I used XFS, after crashes all files that had been open for writing during the crash were completely zeroed. Didn't happen with ext3. (ext4 didn't exist yet)23:57
gnarfaceWonka: it would put the unfinished file chunks in /lost+found/ and you just had to identify them and you could usually manually put them back in place.  i haven't seen it have that problem for several years now.  i think they changed default mount options and did some internal tuning.23:58
gnarfaceWonka: in the mean time, the ext4 team can't even keep slightly outdated versions of e2fsprogs from unraveling the whole filesystem23:59

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