libera/#devuan/ Thursday, 2025-04-24

greenjeansUsL: I'm pretty sure it was designed from the get-go to break stuff, that's what got LP hired at microsoft, they love that designed-to-fail stuff, keeps the billion dollar tech support industry humming right along, and trashes machines completely after a few years so you have to buy a new one00:06
freem<UsL> in my day and age I had flood prptection set to ten lines. But that was when all connected on dialup and connections were much more robust than today's fiber optical connections07:45
freemIt is still required on IRC because IRC sends things line by line, this is not a technical issue but a protocol one, for which IRCv3 have WiP effort (https://ircv3.net/specs/extensions/multiline). Sorry for off-topic, but that explains why this particular chan have this limitation still. Also, regarding the topic, I see that debian's zfs-dkms package does not depends on anything systemd related on debian, so devuan probably just uses debian's package.07:45
freemSo probably should be reported to upstream (devuan AFAIK only patches stuff to remove systemd dependency, nothing else).07:45
freemXFaCE: do you have some logs showing the error and it's context? With the informations you provided, guessing what may be the problem is going to require a lot of luck. Did you had the problem with stable ZFS package, for example?07:47
freemdmesg may be of some use for example, but zfs may also have it's own log somewhere, possibly sent to a syslog daemon07:48
XFaCEfreem: good morning13:47
XFaCEThe old ZFS package didn't have this issue, and I can be fairly certain it traces back to this change https://github.com/openzfs/zfs/commit/5e7a2f4665b5be32dab9c183e6fdb94e1f434b7013:49
XFaCESimply put, this change made it so zfs-mount.sh occurs in runlevel S, but also is supposed to follow zfs-load-key, which occurs at 2 at the earliest13:50
XFaCEWhen I removed zfs-load-key, the warning disappeared13:50
freemwell, the commit is clearly about breaking non-systemd systems13:50
freemit's written directly in the title13:50
freem"Update zfs-mount to load before fstab, matches systemd service."13:51
XFaCEThat part is sound... but the lack of diligence to not update zfs-load-key is... expected13:51
freemI never used ZFS myself, but, maybe you can simply stop using a daemon for that, and rely on fstab for mounting, since it's the whole job of fstab13:51
XFaCENot from a pushing systemd standpoint, but rather from a "we don't check our work properly" standpoint common to many modern projects13:51
freemah, this I know what you're talking about, sadly13:52
XFaCEIn this case, the assumption of incompetence can take precedence over malice I think13:53
XFaCEfreem: disabling zfs-load-key should be enough13:53
XFaCEI don't need it anyway because zfs encryption has been tenuous13:53
freemI try to assume incompetence all the time, but sometimes people make it very hard to do13:53
XFaCETo be fair, there's nothing wrong with zfs-mount changes per change... I did the same thing with Slackware, only manually patching rc.S in that case13:54
XFaCE*per say13:54
XFaCEThe problem is as stated, not bothering to check the other scripts13:54
freemI never could manage to get into rc.d system, myself. I am actually thankful to systemd for it allowed me to learn about daemontools, and notably runit13:54
UsLfreem: are you saying that irc protocol version 1998 did not have that limitation? We used to paste ascii art in the demo scene channels  : )13:55
freemI am not lol13:55
XFaCErc.d on slackware is pretty pleasant due to its simplicity13:55
XFaCEThe encouragement of manual patching and such13:55
XFaCEThe lack of extra tools needed13:55
freemUsL: what I meant is that ascii art posting as I remember it from 20 years ago was annoying as f...13:55
freemand also we were more used to wait after things13:56
* freem remembers images loading *very* slowly back in the 56k modem era13:56
XFaCEfreem: it's funny, I find myself missing rc.d when dealing with all the extra commands like insserv that the traditional sysvinit implementation uses13:56
XFaCEI'll probably end up switching to OpenRC because prior Gentoo experience13:57
freemwell, when I think sysVinit+rc.d, I think about that horrible mess freedesktop.org had as a "standard", the thousands of lines of bourne shell split in thousands of files in random folders13:58
UsLyeah, it was rude to post ascii in ordinary channels.13:58
XFaCEfreem: I see... yeah Slackware does a good job keeping everything in /etc/rc.d13:58
XFaCEOne thing that's a bit of a curve ball with Devuan sysvinit is disabling services... in Slackware land all it takes is chmod -x13:59
freemXFaCE: I remember trying to understand some of those stuff debian have in /etc/init.d/* to replace them with runit stuff. I abandonned, too many indirections, I felt like I was going to be condemned to live in Italia of Code13:59
freemyes, disabling services is a nightmare, and the worst is, they are enabled by default when you install them14:00
XFaCEAh so it's not just my instinctive dislike here14:00
freemI'm afraid it's not. Or we have quite similar instincts, dunno.14:01
XFaCESo in other words, switching to OpenRC is a good idea14:01
freemI myself have switched to runit 10 years ago, and live in paradise since then14:01
XFaCEThe install I'm doing is a debootstrap + chroot, so it's about weighing what stuff to do before booting the actual install14:02
freem95% of my services would only be one-liners, if it was not for me enjoying to have a clear indication that the service is being started in my logs, which are even handled on a per-daemon basis, so never rotated because another one is logging shit like crazy14:03
freemnot to mention busybox-static includes a daemontools implementation :D14:03
XFaCEI think you may appreciate Slackware rc.d as well14:03
XFaCEIt's been said it copies the BSD way of doing init/rc. I can't confirm having not used BSD very much14:04
freempossibly, but I like the fact systems can go up by themselves as well, with runit. This have proved to be invaluable in my last dev job, where I had ~300 street systems to keep in working state14:04
XFaCEHaha fair enough14:04
freemstreet system: you need to travel if you want to reboot them14:04
XFaCEI have nothing against runit personally, I just have used OpenRC more14:05
freemunderstandable14:05
XFaCEAnd depending on how OpenRC is maintained in the future I might be forced to move anyway14:05
freemI would likely have given a shot to openrc if was not python14:05
freemdoes it actually requires maintenance, thuogh?14:05
XFaCEI would argue no, but maintainers will want to anyway14:06
XFaCEWhat's that old saying... "If it isn't broken, break it"14:06
freem(as for python dep, this may be an old deprecated or totally wrong memory, I am very unsure about it)14:06
XFaCEI don't see a python dep in the ebuild14:07
freemme neither14:08
freemmust be wrong.14:08
freemhappens to me fairly often :)14:08
XFaCEWell... if I can figure out how to disable sysvinit services just for one reboot, I should be good14:09
XFaCEI'm just iffy whether I should swap init systems in the chroot minimal install state post-debootstrap14:09
freemthose are not sysvinit stuff you'll touch, but debian's rc.d mess. IIRC there are readmes in i.e. /etc/rc2.d/ that describes the process14:10
freemin /etc/init.d/ as well14:11
freem(no, those readmes are not the sames)14:11
freem(would be too easy otherwise)14:11
freemTo disable a service in this runlevel, rename its script in this directory so that the new name begins with a 'K' and a two-digit number, and run 'update-rc.d <script> defaults' to reorder the scripts14:12
freemaccording to dependencies.14:12
XFaCEyikes14:12
freemthat's what the one in the rcX.d says14:12
freemyikes is the word yes14:12
UsLsysv-rc-conf14:13
XFaCEoh I see, it's all symlinks14:13
XFaCEUsL: Some ncurses thing?14:14
UsLworks for me14:14
XFaCESo it some ncurses thing14:14
XFaCE*it is14:14
UsLediting files directly in rc.d is all fun and games, but when pressed for time there is sysv-rc-conf14:15
XFaCEI'll give it a shot14:15
XFaCEHow does it relate to insserv though?14:15
freemheh, I wish I'd have known that command before!14:15
freempackages depending on it: 0. Not recommended, not suggested, nothing. Good luck finding this...14:16
XFaCEfreem: http://www.slackware.com/config/init.php14:16
freemthanks. FYI on runit, you just symlink the service's folder in your runlevel one14:18
XFaCEThis is the key point: "Since version 7.0, Slackware includes System V init compatibility. Many other Linux distributions make use of this style instead of the BSD style. Basically each runlevel is given a subdirectory for init scripts, whereas BSD style gives one init script to each runlevel.14:18
XFaCE"14:18
freemeasy as well, but sadly it includes the supervise folder, which makes diskless systems a bit more annoying to do14:18
XFaCErunit does you mean?14:18
freemyes, sorry14:19
XFaCEhow exactly does it impede diskless installs... can't a ramfs just be mounted in there?14:19
freemit does not impedes, just makes it more tedious since you need to copy the original folder in a ramdisk before exec'ing runsvdir14:20
XFaCEAh I see14:20
freemI mean it could be easier, that's even something I'm planning to implement when I'll feel bored enough14:21
XFaCEprobably could be done during initramfs14:21
XFaCEor sounds like a job for overlay14:22
freemI would just let runsvdir take a target dir as destination to store those, really14:22
XFaCEor that haha14:22
freemI already did diskless systems with runit anyway, so I know that can be done with the original program. But I clearly think runit could use some polish, someday. Not critical, but would ease my life.14:24
XFaCEOne project I have in the backburner is converting a pihole to Devuan14:24
fsmithredthe runit maintainer for debian interacts with us on the devuan forum14:25
djphI half did that with bind9 and whatever list pihole uses14:25
XFaCELiteral conversion from Debian14:25
XFaCEdjph: bind9's featureset is sufficient to supplant pihole?14:26
freemI only have some toy commits uppon runit for my fun. There is a devuan forum, with a runit section or something? I could look at it and see if I can help with some things14:27
fsmithredno particular section for runit14:27
fsmithredwherever the subject fits14:27
freemthis: https://dev1galaxy.org/ ? (damn, why do ALL websites have shitty contrast those years?!?)14:27
fsmithredyeah that's the place14:28
freemthx, will take a look then14:28
fsmithredif you log in you can change the colors14:28
fsmithredlook for posts from Lorenzo14:28
freemthing is: I only log when I have something to do. Default stuff shuold be sane, not the other way.14:28
freembut I guess sane is not compatible with interweb *shrugs*14:28
fsmithredthat color was the first devuan desktop theme14:29
freemthere are tools to help with colour-picking and avoid bad contrasts... like this one https://webaim.org/resources/contrastchecker/ but I recently heard that android studio even gives warnings automatically14:30
freemwell, that's one of the reasons I don't use the web much those years (also is off topic so I'll stop this ranting now)14:31
XFaCEfreem: old forum tradition it seems. Gentoo Forums haven't changed at all really either.14:32
XFaCELinux Questions14:32
APic😌14:32
freemnot that old, I remember forums when I was discovering internet, they had sane contrast and fonts14:32
amarsh04Interesting, I did an init 1, re-mounted root filesystem read-only, ran fsck -f on it, then remounted root as rw, crontrol-D to restart and the buffer cache was still there and previously running apps loaded fast14:32
freemamarsh04: that is to be expected, you never did anything to the kernel, and caches are handled by it14:33
freemif you want to drop kernel caches, there's some file you need to write in, around /sys or something. I don't remember the exact path+name, but shuold be easy to get from a search engine14:34
amarsh04I also need to check the fsck options to do more caching while checking14:35
ted-iousIs it time to start downloading 6.0 beta and reporting installation bugs?18:10
ted-iousOr I guess any kind of bugs not just the installer.18:11
fsmithredted-ious, latest installer isos are from five days ago, so yes you can do some testing.18:15
ted-iousfsmithred: It's not frozen yet before the release right?18:17
cousin_luigiIsn't Trixie itself projected to be released after Summer?18:17
ted-iousOh I thought that was being released much sooner.18:19
ted-iousI must be confusing my rss feeds. :)18:20
cousin_luigited-ious: Looks like it is I who was wrong.18:23
cousin_luigited-ious: June/July 2025.18:23
ted-iouscousin_luigi: I think I was just about as wrong as you. :)18:25
ted-iousfsmithred: Do you think I should use those iso's to install or should I do a dist-upgrade to excalibur?18:29
fsmithredtrixie just went into soft freeze18:40
fsmithredted-ious, what's your intent? You just want to run excalibur because you need something newer?18:40
fsmithredor do you want to help troubleshoot the installer?18:41
ted-iousfsmithred: Basically I just want to see what's coming so I thought I would try out a beta and see what it's like.18:45
ted-iousMaybe I'll play around with the iso a few times and then do a 5.0 to 6.0 migration and keep using it to see if I can find anything that breaks.18:46
ted-iousI think I did that last time for some project but then I abandoned it so I didn't find anything reportable.18:47
fsmithredPlease take notes about any issues you run into upgrading from 5 to 6.18:54
ted-iousI will try to do a much better job at completing my project this time. :)19:06
XFaCEIf I knew how to use znc notes I'd note 'sysv-rc-conf'19:26
XFaCElandley: Are you Rob Landley?19:54
landleyXFaCE: yes.20:00
XFaCElandley: I appreciate the thorough documentation around toybox, thanks much. A quick question, do you think toybox is mature enough to be embedded in an initramfs?20:02
landleyHave you seen mkroot?20:02
XFaCEI've seen the documentation yes.20:02
XFaCEI'm assuming that answers my question indirectly.20:03
landleyIt uses toybox in the initramfs.20:03
landleyThat said, toysh is only about 2/3 finished. (It works, it's just not good enough to rebuild itself under itself and run its own test suite yet.)20:03
XFaCEI'm tempted to just include ksh93 for my shell needs in initramfs.20:04
landleyAnd build Linux From Scratch under mkroot with the native toolchain squashfs files in https://landley.net/bin/toolchains/latest/20:04
landleyToysh works pretty well, but I'm currently implementing "alias" support and finishing "trap" support and so on.20:04
landley(And I'm not doing command editing and history until it's reasonably complete because people assume if the gui is finished the rest of it must be too.)20:05
XFaCElandley: I also would like to voice appreciation for the extensive explanation as to which utilities you are including. I consider your choices the unofficial POSIX.20:05
landleyUsing a different shell for the moment is a reasonable choice. :)20:05
landleyThanks.20:05
XFaCEWell that and ksh93 provides the flexibility of Bash but isn't slow. And it has so many embed internal commands.20:06
landleyI'm trying to make toysh be the best shell I know how to do, but life's kinda intervened the past few years...20:06
XFaCEI recall KSH93 beating even Dash in a speed comparison test20:06
landleyBut I'm not going for absolute speed, no. :)20:06
XFaCENo blame here... toybox alone is a project that would drive me nuts.20:06
landleyI started out nuts. Saves time.20:07
landleyWhat I really need to do is get a toybox+musl based debian root filesystem together.20:07
landleyErik Anderson did a busybox+uclibc one back when I first got into busybox, but did not document _how_.20:08
landleyTaking apart rebootstrap is... elaborate.20:08
XFaCEDoes the name Dermot Bradley ring any bells?20:08
XFaCE(not me)20:08
landleyI don't even know how to set up my own debian server to add extra packages, which I need to do for the https://github.com/j-core/openlane-vhdl-build toolchains.20:09
landleyI think I've seen the name before, but I'm bad with names...20:09
XFaCEHe's been doing a lot with minimal scripted Alpine installs.20:09
XFaCEI'm sure you two have crossed paths before20:10
landleyMost likely.20:10
landleyI have the to-read list of doom. I haven't even gone through https://peertube.debian.social/w/45XroN9CnbYLNLKQH3GD9F yet.20:10
XFaCEI'm guessing Google's solution to the toysh work in progress is to stick with mksh20:11
landley(I did watch https://peertube.debian.social/w/chzkKrMvEczG7qQyjbMKPr but it was disappointing. Not "how to provide alternate packages for base dependencies", it was how to lobotimize the dependencies and then add packages on top of a basically empty chroot.)20:11
landleyGoogle is mostly a consumer of toybox stuff. They did give me some money a couple times over the pandemic, but that ended when they started doing mass layoffs.20:11
XFaCEA shame20:11
XFaCENice though we've gotten to a point where I don't have to install a busybox on Android to make some applications work20:12
landleyElliott explained their position pretty well on a podcast once... http://androidbackstage.blogspot.com/2016/07/episode-53-adb-on-adb.html20:12
XFaCESaved20:13
landleyGet gets to toybox starting around 19 minutes.20:13
landleyXFaCE: if you ever have to do that, let me know and I'll try to fix it.20:13
landley(Unless it's an selinux thing. :P )20:13
landleyI'm the guy who made busybox build under itself and built linux from scratch under the result in the first place.20:13
landleyhttps://landley.net/aboriginal/about.html was like 15 years of my life.20:14
XFaCEOh yes, I have read your Wiki page a few times. I know the rather... controversial history20:14
landleyI have a wiki page?20:14
XFaCEyep20:14
landley...where?20:14
XFaCEOh wait, my bad. It's the busybox page20:15
XFaCEI could have sworn there was a standalone page though20:15
XFaCEAh no, I'm thinking of the *toybox* page, my bad *220:16
landleyAh, thought so. Wikipedia's got a bunch of https://en.wikipedia.org/wiki/Linucon and https://en.wikipedia.org/wiki/Unix-like and https://en.wikipedia.org/wiki/Public-domain-equivalent_license pages talkinga bout stuff I did, but I myself am not "notable".20:17
landley(Because of course.)20:17
XFaCEI think anyone who rebuts Matthew Garrett should get a page haha20:17
landleyGarrett's come around to my side!20:17
landley(I follow him on mastodon.)20:17
XFaCEWell that's good20:17
landleyAnd Jeremy Allison publicly admitted that going GPLv3 did huge damage to samba.20:17
XFaCEWhat about Tridge?20:18
XFaCE*ll20:18
landleyThe allison talk was https://archive.org/details/copyleftconf2020-allison by the way.20:18
landleyI fell out of touch with Tridge, I think he retired and went into cryptocurrency nonsense.20:19
XFaCEI'm guessing you keep thorough notes :) A habit I should try to cultivate20:19
landleyI keep a blog.20:19
XFaCEThat helps20:19
landleyI search my old blog to find old links. Easiest way.20:20
landleyThat last link came from https://landley.net/notes-2020.html#13-05-2020 for example.20:20
XFaCEWell it's a pleasure to run into you. I'm literally nobody.20:21
XFaCEhaha20:21
landley(Also, computer history's been a hobby of mine since 1999, and https://www.landley.net/history/mirror/ happened because I kept losing links where I knew I'd seen something but coulddn't find it again.)20:22
XFaCEAlso sad to say that Gentoo and Slackware and this zfs debootstrap is the closest I've gotten to LFS20:22
landleyGot in the habit of keeping track of WHERE I found something, so I could cite it.20:22
XFaCEYeah, I have the bad habit of assuming I know how to search the same link again20:22
landleyAnd then I went to work for Jeff Dionne, the founder of uclinux and the guy who ACTUALLY created uclibc and busybox (Erik Andersen was his employee at Lineo), and he knows where ALL the bodies are buried...20:22
XFaCEsearch *for20:22
landleyIt's scar tissue talking. I thought I knew and failed hard, way back when...20:23
XFaCESo when you say Debian MUSL root fs, you mean compiling that from scratch?20:23
landleyUnless somebody has a better way?20:24
landley(I've looked, but maybe I just haven't found it.)20:24
landleyThe problem is "which libc" is basically part of the architecture, but most distros aren't set up to track it as such.20:24
XFaCEI've wondered what it would take to compile Slackware using MUSL20:24
landleyI learned long ago that compling uclibc binaries under glibc was cross compiling.20:24
XFaCEThinking about that makes my brain hurt20:25
landley(This totally would have been called "why cross compiling sucks" if the people publishing it hadn't objected: https://landley.net/writing/docs/cross-compiling.html)20:25
landleyIf you can cross compile arm for x86 you can cross compile musl from glibc. It's exactly the same operation. Alas, the gnu/dammit people don't think so. (They are wrong.)20:26
XFaCEmakes sense, but does it take a few compiles to do a stage 3 or whatever?20:26
landley(I blatered about that at length years and years ago... https://bootlin.com/pub/video/2008/ols/ols2008-rob-landley-linux-compiler.ogg is the link.)20:27
landleyEh, not exactly?20:27
landleyblathered20:27
landleyEh, not entirely a word. Can't typo it I guess.20:27
XFaCEI have this Void Linux from source procedure written down that involves three compiles20:28
landleyI need a whiteboard to properly go over that. :)20:29
landleyI want to gesticulate at things!20:29
landleyThe bof link above probably covers most of it (albeit in a Pascal's Apology sort of way).20:30
XFaCE"gesticulate" wow20:30
landley(He apologized for writing a long letter because he didn't have time to write a short one.)20:30
XFaCEYour phraseology is unique20:30
landleyThat one _is_ a word.20:30
XFaCESince it sounds like you've been acquainted with every OSS celebrity of the 90s (a bit exaggerating ;))... have you met Patrick Volkerding?20:32
landleyAnyway, the multiple builds are mostly so dependencies don't leak from one context to another. Especially with dynamic builds.20:32
XFaCEAh I see20:32
XFaCEThat's an explanation for something that noone have given me an explanation for20:32
landleyThere's also making limited compilers (no threading support, etc) and then building a full compiler from that, which is also about constraining leakage between contexts. A bit like wringing out a towel.20:32
landleyLinux From Scratch 3.0 back in the day had a section on this, I think.20:33
XFaCEI see you have the Carl Sagan gift of relating things with understandable metaphors20:33
XFaCEI appreciate that20:34
landleyhttps://linuxfromscratch.org/museum/lfs-museum/3.0/LFS-BOOK-3.0-HTML/chapter05.html20:35
landleyThere's a lot of stuff where "the way to learn this is to be an old geezer who was around when it was being discovered", but what that often means is find the OLD references that didn't assume you already knew it.20:36
XFaCELFS is the kind of thing everyone should try at least once. The issue for me is finishing my "real" install20:36
landleySo many hobbyists are tinkering with old electronics because a great way to learn electronics is to find a book about it from 1965. :P20:36
XFaCESo kind of like trying to find archives of the Red Hat cgroup documentation pre-Systemd20:36
landleyYes, but A) Red Hat is Pointy Hair Linux that's been a corporate (not hobbyist) project since their IPO in 2000, B) there was a cgroups1 and cegroups2 (different filesystems with diferent APIs)20:37
XFaCETrue, I should ask whoever what version that documentation was about20:38
landley(Sigh. There is SO MUCH BACKSTORY. But that's life...)20:38
XFaCEOne of my favourite videos is some guy installing Slackware 1.1.2 on a 386SX20:38
landleygit log and archive.org are, sadly, often your friends. As are lkml archives that go back along way, like lkml.iu.edu20:38
XFaCEI once found a mailing list conversation from 1997 that involved Theo De Raadt and Julian Assange.20:39
landley(Which has nothing on kclug, from which I harvested https://www.landley.net/history/mirror/linux/1991.html and https://www.landley.net/history/mirror/linux/1992.html)20:39
landleyDid you know one of the founding arguments of Linux was Linus and the Minix maintainer basically disagreeing about everything? https://www.oreilly.com/openbook/opensources/book/appa.html20:40
XFaCEOh yeah, I read Linus' autobio20:40
landley(That whole book is pretty good if you're in to computer history.)20:40
landley"Just for fun?"20:40
XFaCEYep20:40
XFaCERented it from a public library more than 10 years ago20:41
landleyThat's good. Robert Young's "Under the radar" was good too.20:41
XFaCEHow Linus had a Sinclair, and then bought a PC to run Minix20:41
landleyAnd Peter Salus' "A quarter century of unix". (I haven't read his newer one about the demon and the penguin.)20:41
XFaCEAny of your books you'd recommend?20:41
landleysinclair ql with an 80009 processor. And before that his grandfather's vic 20.20:41
landleyI haven't written any books. Kept meaning to, but too busy with other things.20:42
landleyAlthough back before Eric Raymond went crazy he almost called me a co-author of The Art of Unix Programming.20:42
XFaCEAnd he used that Sinclair as a terminal to connect to the University system20:42
landley(At least that's what he wrote in the introduction. http://www.catb.org/esr/writings/taoup/html/pr01s06.html )20:43
XFaCESpeaking of toybox and POSIX, perhaps you can help me with this mystery20:43
XFaCEso it's known that <<'EOF' means a here-document that ignores shell characters like $20:43
landleyXFaCE an then sold it to buy his 386, and then minix couldn't keep up with his modem because microkernel dropping characters task switching between each IRQ, so he wrote a terminal that booted from floppy, and linux evolved from that. :)20:43
XFaCEYep :)20:44
landleyMoral: dogfooding is vital to real progress.20:44
XFaCElandley: but it appears that <<\EOF does the same thing as <<'EOF' but is much easier to type20:44
landleySo is <<\EOF20:44
XFaCEYeah20:44
landleyTurns out it's any escaping in the delimiter. (I had to know this to make toysh do it right.)20:44
XFaCEBut if you look through opengroup docs <<\EOF isn't mentioned anywhere20:44
XFaCEEven though it works on every shell I've tried20:44
landleyPosix is a frame of reference to diverge from.20:45
landleyIt's a common subset, but it doesn't even mention "init" or "mount".20:45
XFaCESo is <<\EOF an accident?20:45
landleyA system that doesn't go beyond posix can't BOOT.20:45
landleyIt's not an accident, it's basically "if unparsed token != parsed token then call it quoted".20:46
landley<<EOF''20:46
XFaCEI love the official recommendation to deal with hashbangs20:46
landley?20:46
XFaCEI'd have to find it again, but it was in relation to people saying that #!/bin/sh isn't recommended by POSIX whatsoever20:46
XFaCEthe recommendation is to write an "install" script that replaces the hashbang in the script being installed to match the system's environment20:47
landleySigh.20:47
landleyThe bsd people all use "#!/usr/bin/env bash" and so on, which raises the question of why you trust env to be at an absolute path but not bash.20:47
XFaCEIndeed20:48
XFaCEBTW, I hope toysh doesn't allow one to set a path to be a function name, or if it does the path on the drive takes precidence20:48
landley(Which turns out to be a bsd thing: they refuse to install anything that isn't in the BSD repo into /bin or /usr/bin. On android there's no /usr, the $PATH points to /system something.)20:48
landleyMy reponse was always to root cause grandma's roast: https://lists.busybox.net/pipermail/busybox/2010-December/074202.html20:48
landley(P.S. that was off the top of my head and the numbers are slightly wrong. The system disk was .5 megs, each rk05 is 2.5 megs. It's all on dennis ritchie's web page...)20:49
XFaCEOh wow I said hashbang, I meant shebang20:49
landleyNeither is real. The words are made up. :)20:49
XFaCEBut yeah, on Bash one can do /usr/bin/sudo() { ; } as a function name20:50
XFaCEUnless using POSIX mode20:50
landleyIn $PATH?20:50
landleyThat's insane. When did that start. (Wasn't in 2.05b.)20:50
XFaCEIrrespective of $PATH20:50
XFaCEit overrides anything on the drive20:50
landleyOh, you mean it #! ?20:50
XFaCEI'm not sure what you mean20:51
landleyOh, you mean you can put / in a function name.20:51
XFaCEyeah20:51
XFaCEthat's technically a POSIX extension20:51
landleyHuh, hadn't thought of that.20:51
landleyI'm not sure Chet thought of that either. :)20:51
landleyHe might just not have _excluded_ it.20:51
XFaCEHowever, David Korn made it so KSH priortizes drive paths over functions20:52
landley(But every time I ask him about a bash corner case, he has like a 50% chance of "fixing" it, which means I'm chasing a MOVING TARGET...)20:52
XFaCEI confirmed this with mksh, openbsd ksh, and ksh9320:52
landleyI'd just make it so anything with a / in it doesn't check the function list. I'm already doing that in toybox's multiplexer.20:52
XFaCEdash and busybox sh don't support special chars in function names at all20:52
landleySorry, this is spamming the devuan list with off-topic discussion...20:52
XFaCETrue, I can move to offtopic20:53
landleyTalking loudly in a public library sort of thing, just realized.20:53
XFaCEOr DM, whatever you wish20:53
landleyThere's a #toybox20:53
UsL /topic20:55
XFaCEUsL: Now back to ontopic deboostrapping for zfs purposes22:03
XFaCEwhich I have now attempted... 5 times?22:07
fsmithredXFaCE, check the forum for posts about installing zfs. There are a few. I don't know which one is best.22:14
XFaCEI shall, but I think I have a good handle the available documentation, the failures aren't really ZFS related as much as figuring out the best way to install stuff after debootstrap22:16
XFaCE*with the22:16
XFaCEPractice with apt and whatnot22:17
ted-iousXFaCE: I found out the easiest process for me is to just do a regular install into the swap partition and then move everything to the root pool later.22:52
ted-iousJust don't try to recompile firefox until you finish moving. :)22:52
XFaCETrue, that is always easier than bootstrap22:52
XFaCEon the other I can zfs destroy and recreate datasets indefinitely ;)22:52
ted-iousRight. :)22:53
ted-iousAfter I did it once and lost track of how many hours it takes I decided to just cheat.22:53
XFaCEThere's probably a way to trick the installer into a dataset somehow22:53
XFaCESlackware's installer is simple enough to do that22:53
XFaCEBut the swap partition is a fine trick... the only thing I don't like is having to resize partitions22:54
XFaCEted-ious: does your approach avoid that somehow?22:54
ted-iousYes.22:54
ted-iousI just use large swap partitions. :)22:55
XFaCEYeah but do you delete that partition after and resize the pool?22:55
ted-iousNo.22:55
rustyaxeits 2025, ram is cheap. stop using swap :O22:55
ted-iousrustyaxe: Tell that to my laptop. :)22:55
rustyaxeall swap does in these modern times is give a broken process an opportunity to make the machine unresponsive for a while, while destroying the flash22:56
rustyaxeted-ious: idk my crappiest laptop has 48gb of ram22:56
XFaCETrue, 128 GB is enough to fit a base install22:56
XFaCEJust don't lose power22:56
ted-iousXFaCE: Or you can do the server install and it's much smaller.22:56
XFaCETrue but at that point what's the difference to a bootstrap?22:57
XFaCEso long as I can get to tasksel it should be smooth sailing22:57
ted-iousIt's much faster to get it done.22:57
rustyaxedebootstrap<33322:57
rustyaxeive used debootstrap to stuff debian and devuan into some strange places ;)22:58
ted-iousAnd I don't have to mess around with getting grub and everything installed the way devuan expects it.22:58
XFaCEtrue, I won't argue the amount of time I've sunk22:58
ted-iousI think in a few years when bcachefs replaces zfs it will make all these hacks obsolete and I can't wait.22:59
UsLXFaCE: I actually tried to display topic and had some spaces in thr way : )23:03
XFaCEwell the message was understood regardless23:11
XFaCEted-ious: yeah I thought so too until the bcachefs dev did what the bcachefs did23:12
ted-iousXFaCE: I think the point is that there was no message intended. :)23:12
XFaCEOh23:12
XFaCEI thought he was emphasizing the "Take offtopic chat to" part23:12
XFaCEWhich was fair23:13

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