libera/#devuan/ Friday, 2020-12-04

suavedandyWhat is asynchronous discard?00:48
suavedandyIs it continuous discard or…?00:48
suavedandyI mean, continuous TRIM.00:48
gnarfacei think the discard mount option enables continuous TRIM, yes, correct00:51
gnarfaceaccording to my sources though, whether it is synchronous or asynchronous TRIM is a hardware thing00:51
gnarfacesome brands do one, some brands do another00:51
gnarfacedifferent performance impacts for both00:51
gnarfacethe generally accepted advice i've heard though in either case is not to use it00:52
gnarfaceand to cron fstrim instead00:52
gnarfacei think that the less that gets written to the disk the less it matters though too00:54
gnarface(the advice not to use discard is based on both the higher load impact and the higher wear impact)00:55
suavedandy"…we did not add discard to the crypttab. This is due to the fact that Btrfs async discard support is quite new, but [Ubuntu] 20.04 still runs kernel 5.4…"00:56
gnarfaceso presumably that means you have to fstrim01:05
gnarfacei guess?01:05
gnarfacecron this weekly:  /sbin/fstrim -a -v01:05
gnarfaceor, i guess probably not -v if it's a cron01:06
gnarfaceunless you want it mailing you the status01:06
gnarfaceprobably something more like: /sbin/fstrim -a >/dev/null 2>&101:06
gnarfaceif it never gets written to, it might not cause problems01:07
gnarfaceor at least not for many years01:07
gnarfacethat would be my guess anyway01:07
suavedandyGuys?01:15
suavedandyI have a kernel panic, guys.01:15
gnarfacewhat'd you do?01:15
gnarfaceit usually only panics when it can't find the rootfs01:15
suavedandyWell… boot the system.01:15
gnarfacewould have had to be something you changed before the last shutdown01:16
gnarfaceeither that or disk failure01:16
gnarfacedid you build a new kernel?01:16
gnarfacea common trip-up is to fail to load the initrd.img or compile the harddrive controller driver in statically01:16
suavedandyNo. I was installing on BtrFS, following the instructions on the forum.01:16
gnarfacehmmm01:17
suavedandyDo I hard reset or something?01:17
suavedandyIt's stuck.01:17
suavedandyIsn't that streinous on my hardware to be stuck in kernel panic?01:18
suavedandyGuys?01:19
suavedandyGuys, what do I do?01:19
suavedandyI don't want my PC to turn into a potato.01:20
gnarfaceyou can only power cycle at this point, yes01:20
gnarfacecheck the cable connections01:20
gnarface(not while it's on)01:20
gnarfaceit's not strenuous probably01:20
gnarfacebut it's also not useful anymore in that state either.01:20
gnarfacepower it down, let it cool off, check every plug and cable, then try again.  if it panics again you'll have to try to boot a live image or something01:21
gnarfaceor pull the drive and plug it into a working machine to examine it01:21
gnarfacelike i said, could be hardware failure, but usually it's something you did wrong with the kernel or boot config01:22
suavedandyOr I could just install Devuan on encrypted Ext4 instead of encrypted BtrFS.01:22
gnarfaceyea or btrfs is not ready, that's very possible01:22
gnarfacei don't know either way01:22
fsmithredif the filesystems are not mounted, poweroff should not hurt anything01:22
fsmithredand you can also enable all the magic sysrq keys and reboot with that.01:23
fsmithredin /etc/sysctl.conf01:24
fsmithredkernel.sysrq=1 (I think that's right)01:24
gnarfacei thought it was on by default in the stock install01:24
gnarfacewasn't aware it could listen after a panic though01:25
fsmithredit's limited01:26
fsmithredoh01:26
fsmithredmaybe not01:26
fsmithredlast few releases of debian they only enabled some of the keys. default is 438 which I don't remember what that means.01:27
onefangI thought a kernel panic was "things are too fubared for the kernel to continue, dump core and stack trace, halt everything".01:28
fsmithred >1 is bitmask of all sysrq functions01:28
onefangOK, not dump core, coz file systems are now halted as well.01:30
suavedandyNevermind.01:34
suavedandyJust upgraded from chroot.01:34
suavedandyWorks fine now.01:34
suavedandyJust needed to apt upgrade. Eh.01:34
suavedandyhttps://youtu.be/Zmvt7yFTtt801:35
suavedandyUh-oh.01:37
suavedandyHome subvolume has no user directory.01:38
suavedandyWTF?01:38
suavedandyIt only has "devuan."01:38
suavedandyfsmithred: Is that intended behavior?01:39
fsmithredis what intended?01:39
fsmithredwhat did you use to install?01:39
suavedandyThere's no user directory after the installation.01:40
fsmithredwhat iso01:40
suavedandyYour script.01:40
fsmithredwhat iso01:40
suavedandyMinimal.01:40
suavedandyMinimal Devuan.01:40
fsmithredthe user directory is named after the primary user01:40
fsmithreddevuan01:40
fsmithred /home/devuan01:40
fsmithredas root, run: id devuan01:40
suavedandyBut mine's supposed to be /home/suavedandy01:40
fsmithredand it will give you some relevant information01:40
fsmithredyou changed it during the install?01:41
suavedandyNo.01:41
suavedandyI mean, I changed the username.01:41
fsmithredwhen, where?01:41
suavedandyWhen it asked me.01:41
fsmithredand how?01:41
fsmithredI'm confused01:41
fsmithredit does ask that during the install, but you said "No" to that.01:42
fsmithredto my quesiton about that01:42
fsmithredyou changed it during the install?01:42
suavedandyIt asked "Do you want to change the username?" And I've typed my new username.01:42
fsmithredcheck the log to see what happened. It should change the username, the home directory and something else. Three usermod commands in the script, I think.01:43
fsmithredoh yeah, user's primary group gets changed01:43
suavedandyThe log… where?01:43
fsmithredso01:43
fsmithredvar/log/refractainstaller or01:44
fsmithredwell, nm01:44
fsmithred /home/devuan/refractainstaller.log01:44
fsmithredmaybe it's there01:44
fsmithredid devuan01:44
fsmithredid suavedandy01:44
fsmithredor look in /etc/passwd to see who exists01:44
suavedandyDevuan does not exist.01:44
suavedandysuavedandy, however.01:45
onefangOr maybe just "adduser suavedandy" and move on with your life.01:45
fsmithredid suavedandy01:45
suavedandysuavedandy does exist.01:45
fsmithredwhat's your user id01:45
fsmithred100001:45
suavedandyIt's just the folder that does not.01:45
fsmithredso change it01:45
fsmithredum01:45
fsmithredno01:46
suavedandy1000, yes.01:46
fsmithredfigure out what's going on01:46
fsmithredwho owns the files in /home/devuan?01:46
suavedandyHow do I check it?01:46
fsmithredls -l /home/devuan01:46
fsmithredls -l /home/devuan/01:46
suavedandyThere's only one file.01:47
suavedandypackage_list01:47
suavedandyAnd it's owned by root.01:47
fsmithredls -la01:47
fsmithredthere are some hidden files01:47
fsmithredls -l /home01:48
suavedandy.bash_logout, .bashrc, .kde, .profile.01:48
suavedandyAll owned by me.01:49
fsmithredthat's weird01:49
gnarfacethis is still btrfs?01:49
fsmithredI guess you can just change the name of the directory01:49
fsmithredyeah01:49
suavedandygnarface: Indeed.01:49
suavedandyfsmithred: Think so?01:50
gnarfacesomething seems weird, maybe the installer missed a step because of tool differences?01:50
fsmithredmaybe01:50
fsmithredI suggested looking at the error log, but it probably doesn't say much01:50
fsmithredunless it was run with -d|--debug01:50
suavedandyInstalling on BtrFS with Refracta's installer is… funny.01:50
suavedandyTo say the least.01:50
fsmithredother option is to delete the whole thing and remove your user01:51
fsmithredthen create a new user01:51
fsmithredthe whole thing = /home/devuan01:51
fsmithredrm -r /home/devuan01:51
fsmithreddeluser suavedandy01:52
fsmithredadduser suavedandy01:52
suavedandyIf only I had root active…01:52
fsmithredwhat?01:52
suavedandyI have single-user sudo.01:52
suavedandyRoot turned off.01:53
fsmithredok, I don't know what you can do01:53
gnarfacefix it from another machine?01:53
gnarfaceor boot in single user mode01:54
fsmithredoh yeah, he was working in a chroot earlier01:54
fsmithredthat would work01:54
fsmithredboot live media01:54
gnarfacei would just rename the directory01:54
fsmithredworth a try01:54
suavedandyAh, okay.01:54
suavedandyDamn, forgot to install cryptsetup-modified-functions.01:56
suavedandyRenamed the folder. No more errors, that's for sure.01:58
suavedandyfsmithred: Maybe the script just "forgot" to rename the folder.02:01
fsmithredthe command might have failed for some reason, but it wouldn't just skip that line in the script.02:02
suavedandyHm…02:02
suavedandyMaybe I needed to upgrade everything before doing anything.02:04
fsmithred`?02:04
suavedandyI mean, it worked against the kernel panic.02:04
suavedandyMight as well fix whatever your script was struggling with.02:05
suavedandyI can upgrade before continuing with installing the bootloader and setting up the user.02:05
fsmithredthat sounds like a bad idea02:06
suavedandyYou think?02:06
fsmithredthe installer copies the live system to hard disk02:06
fsmithredall the versions in the live system go together02:06
fsmithredanything you pull from repo might be newer02:06
fsmithredfinish the install then upgrade after you reboot02:06
fsmithredI thought you already finished the install02:07
suavedandyI thought about doing it again just in case.02:07
fsmithredif you do, please run 'refractainstaller -d'02:08
fsmithredthat'll make a bigger log02:08
suavedandyBut if it won't work then…02:08
fsmithredwill look a little weird on your screen because it echoes all the commands02:08
fsmithredwhy wouldn't it work?02:09
fsmithredoh, you said But02:09
fsmithredwell, that's the point of the log. If the install fails, there will be some evidence of what did or didn't happen.02:09
suavedandyTalking about upgrading before proceeding with installing the bootloader.02:09
suavedandyIn the script.02:09
fsmithredupgrade in chroot?02:10
suavedandyYou know, that step where it suggests you to chroot.02:10
fsmithredmight work and might cause a conflict02:10
suavedandyYeah.02:10
fsmithreddon't try to upgrade the running system02:10
suavedandychroot into /target.02:11
suavedandyAfter you type 2 into the prompt, the script proceeds with installing the bootloader.02:12
suavedandyBut before you do that it suggests you to chroot into /target.02:12
fsmithrednot if you choose chroot from the menu02:12
fsmithredif you choose chroot from that menu, you will have to install grub manually02:12
suavedandyThere's no "chroot" in the menu.02:12
suavedandyThere's either "Install the bootloader," "Proceed without the bootloader" or "Abort the installation."02:13
fsmithredyeah, I'm looking at the code now02:13
fsmithredthe graphical installer has a chroot button. I assumed it was in the list in the cli installer, but instead, I expect you to alt-Fn to another virtual console02:14
fsmithredif you want to do that02:14
suavedandyIndeed.02:14
fsmithredso yes, you could leave that screen up, go to tty2 and chroot, go back and tell it to install the bootloader02:15
suavedandyI did chroot in the second TTY and prepare everything for BtrFS to work. I didn't upgrade tho.02:15
fsmithredjust be mindful of where you get your grub packages02:16
fsmithredif you pull in grub packages in chroot, then go back to the installer and say 'install bootloader'02:16
fsmithredit'll work if the grub versions are the same02:16
fsmithredthe installer copies the live system to hard disk02:17
fsmithredthe installer copies the live system to hard disk02:17
suavedandyI upgraded after rebooting into the system, getting the kernel panic, getting back to the live environment, chrooting into the installation and upgrading it from there.02:17
suavedandyThen kernel panic gone.02:17
fsmithredand you're upgrading the target before the installer is finished02:17
fsmithredprobably because it remade the initramfs02:18
suavedandyMaybe.02:18
suavedandyDoesn't the installer remake initramfs?02:18
fsmithredyes02:19
suavedandyOof.02:19
suavedandyWell, I dunno.02:19
fsmithredand that's why the graphical installer uses --debug by default.02:19
suavedandyI guess it would have been easier if there was a more native way to install on BtrFS like on OpenSUSE.02:20
fsmithredI was nice to the user by not doing that with the cli script02:20
suavedandyUnfortunately, OpenSUSE runs like a dying whale on my laptop even without GUI and has a very hard time when it comes to switching fonts.02:22
suavedandyConsole fonts, I mean.02:23
suavedandyI don't know why OpenSUSE runs so terrible on my laptop. It just does.02:26
fsmithredhave you seen it run fast on anything?02:28
suavedandyNo?02:29
suavedandyBut, like, it's so slow I can't even type precisely. When I type my password too fast it just blocks me.02:30
masonDepends on what you have it running. It's run fine for me in the past, but it's the same software I run now.02:30
suavedandyI have to try, like, 3 times and place my fingers precisely on every key.02:31
suavedandyOne of the bizarre things with YaST (with the TUI version, at least) is that the only way of changing the console font is through the sysconfig editor.02:35
suavedandyAnd /etc/sysconfig/console is deprecated.02:35
suavedandyI'm like: "What? Why is it here then?"02:35
suavedandyI mean changing the console font, not the whole file.02:36
suavedandyApparently you change the font in /etc/vconsole.conf, which kinda unnecessarily seperates /etc/sysconfig/console and /etc/vconsole.conf and makes it all scrambled and stuff.02:40
fsmithredyeah, that's not relevant here02:41
suavedandyAnyway.02:41
suavedandyThe system seems to be working fine now. I don't know what happened to that folder. I guess it's nothing critical, maybe?02:42
suavedandyWill finish with creating a keyfile and snapshots after I'll get some sleep.02:44
fsmithredsounds like a plan02:45
suavedandyBye.02:46
fsmithredgood night02:46
stevelittI'm using the Beowulf live CD. What is the root password? Also, is apt-get still the way to install stuff?04:31
golinuxeither root or toor iirc04:32
stevelittIs apt-get stil the way you install stuff golinux?04:32
golinuxI think so.  Haven't installed anything in a year or two04:33
golinuxI update mostly with synaptic.04:33
stevelittWell, if Devuan runs Chromium+Jitsi well, I'm gonna install it, so wish me luck. And thanks for your help.04:33
stevelittIs synaptic confusing?04:33
golinuxEverything is confusing at my age04:34
stevelittlol04:35
golinuxI'm used to it.  The hardest part is remembering04:35
stevelittI'll try apt-get first. I kinda sorta remember that from 2014.04:35
stevelittThanks!!!04:35
golinuxHappy installing, Steve!04:37
Xenguystevelitt: All the cool kidz use 'apt' these days, and save themselves typing 4 characters 8 -)04:40
XenguyMe?  I go with the tried and true:  apt-get FTW !04:41
golinux+104:43
tuxd3v+104:49
onefangapt-get has a FTW command now?05:00
XenguyNow there's an idea onefang  ; -)06:24
masondselect is the one true interface.06:58
* enyc meows12:05
mrjayviper1hello, 2 questions please. 1 -  Is raspberry pi3b supported in versions 3.x? I cannot find a ready made image for it. | 2 - Is ZFS supported? I cannot find any discussion on this one when doing a net search. | Thank you.14:53
Jorilmrjayviper1: to install Beowulf on a 3B I installed Devuan Ascii and then dist-upgraded to Beowulf14:55
Xenguymason: I confess I used to use dselect back in the day.  People always complained about it then, but it didn't seem that bad to me.  Why I stopped using it, I now don't recall.14:55
Jorilmrjayviper1: you end up with Beowulf on a Ascii kernel though, if you want a newer one you have to recompile it yourself14:56
mrjayviper1is the built-in wireless working with the ascii kernel?15:00
Jorilmrjayviper1: well I haven't tried yet, but I will, in the next few days :D I'm using just eth0 at the moment15:06
flrn_Good evening!23:18
flrn_beowulf-proposed-update brought me a strange issue with lighdm.23:19
flrn_when switching tty, on return to X, the screen is locked.23:20
flrn_that's new23:20
flrn_and there's an identical xsession on tty8, unlocked.23:25
flrn_when switching to a console and back again to tty7 a second time, this session is gone23:26
flrn_(switch after login)23:27
flrn_but the session on tty8 runs stable and survives any further tty-hopping23:27
flrn_downgrading back to 1.26.0-4 (from 1.26.0-4+devuan1) returns everything to normal23:29
xrogaan> when switching tty, on return to X, the screen is locked.23:36
xrogaanI believe it's working as designed.23:36
flrn_couldn't find a config option, only for suspend23:37
flrn_and it came just with this update, probably no coincidence (at least worth mentioning;)23:38
xrogaanWhat locks the screen should be the screensaver.23:43
fsmithredxfce-power-manager also has a lock option23:46
fsmithredI think that's just on suspend23:46
flrn_oh, it's lxqt, but I23:47
flrn_but I looked under /etc23:47
fsmithredI don't remember what lxqt uses for that. Is xscreensaver running?23:48
fsmithredlight-locker with lightdm?23:48
fsmithredI'm going to test with xfce on my laptop in a few minutes.23:49
fsmithredhuh. You have lightdm with lxqt, and I have lxdm with xfce.23:49
fsmithredweird symmetry23:50
xrogaanmight be interacting with https://github.com/the-cavalry/light-locker/23:50
xrogaan> This will redirect you to VT8 (assuming that your open session was on VT7 and is now kept safe by light-locker) and present LightDM's greeter for unlocking your session again. On suspend/resume light-locker will lock the active session and redirect to the LightDM's greeter for unlocking the session again.23:51
xrogaanoh, already stated. I'm a bit late :)23:52
flrn_light-locker is not involved23:57
flrn_didn't even have it installed and just apt-got it.23:57
flrn_no difference23:58

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