libera/#devuan/ Friday, 2021-01-29

asdflkjI’ve been trying to install Devuan on a VPS. I gave Vultr the URL of the Princeton mirror’s server ISO, let it upload to their cloud, attached it to my VPS, and booted. I connected via novnc and entered the expert install menu (I wanted to install without nonfree firmware) and saw the “Check the CD-ROM(s) integrity option, so I ran it and … the screen turned red because isolinux.bin00:03
asdflkj“failed the MD5 checksum verification”.00:03
asdflkjso I repeated the whole thing with the netinstall iso, and got the same error00:03
asdflkj“[!] Check the CD-ROM(s) integrity”00:04
asdflkj“Integrity test failed”00:05
gnarfacethe latest netinstall iso?00:06
asdflkjhttps://mirror.math.princeton.edu/pub/devuan/devuan_beowulf/installer-iso/devuan_beowulf_3.0.0_amd64-netinstall.iso00:06
fsmithredI thought we found a workaround for that problem.00:06
gnarfacedid you checksum the iso before uploading it to the VPS, asdflkj?00:07
gnarfaceor do i understand it right that you told the vps to download it directly?00:08
asdflkjthe latter00:08
gnarfacehmm, any way to make it re-do?00:08
gnarfaceor for that matter make it checksum it before booting it?00:08
asdflkjVultr gave me an MD5sum, but the mirror only has a SHA hash00:09
gnarfacei mean, it's probably a bug but you wouldn't be the first person to get a corrupted download00:09
gnarfaceit's rare but it happens, it's even happened to me00:09
fsmithredthe sha256sum posted should match what you get on the iso00:10
fsmithredthe md5sum of isolinux.bin won't match because mkisofs changes that file when the iso is created00:10
asdflkjwhat seems really weird to me is that it happened for the server iso and the netinstall iso I downloaded ~ a week later00:10
fsmithredI guess we haven't fixed it.00:10
fsmithredit'll happen on all the installer isos, I'm pretty sure00:10
fsmithredHere's a discussion about it if you're interested. There's no fix in this thread. https://dev1galaxy.org/viewtopic.php?id=314500:12
fsmithredasdflkj, a week later doesn't matter. The isos were made around six months ago.00:13
fsmithrednew isos are coming soon.00:13
asdflkjhmm, it’s pretty concerning to me that I can’t verify no one tampered with the file. kind of defeats one of the points of avoiding systemd00:17
fsmithredsure you can00:17
fsmithredcheck the sha256sum against the signed sha256sum file where you got the iso00:18
fsmithredsha256sum <filename>00:18
asdflkjI guess I’ll have to install Devuan first and then run that to tell Vultr isn’t modifying it00:19
fsmithredsorry, I don't understand00:20
asdflkjthe iso is in Vultr’s cloud, I don’t have it locally to hash00:20
asdflkjit is a bit comforting to know this isn’t just me having the issue, so thanks for that00:21
rrqif you can get a shell you can run sha256sum there00:21
rrqbefore installing00:21
rrqsha256sum < /dev/sr000:21
rrqdo you have C-A-f2 ?00:22
asdflkjno, but I can get a shell00:22
rrqalso good00:22
asdflkjI’m hashing /dev/sr0 right now00:23
rrq5844...752300:23
asdflkjgot it! thanks00:24
asdflkj5844e45dc6421c25dfc9fb25df9d57af8fadf12a97a2a4e0ae1931c4c321752300:25
asdflkj5844e45dc6421c25dfc9fb25df9d57af8fadf12a97a2a4e0ae1931c4c321752300:26
asdflkjmatches00:26
rrqyes that'd be the published devuan_beowulf_3.1.0-RC_amd64-netinstall.iso00:27
rrqnope00:28
fsmithred3.000:28
rrqmy copy and paste is wrong00:28
rrqdevuan_beowulf_3.0.0_amd64-netinstall.iso00:28
fsmithredI got the same00:28
fsmithredhere00:28
asdflkjdone, ^D'd the shell, now I just have to figure out how to do as normal and easy a server install as possible while ideally not getting any non free firmware (none of that should be needed for a server, right?)00:29
fsmithrednon-free is usually needed for hardware - wireless, graphics cards top the list00:29
rrqa Vultr VPS shouldn't need any non-free00:29
fsmithredso no00:30
fsmithredI recommend unchecking everything except standard system utilities, and I guess you want ssh-server too00:30
fsmithredthen add what you want after you reboot into the new system00:30
n4dirand make sure you secure ssh-server if you got it anywhere but in the LAN00:31
n4diri didn't follow that closely, but it might be something to keep in mind00:31
fsmithredoh yeah, the default setting is to use auth keys now00:31
n4dirhmm. then it seems good. Not on the "raspian" i just installed.00:32
fsmithredoh, maybe that's just for root00:32
n4dirthey also don't have that root-path madness, it seems00:32
rrqI think the default sshd config accept password login for non-root users00:33
fsmithredyeah00:33
n4dirthis way or that way, if installed with taskfel it might be an idea to "check" it, if running on a VSP (VPS? something)00:33
asdflkjI’ll make sure to disable password login, right now I just need to figure out how to install Devuan00:34
n4dirasdflkj: sorry for distracting from the real issue. back to idle00:35
asdflkjn4dir: no problem, good advice00:35
asdflkjI think my locale, keyboard, etc. are standard (US), so do I just choose “Detect and mount CD-ROM”?00:36
n4dir:-)00:36
rrqI alwasy do non-expert install :) ... but that should start it off I think00:36
asdflkjyeah, I’m definetely not an expert. I just don’t want nonfree stuff00:37
asdflkjmaybe I should just do non-expert and delete the firmware afterwards00:37
n4dirsure most easy solution00:38
n4dir(that far my idle promise goes ... )00:38
rrqshould be fine ... no non-free gets installed as a default, except that the sources.list will have that section enabled00:38
n4diri recall expert mode to be mainly shitloads of more "clicks". Very time-consuming, but sure not hard00:38
asdflkjrrq: great, I think I use it and save myself those “clicks”00:39
rrqthe VPS h/w model is pretty standard execpt having virtio ethernet controller, scsi controller and memory ballon00:40
rrqthose modules are not non-free either00:40
asdflkjn4dir: no need to be idle, this is my first server ever and if I hadn’t happened to know to disable password login it might end ugly-ly (how do you say that‽ lol)00:40
n4dirsure, but one problem after the other. Anyway: good luck, fun, and all that00:41
fsmithredfwiw, on the install I did today, contrib and non-free are in the commented cdrom lines, but only main is in the active lines in sources.list00:43
fsmithredbut that's a newer iso. I don't know if that was changed.00:44
rrqright; non-expert netinstall only gets the "main" section set up00:56
FlibberTGibbethi, just installed beowulf on my new machine. have amd 4650G cpu -- "vega 7" inbuilt grahics. have installed the non-free firmware etc, the amdgpu and radeonn drivers -- still stuck in console...15:51
FlibberTGibbetaccording to lsmod neither of  those drivers is loaded against 'video'15:51
Jorilfirmware-amd-graphics ?15:52
FlibberTGibbetlatest version, yes15:52
FlibberTGibbetand libdrm-amdgpu115:52
FlibberTGibbetplus mesa and vulkan stuff15:52
Jorilmmh found a post mentioning the kernel parameter amdgpu.exp_hw_support=115:54
Jorilnot sure if it could help15:54
FlibberTGibbetworth a try, thanks!15:56
JorilHope it helps :)15:59
FlibberTGibbetsadly not :(16:03
JorilAre you running the "stock" kernel or one from backports?16:12
gnarfaceFlibberTGibbet: that hardware might be new enough to need the backports kernel, firmware, and mesa versions16:16
asdflkj2my devuan installer is looking glitchy: http://0x0.st/--hj.png16:40
hemimaniacasdflkj2: I see the low memory mode in the left, RAM bad? is this a really old machine?16:45
hemimaniacdid you verify the .iso after download16:45
asdflkj2this is the VPS I was asking about yesterday16:49
asdflkj2I went to sleep part way through installing16:50
asdflkj2I had chosen the settings for full disk encryption before bed16:50
asdflkj2then I confirmed them and let it install this morning16:51
asdflkj2the dialog asking if I wanted to scan more disks looked like that16:52
asdflkj2but it still let me choose not to16:52
asdflkj2and went to the screen I linked to16:52
asdflkj2but when I saw it still looked glitchy I got worried enough to post it here16:53
gnarfacehas anyone had problems with the shader cache size on amdgpu?18:05
gnarfacedocs suggest it defaults to 1GB, which should be enough, but i'm only seeing about 100MB on disk, and experiencing a performance regression that matches the symptoms for shader cache failure on nvidia18:06
gnarfacecould be coincidental18:07
gnarfacebut i figure someone else might have noticed18:07
Guest70should i purge my xfce desktop before upgrading to ceres18:35
Guest70i used the live iso to install and i wasn't able to do a minimal install18:36
theManPageri was stupid and decided to manually rename my user account19:08
theManPageri changed the username and home directory strings in /etc/password19:08
theManPagerand i'm checking the /etc/group file19:08
theManPagerdo i just replace all cases of the old username with the new one i want19:08
gnarfacethat will probably work for the filesystem rules, but some of your user's config files may have got the old username into them statically... you might want to grep19:17
WonkaErr:7 http://deb.devuan.org/merged testing-security InRelease19:26
Wonka  403  Forbidden [IP: 2a02:2a38:1:400:422a:422a:422a:422a 80]19:26
Wonkawot?19:26
markthegoatusing search and replace with vim in /etc/shadow, /etc/gshadow, /etc/passwd and /etc/group made this work for me19:28
markthegoatidk if i missed any config files though19:28
markthegoati didn't know grep did search and replace19:29
gnarfacewell, it doesn't really, but it can give you line numbers and file names19:29
gnarfacethen you can manually replace or whatever19:29
gnarfaceif it's a fresh install it's unlikely to find a lot of such incidents19:30
gnarfacebut if you're carrying over hundreds of ~/.* files from an old home directory, god only knows...19:30
markthegoatoh no it's a fresh install19:30
gnarfacemostly that's only likely to sabotage userspace stuff anyway, but if you don't know about it it can be maddening19:31
gnarfaceespecially if it's something like years later pulseaudio is telling you you're not you and you can't remember why that could be19:31
markthegoathm19:31
markthegoatalright so grep oldname in /etc/ should check for this right?19:31
gnarfacegrep -rni 'oldname' /etc19:31
markthegoatalr19:31
gnarfacegrep -rni 'oldname' /home19:31
gnarfaceshould spit out a list of file names with line numbers and the matched line in question, or just nothing if you're clean19:32
markthegoatcame up in hostname bc my old name was the same as my hostname19:34
markthegoatalso comes up on /etc/hosts as the localhost19:34
markthegoatso i think i'm good19:34
markthegoatat least for /etc19:35
markthegoatin /home i see a lot of entries in the refracta installer log19:36
markthegoatand in .x session errors, but that makes sense bc when i changed my home dir name, the desktop environment disappeared, leaving only the windows open19:37
markthegoatidk what dbus-update activation environment does but it seems like it sets the user account up19:39
markthegoatand that went ok when i logged out and the logged in again19:39
markthegoatit also had some issues with .ICEauthority and stuff19:40
markthegoateverything is fine though19:40
markthegoatso19:40
markthegoati'm not sure if i should worry about it19:40
gnarfacenah, probably not19:42
gnarfaceit's probably fine19:42
markthegoatyeah they were just in the error logs19:44
coniferhi, I have a couple of unrelated questions. Q1 - I reported an odd issue on the forum some, uhh, half a year ago, and I found a workaround since then19:52
conifershould I add it to my post, or such thread necromancy would be frowned upon?19:53
coniferQ2 - I installed a tool that relies on docker, but I only use it once in a blue moon. can I make docker only run when it's needed, instead of starting with each boot?19:55
gnarfaceconifer: check to see if it made it into the bug tracker19:55
gnarfacefor docker not to run on every boot, if it doesn't have it's own config flag for that (check /etc/defaults/, i dunno) you can rename the /etc/rc?.d/* symlinks pointing to it's init script19:56
coniferyou mean debian bugtracker? I don't think so, it was kind of mystery bug19:57
gnarface(you an also use a tool like sysv-rc-conf or update-rc.d to automate that, but renaming them by hand to start with a "K" instead of a "S" is easy, if tedious)19:57
gnarfaceoh, well i'd necro the post just for posterity but i don't moderate that forum, so i dunno if that'll get you flak19:58
gnarfacebut no, i don't mean the debian bug tracker, i meant bugs.devuan.org19:58
gnarfaceif it's something specific to a devuan-forked package, or a package that might need to get forked specifically for devuan, then people are probably gonna want the info19:59
gnarfaceif it's something that also affects debian there's little that can be done19:59
coniferit was related to apt not recognizing repository keys, but I couldn't figure out what was up, so not sure if anyone could reproduce it20:01
markthegoathad some trouble installing weechat20:12
markthegoati think there wasn't a ruby thing on devuan's repos20:12
markthegoati'll have to try again once i've switched to ceres20:12
conifergnarface: I found I have a file /etc/init/docker.conf that includes20:27
coniferstart on (filesystem and net-device-up IFACE!=lo)20:27
coniferstop on runlevel [!2345]20:27
coniferwill this clash with the renaming in /etc/rc?.d ?20:28
gnarfaceconifer: well, "clash" isn't the right connotation, but yes, basically renaming the symlinks will supersede that config line.  You should use the config line, don't mess with the symlinks in this case.20:36
coniferhow do I change it to only run docker on-demand?20:41
coniferanyway, Q3 - in mate system monitor and xfce task manager I can see the cpu and memory usage of each app. I'd like to view how much network traffic each app generates20:42
coniferis there a program that would let me see it? doesn't need to be gui20:44
gnarfaceconifer: if you only want docker to run on demand, you'd want to configure it to STOP in all runlevels (not start) - that config line you pasted seems to be using "!" in the traditional form as a negation operator.  so it's saying stop in not all the runlevels (i know, it's weird)21:05
gnarfaceconifer: for per-program bandwidth usage check out jnettop21:06
coniferso I should leave the "start" line as it is, and only remove the negation in the "stop" line?21:08
gnarfacei don't know, what does the start line say?21:08
gnarfaceyou might have to change both, sorry i'm not a docker expert21:08
gnarfacebut maybe all you have to do is move the "!" from one line to the other21:08
gnarfacealso it's listing runlevels 2, 3, 4, 5... which is basically all of them but just fyi you're only ever going to use #221:10
gnarfaceredhat and derivatives do different stuff with the runlevels but debian just puts everything in #2 and reserves the others for your own customization21:10
coniferok, so you mean I should put the ! in the "start" line? where exactly? it doesn't have runlevels, I pasted it as it is21:13
coniferor should I rather consult docker people?21:13
gnarfaceoh i see21:13
gnarfacethat IS the start line and the stop line you're saying21:14
gnarfacewell, you SHOULD read the docker docs, yes.  but i recommend you just try removing the "!" from the stop line to see if that's enough21:14
gnarfaceif it's programmed so the stop rules supersede the start rules, then that should be sufficient21:15
gnarfaceotherwise you'll have to figure out what passes for a null set in the context of that start line21:15
gnarfaceor just feed it an impossible situation21:16
gnarface(like start on an interface you don't have or !filesystem or something i dunno... yea reading the documentation is the smart approach)21:16
gnarfacethe syntax they're using shows elements of regexp and boolean operator awareness, but i would be wary of assuming too much21:18
coniferOK, I'll either try to get more information, or try removing the ! and see if it works21:21
coniferthanks for your help!21:22
gnarfaceno problem21:22
gnarfacegood luck and happy friday :)21:22
coniferoh, and concerning my Q1 - do you know if the forum mods hang out here? so I could ask them how to handle my old post?21:24
gnarfacegolinux: ^21:24
coniferthanks, enjoy your weekend! :)21:24
golinuxYes?21:24
golinuxconifer: PM me21:25
golinuxI haven't be following this channel very closely.21:25
coniferhi, I reported an odd issue half a year ago or so21:25
conifergnarface: sorry for bugging you again - docker folks told me basically to set it to start never. should I literally make the docker.conf say "start never"? or what is the correct sysvinit syntax?22:04
gnarfaceconifer: uh... i honestly can't tell you for sure if they meant to literally put the word "never" in the config file on the start line.  i *can* tell you the docker project generates a disproportionate amount of helpdesk noise, which has negatively impacted my opinion of it without having ever used it, and that the sysvinit "syntax" is to just rename all these symlinks so they start with a "K" instead of an "S":  ls -l22:07
gnarface/etc/rc?.d/*dock*22:07
gnarfaceconifer: (note that i'm assuming the name of the init script for docker contains the word "dock" in it, and that it's the only thing on your system that does... two possibly flawed assumptions you should really double-check yourself)22:08
gnarfaceyou don't even have to double-check it yourself, in fact.  if you /msg me the output of that ls -l i'll double-check it for you22:09
coniferdocker people say this needs to be done outside of docker itself, at sysvinit level22:09
gnarfaceok, do the symlink then22:09
gnarfacesymlinks22:09
gnarfacethey just point to a script in /etc/init.d/22:10
coniferI already did the renaming when you first advised it, then I noticed the /etc/init/docker.conf file22:10
gnarfaceor they should anyway22:10
gnarfaceah i see22:10
coniferand was going to undo the renaming22:10
gnarfaceah i see22:10
coniferto do it in a less-hacky way22:10
gnarfacewell i agree, that's what i'd want to to too.  it's weird that they go through all the trouble of putting such complex rule syntax in their config and not supporting an "off" state22:11
gnarfacein fact so much so that i'd hesitate to even bet on it not being possible22:12
gnarfaces/to to too/to do too/22:12
coniferwell, I had the impression they thought it was weird for devuan & sysvinit to do this through such complex rule syntax in the config file :P22:13
* gnarface shrugs22:13
coniferso maybe this is how maintainers handle the docker package for debian/devuan?22:14
gnarfaceyea it could be non-standard22:14
gnarfacei don't know, but that is a thing that distro-native versions of stuff often do22:14
gnarfacewhere'd you get that docker package?  is it a devuan-forked one?22:14
gnarfacein most cases, it's gonna be something debian added22:15
fsmithredLooks like there is /etc/default/docker22:15
gnarfaceoh22:16
coniferthe tool I wanted to use suggested to use the docker repo as it is fresher than debian's22:16
fsmithredthat might have on/off22:16
gnarfaceif there is, there's probably a flag to disable it in there22:16
fsmithredit's in docker.io package22:16
coniferso I did that, so probably made things less-standard22:16
fsmithredand FTR I have no clue about any of this22:16
coniferI have a /etc/default/docker, but there isn't much in it, and it's all commented out22:17
fsmithrednothing to disable?22:18
gnarfacewell read it ffs22:18
gnarfaceit was intended to be read22:18
coniferno on/off things22:18
coniferjust proxy settings, temp files location etc22:18
gnarfacebummer22:18
conifergnarface: I did when you first mentioned it!22:19
gnarfacesorry, you didn't say anything so i just assumed you ignored that part22:20
coniferI saw it's a dead end so tried the other things22:20
gnarfacei talk alot and most people read about half of it, it's not your fault22:20
fsmithredI tuned in a little late and didn't read everything. What was problem with disabling the symlinks?22:21
fsmithredthat's what I do with services I only want to use occasionally.22:21
coniferwell, maybe I could add some option to this file, but it's not obvious to me, not as simple as changing on to off22:21
fsmithredwith easy checkboxy method sysv-rc-conf22:21
coniferonce in a blue moon I use a tool that it relies on docker, I want it to only start when needed, not on every boot22:22
fsmithredabout as often as I want to run samba22:22
fsmithreddoes /etc/init.d/docker respond normally to stop|start|restart?22:23
coniferhow do I invoke it?22:25
fsmithredoh22:26
fsmithred /etc/init.d/docker stop22:26
fsmithredor start22:26
fsmithredor with nothing and it should tell you what words you can use22:26
coniferI was thinking systemctl or whatever22:26
fsmithredlol22:26
fsmithredservice docker stop22:27
coniferservice docker stop worked22:27
fsmithredand the sysvinit people had the sense to put the actual command at the end22:27
fsmithredso you can just up-arrow, backspace a couple22:28
conifersorry, I'm a pretty basic person and don't know much about stuff22:28
fsmithredand change stop to start22:28
fsmithredps ax |grep dock22:29
fsmithredsee if anything is left running22:29
fsmithredso  you could disable docker and just start it manually when you need it22:29
coniferfsmithred: could you tell me more about the sysv-rc-conf thing?22:39
coniferI already renamed the symlinks manually, but if there is a nicer way to handle it...22:40
gnarfacejust run it22:41
gnarfaceinstall and run it22:41
gnarfaceshould be self-explanatory22:41
coniferit is, indeed22:55
conifervery user friendly :)22:55
coniferthank you guys once more for your help and patience!22:57
coniferhave a nice weekend!22:57
fsmithred:)22:57

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