libera/#devuan/ Sunday, 2024-07-28

rrqdvbst: the reason for booting up with init=/bin/bash is that it lets you do forensics within the broken bootup system. It's sometimes better than doing guesswork from log files.01:52
rrqin particular it uses the kernel of the broken system, and the root filesystem of the broken system.01:53
rrqbut runs bash as pid 1 instead of starting /sbin/init01:56
dvbstrrq, do i do it through grub?02:25
rrqwell a once-off I would do by editing the boot commandline at the boot splash...02:26
rrqwhen the splash comes up press "e" to edit the command line, then editi it, then Ctrl-X I think02:26
rrqdoing so means it's just for that boot up02:27
rrqbtw I have fresch chimaera installed with lxqt+runit (+DE+standard utils) and I'm about to do the upgrading02:28
rrqI'm also educating myself about runit :)02:29
dvbstsounds epic02:32
rrqfrom the man page it appears the runit stage 2 dies and restarts; that something makes runsvdir terminate... will see if I get the same issue02:35
rrqdid you complete the upgrade and ran into problem, or is this during the update?02:35
dvbstcompleted and then02:42
dvbstthe update itself went pretty seemless02:42
rrqok ... will take me a few minutes more...02:44
rrqwhile installing, I noticed deadalus-proposed-updates is not mentioned as a sources.list point.. you didn;t add that I guess?02:46
rrqdeb://deb.devuan.org/merged daedalus-proposed-updates main contrib non-free non-free-firmware02:47
rrqI haven;t added that yet, but it's possible it contains some package updates02:48
rrqhmm the upgrade started a serial line tty (?)02:49
rrq(doing dist-upgrade now)02:53
dvbstno i for sure didnt add deadalus-proposed-updates02:58
rrqon dist-upgrade it installed sddm while keeping lightdm ... did you select lightdm as the default?03:07
rrq(I did)03:13
rrqhmm needs more than 7G disk to upgrade...03:15
rrqobviously lxqt isn't a minimalist setup ... I cleaned out stuff early rather than restarting but rather tight filesystem03:17
rrqok. not getting your issue on reboot03:20
rrqI see that if you can edit the boot command line (at the splash) you can add the word "single" (without the quotes) to it; then the runit boot up will run sulogin on tty1 early in stage 203:33
rrqhmm ... no, maybe not; might be only when it's run under a different init03:36
fsmithredmaybe it needs to be runitdir=single03:38
rrqmmm .. or yes, maybe; if stage 1 runs, then that "single" on boot commandline should apply03:39
rrq(because stage 1 creates /run/runit.stopit, which is needed in stage 2 for that "single" feature03:40
dvbsti didnt have a choice on dist-upgrade of which dm i want, i had a prompt about some apt config file and grub, but thats all that there was03:44
fsmithredjust tested runitdir=single and it brings me to "give root password or ctrl-d"03:44
rrqdvbst: can you try that? .. adding "single" to boot command line (on the splash)03:45
dvbstnot now03:46
rrqok. which "display manager" do you use? sddm? lightdm?03:46
dvbstyou guys told me to flash a daedalus liveusb so now dd if=/dev/zero of=/dev/sda is running on that usb stick, it is currently on 30gb out of 6003:47
dvbstlightdm03:47
rrqok. hmm I wonder why you didn't get that choice dialog during dist-upgrade03:48
gnarfacehmm, i've had a sudden recollection of a issue with slim crashing on a loop because of missing nvidia drivers at one point in a previous release...03:48
dvbstand let me be clear, this system is at least a year old, and last time it was updated (before that update 3 days ago) was before 2023 christmass03:49
gnarfacein general, you're advised to make sure you've fully upgraded any installed release to all the latest packages from that release before upgrading to the following release03:50
dvbstso on the same day i pulled half a year worth of updates, because the guide said to do apt-get update && apt-get upgrade on the current system before moving further with the upgrade to 503:50
gnarfacebut, only one year old doesn't seem like that far out of date03:50
dvbsti mean, on arch, 2 weeks of not updating is so old that the system falls apart03:50
gnarfacehmm, yea that was the right process, if you finished it and it completed without errors that should be fine...03:50
gnarfacethat's one of the things debian's release cycles are specifically designed to mitigate03:51
gnarfacei'd be curious about what exact changes in the grub and apt configs you mentioned it complaining about, since there might have been evidence of some forgotten customizations that could explain this all, but i guess it's too late to find out now03:53
rrq(biab)03:53
dvbstim pretty sure that i installed this system in 2022, and updated it fairly regularly id say, like once per month at least, sometimes more frequently, but after christmass i forgot about it03:54
gnarfacei've upgraded multiple systems here from far longer ago and across multiple consecutive releases03:54
dvbstthe apt config i inspected, it was the same file as i currently had but it added more comments explaining things, so theres no difference, i chose to pull the new one so that its more clear if i actually go ahead and try to change something there in the future03:55
gnarfacemaybe the graphical login manager actually is crashing on a loop and that's what's causing your console blanking issue, seems plausible. if that's the case, launching in single user mode should let you fix things up03:56
dvbstbut with the grub one i couldnt inspect cuz it was binaries i think, or at least all that it said was that the files arent the same and nothing else, so for as long as ive been on linux, changes like that in grub never meant anything good cuz it messes up the partition uuids and stuff so i chose to keep the old one03:57
gnarfacehmmm03:58
dvbsthonestly now that you mention it, i wonder if i had the nvidia drivers installed would the dm just pop up normally and only the tty would be littered on, which would allow me to log into the system and do stuff03:59
gnarfaceyea, since you get past grub, i'm leaning towards the issue being a problem such as that with the graphical login manager (aka "session manager") here, in which case the solution would be to either install the nvidia drivers from the non-free section, or just switch to a different session manager (or do without a session manager)04:00
dvbstbecause the error logs and the gui are seperate04:00
gnarfacebut either way you will likely have to or at least want to edit your kernel command-line parameter04:00
gnarfacewhich must be done in the grub config04:00
gnarfaceyes, the GUI errors will most likely be going into /var/log/Xorg.*.log or in your user's home directory in ~/.local/share/xorg/Xorg.*.log04:02
dvbsti still can try what i usually to, which is: wget the driver from the nvidias website, apt-get install linux-something something amd64 something something headers, then ./the nvidia driver, click through the wizzard and reboot04:02
gnarfaceand if your session manager is crashing on a loop, the files there probably still have a record of it04:02
gnarfaceno, don't use the nvidia shell script from their website04:03
dvbstwhy not? thats what i always do04:03
gnarfacethat will just set you up for another pitfall in the future; it's not deb dependency aware. in fact, if you did that on your old install at any time before upgrading, it could be very well the root cause of this problem you're having now04:03
dvbstyea i did that at least like 20 times on that system04:04
gnarfacebad idea. always use the packages from the repo, unless you're building your own and know what you're doing04:04
gnarfacenvidia staff, - and this can't be understated - do not04:04
dvbstwhy do you not trust anything at all thats not from the repo? the drivers i need just arent there04:05
gnarfaceusually the drivers you need are in fact there or in backports04:05
gnarfaceand why is from literally decades of experience04:05
dvbstwhat is the difference between the stuff from the repo and the stuff from their website then? the drivers, steam, discord and all that are closed source stuff so its not like you can really change anything in it, unless by "the drivers that work for your gpu" you mean the noveau stuff or however its called, if yes then id rather stick to the stuff from their website honestly04:08
gnarfaceif you really "need" newer nvidia drivers than are even in backports, and can't wait for them to reach backports (which is usually an error of judgment, but i'll concede there's occasionally those situations, if you're a gamer) then you'd honestly be better off just running the unstable release, so you can at least use natively packaged debs that won't always hose your system04:08
gnarfaceno, the difference is the deb package dependencies themselves04:08
gnarfacewhat you're missing is that nvidia's shell script doesn't give a shit about upgradeability04:09
gnarfaceit doesn't even bother testing for that04:09
gnarfacethey've got no mechanism to keep it from hosing your installation's internal package dependency tree and they don't care; they expect you to just reinstall04:09
dvbsti see04:10
gnarfacethe packages themselves are the change in question here04:10
gnarfaceand no, we're not talking about nouveau, but that's a completely different case, nouveau driver crashes could be causing these exact same symptoms, for different reasons04:10
gnarfaceso, the first thing you want to do when you boot successfully into single user mode is verify whether you're using nouveau or nvidia drivers, and verify which session manager it's actually trying to start (i know you said lightdm but let's make sure004:12
gnarface)04:12
gnarfacelightdm is usually the one with the least problems but you never know04:13
dvbstwhy isnt this information more easily available? i had no idea that backports and all the other stuff even exists, and no, i dont really game much these days, i used to play a lot when i was younger but after +100 hours in everything, playing games just isnt fun anymore, id rather go outside and play volleyball or something, i wanted to sell this gpu but i dont really have a replacement so in the end i didnt bother04:13
dvbstim 100% sure im using the nvidia drivers and lightdm, i dont have anything else installed04:14
dvbstalso i went kinda offtopic with this last message, im sorry04:14
gnarfacei didn't do it, so this is not meant to be an excuse, but some information is just easier passed like this, for various economic and logistical reasons that are far older than modern society04:14
gnarfacepeople are still using IRC because you just can't actually improve upon this04:15
dvbsti still find it crazy that you dont have documentation on devuan.org, void has documentation and they even have a web interface where you can check what packages you can install with xbps and whats the current latest version there04:15
gnarfaceand yes, it's off topic04:15
gnarfacesome of this information is probably available just not very well indexed by google, and that's probably at least partially google's fault04:16
gnarfacefor example, youc an check packages at pkginfo.devuan.org04:16
gnarfacethere's also a lot of info ni the forum04:17
gnarfacea lot of us have learned from debian wiki pages that have since been deleted04:17
gnarfacenot all that info has been ported, copied or replicated - probably a failure of the community as a whole04:18
dvbsti would just add a simple page like "basic information to get started" on the main page and then explain all the devuan stuff you have going on here like the backports, the dev1galaxy forum (why is it even like that? was that the cheapest domain or something?), the irc, how the releases work and all that in one place thats easy to find and read04:18
gnarfaceheh, yes the domain was setup before hand by a community member then donated to the project04:19
gnarfacei was concerned about the optics myself and was informed they want you to ask about that in person04:19
gnarfaceand the backports thing is a debian thing - that's an example of documentation you can get from debian still04:19
gnarfaceso much effort was made to preserve the original debian behaviors from the wheezy release that for the most part you can still rely on debian documentation except where systemd is concerned04:20
gnarfaceif there's something you can't find, try checking the archive.org records of the debian wiki04:21
gnarfaceand all these questions were questions i originally asked of #debian years ago04:23
gnarfaceand i was given basically these same answers, plus:04:23
gnarfacehttps://www.debian.org/releases/stable/releasenotes04:23
gnarfacehttps://www.debian.org/doc/manuals/maint-guide/04:23
gnarfacethese two links, which you're expected to read first04:23
gnarface(and after a long argument someone eventually conceded that they had in fact obfuscated the important information on purpose "to make sure people were serious" - which i agree is misguided)04:24
gnarfacei don't really have much to add to that, but we should really continue this in #devuan-offtopic if you do04:24
dvbstand also, pretty much the only good guide on how this works and how to get started with unix systems as a whole in on the dragonflybsd's website, im sad that i found it after i learnt all of this the hard way, but im glad i found it in general so that i can show it to my friends who are just starting out, and its not like this is easy to find either, most people when they get started think that unix and linux is the same thing, and the only thing you can04:24
dvbstfind when youre a new user is why you should install xubuntu instead of kubuntu04:24
dvbstthe debian website looks like poop, you have to go back to your search engine and type "debian bookworm 11 12" to find out if bookworm is the 11th release or the 12th release because finding that on their website is just impossible04:27
dvbstand yea sorry for going offtopic, thats all04:27
rrqdvbst: if you can boot with "single" we could check what breaks04:29
dvbstim still clearing the usb, its on 50gb now, just 10 more04:30
gnarfacedvbst: bookworm is the 12th release, i'm sorry that i can't make it any easier than just straight up answering your questions. i realize that means you have to think to ask me first, before you make a mess, lol. even if i wrote it down on a wiki somewhere, i doubt it'd make it any easier, and that's one more courtesy than you'd get from the debian people, i guarantee it04:30
rrqthe first check would be to try the command: /lib/runit/run_sysv_scripts /etc/rc2.d04:30
rrqand see what happens04:31
dvbsti already have the daedalus live iso ready, so im just waiting for the usb to clear and then i can test all of this04:31
dvbstbecause im clearing it on the live iso on that computer04:31
gnarfaceit really probably wasn't necessary to zero the whole thing, but i can understand wanting to do that for the sake of paranoia04:34
dvbstso first of all, i had issues with the liveiso not even booting because i flashed the iso right onto a usb that had another iso flashed on it before04:35
gnarfaceyea, there's a rare possibility something like that might happen in certain cases, when you flash a small live iso into the footprint of a larger iso, especially if the former has blank spots in it in places, but you'd still only have pre-zero up to about one whole filesystem block past the end of the new iso's footprint04:37
gnarfacezeroing the whole thing out is fine but it's overkill04:37
dvbstand second of all, it is some random usb i found laying around that i got from someone who may or may not have put something that could damage my computer if i plug it straight into my actual system, if i plug it into a live iso and it does something to it, then ill just reboot the pc and its all good again04:38
dvbstit is a rare possibility, but it happened to me 4 times already04:38
gnarfaceto be absolutely clear, some random USB you found lying around could absolutely fry your computer even with just zeroes in the storage04:38
gnarfacebut wanting to zero the whole thing just to make sure it's got no bad blocks is fine motivation too04:39
dvbstoh well04:39
gnarfacejust... not strictly necessary for this task04:39
rrqactually, first test should be: runsvchdir default04:39
dvbstby damage i meant that there is something that would execute on my system when i just plug it in, not physicly fry the board04:40
dvbstbut good to know, ill keep that in mind for next time04:40
rrq... and see what happens; that command shouldn't exit I think04:40
dvbstrrq, i type that in the grub console right?04:41
gnarfacedvbst: yea, as long as what you wrote to the front of the disk is what is actually booting on it, loose data from an old image trailing the new image's footprint just needs a tiny bit of empty space as a gap between it and your intended boot image to make sure it's not a problem04:41
rrqno, you type "single" on the boot command line04:41
rrqthen boot, which should come to a root command line (sulogin) in the beginning of runit stage 204:42
dvbstso how do you want me to execute that command? on the chroot?04:43
rrqthat's where you run: runsvchdir default04:43
dvbstso its not the first test, the first test is "single" in the grub command line04:43
rrqfair enough :)04:44
dvbsti need to check if that even does something04:44
dvbstno stress, you have time to make yourself some tea or food or both before its done zeroing out04:45
gnarfacedvbst: while you're editing it to add single, remove any references to quiet or splash, just to help make it easier to see what's going on04:45
dvbstif the only thing youre doing is helping me here ofc04:45
dvbstno theres nothing, no quiet or splash or anything, when i tried to put in the nomodeset then that was the only thing in there04:46
dvbsti think04:46
dvbstill check it and tell you04:46
gnarfacehow are you getting there? you get to the grub menu and you press "e" to edit the default entry, right?04:47
rrqhmmm the actual boot command line (of the boot splash) has lots on it04:48
dvbstgnarface, yes i am04:48
gnarfaceit should give you a prompt pre-populated with the existing kernel command-line i thought...04:48
rrqyes, you push e, then move to the "linux .." line and add the work single to it04:48
rrqword04:49
gnarfaceoh, it's probably a multi-line entry, so you might have to move the cursor down too04:49
gnarfacei remember having problems in some cases seeing the whole thing at once, kinda having to navigate around with only a tiny section of it in view, ymmv...04:49
gnarfacei think it uses emacs command-line bindings, so if the up/down arrow keys aren't working try ctrl-p, ctrl-n04:50
gnarfacewell, i'm gonna have to afk pretty soon here but i'll be back later04:55
dvbstokay04:57
gnarfacejust make sure you report your results here so we can see them later04:59
gnarfaceand try to stay connected to see any responses if you can04:59
rrqI tried single login on my VM... works fine but it'll take a bit of checking to find what's broken05:01
dvbstyes yes, you got it05:03
rrqdo you have a file /etc/X11/default-display-manager05:17
rrqand does it say /usr/sbin/lightdm05:18
dvbstokay so remember when we dpkg-reconfigured grub in the chroot?05:52
dvbstthe boot command line options are now different05:53
dvbstand now there is something here, not just 2 lines05:53
dvbstim just gonna add "single" there and boot05:54
dvbstit says it cant find command single after i ctrl+x05:55
dvbstyes i think thats all im gonna try tonight, its almost 6 here, ive seen both the sunset and the sunrise while we were trobuleshooting my computer today05:58
rrq?06:02
rrqthe boot splash comes up as the very first things after "reboot"06:03
rrqthat is wher you press "e"06:03
rrqbut maybe tomorrow06:03
temp64Hi, what would be the best way to install Devuan with root on LUKS + F2FS and SecureBoot enabled? AFAIK the official installer doesn't support F2FS as root and I was thinking I might be able to use debootstrap from a live image USB, but I'm really not sure where to begin.11:12
fsmithredtemp64, all the devuan live isos have debootstrap installed. And you can use other filesystems if you use the cli version of refractainstaller to do the installation.12:04
fsmithredSet /etc/refractainstaller.conf to "do not format" and pre-format the partitions. Then select those for the install.12:05
temp64pre-format meaning create the partitions and the filesystems, right?12:06
fsmithredIf you figure out how to do secure boot with devuan, please tell us how.12:06
fsmithredyes12:06
temp64ok12:06
fsmithredgparted cfdisk or gdisk12:06
fsmithredoh...12:06
fsmithredthat's gonna be tricky with lucks12:06
fsmithredI don't recall what "do not format" does when you select to encrypt the partition.12:08
fsmithredAfter I finish my first coffee, I'll look at it.12:08
fsmithredoh right, you were going to do debootstrap. Forget about refractainstaller.12:09
temp64actually, I'm only trying to meet the corporate requirements so that I may use a Linux laptop instead of a mac and I just found out ThinkPads have a "hard disk password" option in the BIOS12:09
temp64it's supposed to use Opal so I don't think I need LUKS in this case12:10
fsmithredMake the partitions, make the encrypted container, open the encrypted container, make the filesystem and then run debootstrap.12:10
fsmithredI don't know if anyone has got devuan working with secure boot.12:11
temp64does Devuan use this shim bootloader thing? I've read that motherboards come with shim keys by default12:12
temp64it's probably why I could boot Fedora without disabling SecureBoot12:13
fsmithredwe use all debian packages except those that require systemd.12:13
fsmithredyes shim12:13
temp64I might not even need to do anything then12:14
fsmithredhave you ever done a debootsrap install12:19
temp64once or twice12:19
fsmithredIf you're familar with the arch install scripts, you can install those from the repo and use them. I'll find the package name if you want. Otherwise, you do stuff manually (the bind-mounts)12:21
fsmithredoh, it's called arch-install-scripts. I've never used it.12:23
temp64right now I'm slightly confused because `mount -o atgc,gc_merge,lazytime /dev/nvme0n1p3 /mnt` returns "mount: mounting /dev/nvme0n1p3 on /mnt failed: No such file or directory" even though both the drive and /mnt are there12:24
fsmithredthat is weird. I don't recognize any of your options.12:25
temp64oh, seems like the BusyBox needed some help with `-t f2fs`12:25
temp64BusyBox mount*12:25
fsmithredwhy are you in busysbox?12:26
temp64that's what Devuan installer dropped me into when I selected the "Execute shell" option or however it's called12:26
fsmithredoh12:26
fsmithredyou might be able to switch to bash if that would help.12:27
temp64it's not there. it shouldn't be an issue though12:28
temp64oh i'm boned12:41
temp64I can't even see wlan0 and the laptop has no ethernet ports12:41
dvbstthe boot splash, you mean the grub boot splash right? thats where i did it12:42
fsmithredtemp64, maybe run through the installer to let it set up the network and choose mirror, then drop to shell?12:48
fsmithreddo you know what wireless chip you have?12:48
fsmithreddvbst, yeah, at the grub boot menu press e12:50
temp64I have no idea but I rebooted and selected the rescue mode option which presented me with a Wi-Fi setup menu, so it works now12:52
fsmithredcool12:52
fsmithredlspci will show you your hardware12:53
temp64it's probably an AX200 or something else running with iwlwifi12:53
fsmithredyou'll need to install the right firmware package12:54
fsmithredoh yeah, you said thinkpad. firmware-iwlwifi is probably right.12:54
temp64does it look right? `debootstrap --arch amd64 daedalus /mnt http://devuan.sakamoto.pl/merged daedalus`13:00
temp64actually, is there a script to select the fastest mirror like the one Gentoo guys use?13:02
rrqdvbst: when you type "e" to the boot splash, it should bring up a display with many lines, and in particular one starting wiht "linux" and ending with "quiet"... all within an "ascii frame"13:08
rrqis that what you get?13:08
dvbstok this is really wierd13:19
dvbstso one time i boot and its a few commands, most notably "echo Loading initramfs something something" and stuff like that13:20
dvbst(my system is encrypted if i didnt say that already)13:20
dvbstbut other time its just 2 simple lines and thats it13:20
dvbstand they read13:20
dvbstsetparams "UEFI Firmware Settings"13:21
dvbstfwsetup13:21
dvbstand that is the whole thing13:21
dvbstim in the grub boot menu, and i press e13:21
dvbstthats what i do13:21
rrq(oh.. uefi ... I installed legacy; have to do it again)13:22
dvbstbut when i reboot, press e on the grub menu, same way i did it before, sometimes it shows more options13:23
rrqit's supposed to be consistent13:23
dvbstthats what i thought too13:24
rrqit'll take me a couple of minutes to have an uefi chimaera install... then upgrade ..13:25
dvbstyes its literally random, the other one starts with setparams "Devuan GNU/Linux", do you want me to type out the whole thing?13:27
rrqnot needed form me... fsmithred might have some idea about what's happening13:28
rrqsome efi bios try to be helpful and remember stuff from prior boots13:30
rrqbtw did you check for file /etc/X11/default-display-manager ?13:32
dvbstyes so when i add "single" on the boot splash with just 2 lines and saying UEFI then that just crushes and puts me back in the bios, and when i add "single" to the one saying Devuan then it says that its a command not found13:32
dvbstno i havent yet, ill do that now13:32
rrq(I'm halfway on the chimaera install)13:33
dvbstthe /etc/X11/default-display-manager just has /usr/sbin/lightdm in it13:41
dvbstok, so the next thing we wanted to try was to install the nvidia drivers right? and if i dont do it through the .run file on their website but through backports if thats what it was, then how do i do it?13:43
rrqgraphics is not my thing ... gnarface: ^^13:45
dvbstso now we wait13:47
rrqthere seems to be something odd with your grub boot though. when pressing "e" on the boot splash you should get an "ascci frame" around a heap of text, with a line starting "linux" ending "quiet"13:50
rrqwould be the 6:6h line or so13:50
rrqit sounds like you get something else13:51
rrq(I'm still upgrading)13:51
fsmithredtemp64, yeah that line looks right. I don't know a way to automatically find the fastest mirror.13:56
fsmithreddvbst, rrq I'm pretty sure I've seen different output at different boot times, but I've never seen anything but a boot entry when I press e at the menu.13:58
fsmithredI mean output at the beginning of boot on different occasions.13:58
Xenguytemp64, There's 'netselect-apt' , but I actually have never tried it13:58
fsmithredoh! apt-panopticon has a column of speed ranges for the mirrors: http://veritas.devuan.org/apt-panopticon/results/Report-web.html14:00
temp64in that case, either the mirror or debootstrap must have done something wrong because I chrooted into a system without /etc/passwd :|14:00
fsmithredew14:00
temp64Now I did `debootstrap --arch amd64 cerest /mnt`, which installed a lot more packages than the previous command but failed with "W: Failure trying to run: chroot /mnt dpkg [...] --install /var/cache/apt/archives/adduser_3.137_all.deb /var/cache/apt/archives/cron-daemon-common_3.0pl1-189_all.deb"14:03
temp64All I have to do before running debootstrap is mount the root and boot partitions, right? Or should I bind-mount the rest?14:04
rrqtemp64: you may want to add --variant=minbase to the debootstrap14:04
rrqI'm not sure what you get without --variant=...14:04
fsmithredminbase is like un-checking standard system utilities in tasksel14:05
fsmithredYou might want some of those utilities and they don't take up a lot of space.14:05
temp64Never mind, my fault. I bet debootstrap tries to pull Debian binaries when you don't specify a Devuan mirror. /mnt/debootstrap/debootstrap.log says that cron-daemon-common depends on systemd | blah blah blah14:06
fsmithreduh, yeah, you need to use a devuan mirror. http://deb.devuan.org/merged14:09
fsmithredand you don't need to put "daedalus" at the end of that debootstrap command. It's already in the middle.14:09
temp64oh, ok14:10
fsmithredI'm doing a ceres debootstrap right now14:11
temp64same14:11
temp64debootstrap defaults to SysV init, right? IIRC the "normal" installer prompts you to select from a few different init systems14:12
fsmithredyes14:13
fsmithredI think you could specify packages to get another init. Which one do you want?14:13
temp64sysv is fine14:14
fsmithredoh...14:14
fsmithredwhat's the right option -   maybe --exclude=cron-daemon-common14:14
fsmithredI forgot about that and I don't remember the exact issue, but skip it.14:15
temp64it failed for you as well?14:15
fsmithredyes14:16
fsmithredTry this: debootstrap --arch amd64 --exclude=logrotate,cron,cron-daemon-common ceres /mnt  http://deb.devuan.org/merged14:17
dvbstfsmithred, rrq, do you want pictures of what im seeing?14:19
fsmithredIt's a known issue. If you were doing this in an installed system for from a live-cd you could install mmdebootstrap and use that instead. Here's a discussion about it: https://dev1galaxy.org/viewtopic.php?id=634014:19
fsmithreddvbst, yes, but I could not see the pics you uploaded yesterday.14:20
dvbsthow?14:20
temp64"Base system installed successfully"14:20
rrqdvbst: sure you could try https://transfer.rrq.au14:21
dvbstyou just paste the link in your browser and thats that14:21
fsmithredI could not access the web page.14:21
fsmithredI forget what message I got.14:21
dvbstrrq, yes, this link works, thats good. after what time do the files expire?14:22
rrqa week I think14:22
fsmithredworks for me, too14:22
rrqwhich link?14:23
fsmithredrrq, when you have nothing better to do and get bored, you can make selectable expiration time.14:23
XenguyThere's also 0x0.st14:24
rrqyes 0x0.st handles for larger files14:27
fsmithredI uploaded a small .png file and get the following when I go to the link: html/template: "download.image.html" is undefined14:29
rrquse wget14:30
rrqnot a browser14:30
rrq(or curl of course)14:31
fsmithredwget works14:31
dvbsthttps://transfer.rrq.au/NByR68rhok/lesstext.jpg14:39
dvbsthttps://transfer.rrq.au/8iuwNcnuvg/moretext.jpg14:39
rrqright; it suggests there's something with your graphics adapter... the "moretext.jpg"  is almost compete, and there you see the "linux" line14:41
rrquse arrow keys to go dpwn to it, then cttrl-e to got to end, then add space and stable14:41
dvbstyou want me to add space and then write the word "stable"?14:42
rrqyes at the end of that line14:43
rrqthen ctrl-x to use the edited boot entry14:43
dvbstokay im on it14:43
dvbsterror: cant find command "stable"14:45
rrqdid you add that to the end of that line?14:45
fsmithred  single14:45
dvbsti did14:45
fsmithredor maybe runitdir=single14:45
rrqright... I'm tired :)14:45
rrqno just "single"14:46
dvbsti already did that in both configurations14:46
dvbstin the lesstext it just goes back to bios and in moretext it says error: cant find command "single"14:46
rrqit would do that if "single" is on the wrong line14:47
dvbstits at the bottom of the file14:47
rrqthe word needs to be at the end of that line that starts with "linux"14:47
rrqon that same line14:48
dvbstokay14:48
fsmithredctrl-x to boot14:50
fsmithredthen it should ask for root password or ctrl-d. Give root password.14:51
* rrq too tired. bedtime14:53
fsmithredyou're up late14:53
dvbstoh wow okay that did something14:53
dvbstgood night man14:53
fsmithreddo you have a root prompt now?14:53
dvbstyes14:55
dvbstyes i do14:55
dvbstwow14:55
dvbstthis is crazy14:55
dvbstwhat is this? ive never seen linux like this14:55
dvbstwow okay, i am in the system right now, all works14:56
dvbstand the 6.1 kernel14:57
fsmithredwhat do you mean? You never worked in plain old console?14:57
dvbstno its just that it spits out way different messages and ive never actually seen the "or press ctrl-d to continue" message14:59
dvbsti never logged into the system through something different than a tty or a dm15:00
fsmithredin sysvinit you get there by running 'init 1'15:00
dvbstokay so what do we do now?15:00
fsmithredsingle user mode15:00
fsmithredyou are in the boiler room. You have control of the entire building.15:01
fsmithredWhat would you like to do?15:01
fsmithred535.183.01-1~deb12u1 is the version of nvidia-driver in daedalus15:01
fsmithredI don't think there's any in backports15:01
fsmithred(I can't find it)15:02
dvbstthe newest ones should be the open source ones and theyre named differently15:02
fsmithredwtf? open source nvidia? You don't mean nouveau do you?15:02
dvbsti dont15:03
dvbsthttps://developer.nvidia.com/blog/nvidia-transitions-fully-towards-open-source-gpu-kernel-modules/15:03
dvbstoh well, they still want us to use the .run script15:04
fsmithredI see nvidia-open-kernel-dkms and nvidia-open-kernel-source15:04
dvbstnvidia-kernel-source-open should be the thing15:05
fsmithredok, I've used the nvidia .run script in the past. I usually had to specify a lower version of gcc to match the one used to compile the kernel.15:05
fsmithredand then you have to run it again every time there's a kernel update. Those are more frequent in the past few years.15:06
dvbstlook lower in that article, it says how to get them on the debian based distros15:06
dvbstidk what -V does15:06
dvbstis it verbose?15:06
dvbstfsmithred: yes i know, ive been doing so for the last year15:07
dvbstbut gnarface was really upset that i was doing so15:08
fsmithredyeah, because he's seen it screw up systems. I've only seen it be a pain in the ass.15:10
fsmithredI forget what else you were supposed to do. I think I told you to disable lightdm, but I guess you don't have to do that now that you can boot to single user.15:11
dvbstive only seen it working fine, but im trusting you all cuz you all have been using this for longer than i live15:11
fsmithredI stopped using nvidia driver a few years ago.15:12
fsmithredswitching from using the .run to packages or vice-versa is also a pain.15:13
fsmithredoh, what did you do with bluetooth? I think you said you deleted everything.15:13
fsmithredas opposed to removing the packages?15:13
dvbsti didnt delete everything, but the system thinks i did15:14
dvbsti just moved everything to another directory15:14
dvbstthe only package i removed was avahi15:14
fsmithredbetter choice is to either remove the package or just disable the service.15:14
dvbstand thats right about all i did, i removed avahi and moved the bluetooth files so runit doesnt see them15:15
fsmithredupdate-service --remove /etc/sv/<service>15:15
dvbstmoving the files is disabling the service essentially15:15
fsmithredI guess it depends on what you move.15:15
fsmithredI don't know if runit spits out errors if you have a dangling symlink.15:16
dvbstrunit starts whatever is in the directories15:16
dvbstif its not in the directories then it doesnt know that it had to start it15:16
dvbstat least thats how i understand it15:16
fsmithredchecking...15:17
fsmithredrm /etc/runit/runsvdir/default/bluetooth15:18
fsmithredwould delete the link in the default state.15:18
fsmithredoh that's probably rm -r15:20
dvbstwelp its one of the files i moved already15:23
fsmithredupdate-service --remove <service> does the same thing and also stops the running instance of the service.15:23
fsmithredso I think you're safe.15:23
dvbstit didnt matter if it was running or no because i did that on a chroot15:24
dvbst(i think)15:24
fsmithredand now you booted the system directly.15:24
dvbstyup15:26
fsmithredare you installing nvidia now?15:30
dvbstshould i?15:31
dvbsti thought we were waiting for gnarface with that15:31
fsmithredyeah, that would complete your upgrade, wouldn't it?15:31
fsmithredyou already had it installed in chimaera, right?15:31
dvbstyup15:32
dvbstdo i do it with the .run from their website?15:33
fsmithredIf you want to wait and find out how to do it properly with repo packages, then you could probably find and remove any nvidia stuff that's hanging around. I'm not sure if the --uninstall option on the .run script would do anyting after the upgrade.15:33
fsmithredI might get chastised for saying this, but it might make sense to do it the way you're using to doing it.15:34
fsmithredcaveat: I have to leave soon.15:35
dvbstyea so ill just wait for everybody to get on again i guess15:35
dvbsti have time15:35
dvbstbetter wait and do it properly than rush it and mess it up15:35
temp64is it safe to rm -rf /usr/lib/systemd?17:43
cousin_luigitemp64: What happens when the next package wants to install something in it?17:46
temp64I'm not sure why Devuan packages install *.timers and *.services in the first place17:47
temp64is there a sysv script that starts wpa_supplicant?19:09
fluffywolfI think wpa_supplicant is usually started by whatever manages the wifi connection (wicd, network-manager, ifupdown, etc)20:29
cousin_luigiPerhaps temp64 would like to start it up by hand on a headless system?20:30
cousin_luigiiwd might also be an option, if only a client is needed.20:31
fluffywolfthen you configure it in /etc/interfaces and ifupdown does it, no?20:32
temp64I have no idea how ifupdown works. In any other distro, wpa_supplicant is a daemon started just like cron, ntpd, dhcpcd and all the others so it seemed unusual that I couldn't find its scripts in /etc/init.d20:39
fsmithredI think the goal is to install to encrypted f2fs which is not available in the installers. I don't think headless is the plan (it's a laptop).20:39
fsmithredoh, hi.20:40
temp64fsmithred: you asked earlier about SecureBoot, installing shim-signed and running grub-install seemed to be enough20:41
rwpUsually the instruction wpa-roam in the /etc/network/interfaces file is used to start it.20:41
temp64I somehow installed dhcpcd and wpa_supplicant without having /etc/network/interfaces20:42
rwpThe actual script is /etc/wpa_supplicant/ifupdown.sh which is called when wpa-roam is instructed.20:43
rwpIt's symlink'd into place at /etc/network/if-pre-up.d/wpasupplicant20:43
rwpIt's an event driven interface and everything through that path happens on-demand as events occur.20:44
rwpThere are a zillion different valid ways of doing things.  You don't have to use ifupdown.  It's just been the traditional method for decades.20:44
rwpAnd with that I must run off...20:45
temp64oh20:45
temp64I do have the files you mentioned but my /etc/network/interfaces is just an empty file that sources (also empty) /etc/network/interfaces.d/*20:45
temp64maybe someone else knows which packages I'm missing... pretty sure this isn't supposed to look like that20:46
fluffywolfit's empty because you haven't configured an interface by adding something to it.  lol20:46
temp64how am I supposed to configure an interface without wpa_supplicant running?20:47
temp64when I don't even know the SSIDs around me20:47
fluffywolfit sounds like network-manager or such might be what you're looking for?20:48
rwpI haven't quite left yet so...  Normally one has this in /etc/network/interfaces20:48
rwpiface wlan0 inet dhcp20:48
rwpwpa-conf /etc/wpa_supplicant/wpa_supplicant.conf20:48
fluffywolfif you're going to do it all through the command line, then you use iwlist scan to find ssids, add the configuration you want to /etc/interfaces, etc...  but it sounds like you're looking for a manager type program instead.20:48
fsmithredtemp64, have you installed any desktop or window manager?20:48
rwpAnd that's all there is to it on that end of things.  The rest of the configuration is in /etc/wpa_supplicant/wpa_supplicant.conf which also needs something so that wpa_gui can talk to it.20:48
temp64oh, that makes sense, thanks rwp20:49
rwpBy default these days people are defaulting to NetworkManager which takes over everything itself internally and no other configuration is needed at that point.  So all of the files are empty by default.20:49
rwpBut if you don't use NetworkManager and you use something else (like a very many of us do) then those other things need configuration.20:49
fsmithredwpa_gui is pretty easy to use. There are instructions on devuan.org for using it.20:50
rwpThe file /usr/share/doc/wpasupplicant/README.Debian.gz documents these things but it can be a little expansive.  It needs the simplified cases.20:50
rwpGo with using wpa_gui but as I understand it there needs a couple of lines in wpa_supplicant.conf to enable the communications interface to it.20:51
rwpAnd now I really must run off!  TTFN!20:51
fsmithredI think wpa_gui edits wpa_supplicant.conf, but you may be right about doing something to get it started.20:53
fsmithredI can't find the instructions, and the laptop that has it set up is out in the car right now.20:54
temp64getting it running wasn't the issue, I did set my Wi-Fi up by starting wpa_supplicant by hand20:55
temp64it's just the lack of init scripts that was confusing20:56
temp64I think other distros come with init scripts for wpa_supplicant by default and simply assume that it should run on wlan0 since 99% of the time this is the first and only wireless card on the PC20:56
fluffywolfI think the usual debian/devuan way is that wpa_supplicant isn't something you use on its own, so you don't start it on its own.20:57
fluffywolfifupdown or networkmanager are the normal debian/devuan ways to use it20:57
temp64I'm gonna do it the ifupdown way then20:58
fluffywolfI still use wicd, but it's not available anymore without frankendevuaning.20:59
Xenguytemp64, https://www.devuan.org/os/documentation/install-guides/chimaera/network-configuration.html21:06
XenguySee section 'Using ifupdown'21:07
XenguyWorks fine here, I like it21:07
onefangReading through the nights backlog.  fsmithred mentions the column of speed ranges from apt-panopticon.  When you mention that you should also point out that it's the speed measured from the server apt-panopticon is running on.  Which is why I like to have a few instances of apt-panopticon spread around the world.  Obviously the one running on my own mirror gives my own mirror an incredible speed measure,22:24
onefangcoz local SSD is much faster than the Internet, even if filtered through my local web server.  Which brings up the other issue, if a particular mirror has faster bandwidth than the server running apt-panopticon, then it can't measure that excess speed.  So in general, take those speed measurements with an appropriate dose of salt.22:24
* onefang finishes reading and considers brekky. Suns up.22:29
fsmithredonefang, thanks for the clarification.22:40
dvbsti like how rwp does everything so that people dont use networkmanager22:41
fsmithredaka Network Mangler22:50
dvbstyou guys remember that random usb stick?23:14
dvbsti "dd if=/dev/zero"ed it, and now i wanted to check if its legit or no, so i hexdumped it23:15
dvbstand it is zeroes for the most part, but theres also random 1's, 8's, 4's and so on in random places23:15
dvbstthere is either something sketchy going on, or this was so cheap that the corruption rate is unreal23:16
dvbstthis is apparently a 64gb usb and it has usb-c, usb-a and microusb ports23:17
dvbstand is like 1mbps write speed too23:18
dvbstso idk if i want to use that as my installation media23:18
fsmithreddebootstrap is popular today23:19
fsmithredyou can check the integrity of the media before you run the installer23:19
gnarfacedvbst: did you install your nvidia drivers yet, and which actual card do you have, as reported by lspci?23:38
gnarfacei don't know what's up with your usb key, but the whole thing doesn't have to be good for it to work as a boot disk, just the first part of it23:38
dvbstoh hi, i was waiting for you to tell me how to get the drivers the correct way23:40
dvbstso i didnt touch it yet23:40
gnarfacei skimmed the scrollback... glad you it seems you got a handle on it, but i thought you said you were booting this thing in legacy mode, am i remembering that wrong? if it's giving you intermittent UEFI errors that's weird, and sounds like a bios issue that might be worthy of checking the manufacturer source for a updated version23:40
gnarfacei think you have to have a relatively new card for nvidia's official "open source" drivers (and not actually open source here, just slightly more open than the others, similar to the way amdgpu is setup, maybe)23:41
gnarfaceanyway, figure out which nvidia card you actually have and we can probably figure out which packages to install based on that23:42
gnarfacethe primary reason you want to try the repo versions first before the .run shell script (aside from the stuff i mentioned yesterday about package dependencies) is that nvidia's quality control is also complete garbage, and usually you don't want to be the first one to try out their brand new drivers, which is what you'll be every time you use their .run script.23:43
gnarfacethe versions from the repo for the stable release have had time to cool off, so they have the most chance of actually being stable23:44
gnarface(and compared to AMD that's still not gonna be great chances, but it's statistically enough of an improvement to be the safer bet)23:44
gnarfacelspci should report the card by a non-ambiguous identifier23:45
systemdlete what is the official way to create a new configuration file for virtual  host?  There are a2enmod and a2enconf commands for enabling modules and configurations, but there doesn't seem to be any particular tool for creating a new config file for a virtual host.  Now, I know it actually doesn't matter, but if I want to be future-proof and in compliance with debian/devuan standards and so forth...23:46
systemdlete(I asked in #httpd, and I was told that this is distro-dependent)23:47
dvbstno i dont think i ever mentioned legacy in this chat, and yes, the whole motherboard is wacky, after one power outage the rgb just never turns off even when everything else is off, the only way to make it not shine is to take the power chord out. also it is one of the models that was vulnerable to the cosmicstrand exploit, but i had updated the bios shortly after that went public. still, the rgb keeps being on when the computer has power and theres nothing23:50
dvbsti can do about it23:50
systemdleteis it kosher to create it in the enabled-sites subdir, since the main apache config is including all the *.conf files there already?  Or is there a better way?23:51
systemdleteor could that interfere (potentially, in the future) with the scheme?23:52
systemdleteOR... should I just go ahead and create the new vsite in one of the conf files in enabled-sites?23:53
systemdlete(I *know* I can do that.  I *know* that there are probably 12,637 ways to do it.  I just want to know if there is any customary admin protocol?)23:54
dvbstgnarface: yes i know, i checked it and my card is one of the oldest that is on the list, i have a 2060 and it is the Turing architecture23:56

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