libera/#devuan/ Sunday, 2022-02-06

gnarfacewell, sometimes you get away with just running the ceres version but usually what happens is you introduce mystery crashes without realizing it00:24
blizzowUgh, I just want to run my new devuan host as a qemu hypervisor with libvirt. Is there a good howto out there? I thought I ran across an official page but can't seem to find it anymore.00:30
blizzowI'm running into all kinds of gross problems. polkit missing (had to disable polkit auth in libvirtd.conf), apparmor profiles preventing machines from starting, etc.00:31
ejjfunkyhi all. I just installed devuan and i want to add my user to sudo. usermod says command not found00:32
ejjfunkysbin not showing any adduser or usermod either.00:32
ejjfunkyit's chimera that i've installed.00:32
blizzowejjfunky, did you try useradd instead of adduser?00:32
ejjfunkyok, found it. usermod. found it at /usr/sbin. thanks anyway.00:33
golinuxDo you have the correct path?00:35
golinuxFrom the Telease Notes: The behaviour of su changed in Devuan 3 Beowulf. These changes persist00:35
golinux   in Devuan 4 Chimaera. Use su - to get root's path or use the full path  to commands if you use only su.00:35
golinuxRelease Notes00:35
ejjfunkythanks golinux. i got it added now.00:36
golinuxAlways read the Release notes . . .00:36
ejjfunkyok.00:38
ejjfunkyreading it now. https://personal.cis.strath.ac.uk/conor.mcbride/00:38
ejjfunkyopps00:38
ejjfunkyfiles.devuan.org/devuan_chimaera/Release_notes.txt00:39
gnarfaceblizzow: libvirt is extremely low quality, i'd recommend trying qemu without it at least as a debugging measure first00:40
blizzowgnarface, what do you mean it's of extremely low quality? The package maintenance?00:41
gnarfaceblizzow: no, i meant the project is half assed by half-brained jackasses00:41
gnarfaceblizzow: but it's not actually a part of qemu and you don't technically need it00:42
blizzowwhoa, okay. Well, that could be the case.00:42
gnarfaceblizzow: at least as a debugging measure you should try to launch your guest just straight from the command-line... unless you have to manage hundreds of guests this is probably gonna be easier in the long run00:42
blizzowI have a few machines I want to deploy as hypervisors, managing them all with a pile of scripts is going to get old.00:43
gnarfaceblizzow: oh, well i guess a pile of shell scripts is my favorite solution but ymmv00:43
blizzowLibvirt provides a fair bit of glue for other projects like mist.io/proxmox...00:43
gnarfaceblizzow: i mean, virt-manager is very little more than a pile of shell scripts itself00:43
gnarfaceblizzow: usually in my experience, figuring out what's wrong with it also comes along with the shocking revelation of how little it's actually doing for you other than screwing up your qemu command-lines00:44
ejjfunkyguys, for php, what's the default version? for example, if i do sudo apt install php, what is the current version and how to find out without installing it first? I'm at https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=php&x=submit but havent found im looking for00:49
ejjfunkyok, i got it at: https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=php=2:7.4+7600:50
gnarfaceejjfunky: i see php7 and php8 both in there00:50
ejjfunkyphp8?00:51
ejjfunkyi see the current version is 7.400:51
blizzowGuess I just ended up learning with libvirt and never got into the guts of writing out a long VM on the command line.00:51
gnarfaceejjfunky: oh, yea you're right.  8 doesn't show up till testing 7 is stable's default00:52
gnarfaceblizzow: well it might be the command-line or it might be a permissions issue, i don't know in your case, but you can isolate both of those by testing qemu bare on the command-line00:53
ejjfunkygnarface, right, thanks though.00:53
gnarfaceblizzow: if you can figure it out you can probably fix virt-manager pretty easily really.  when you discover it, you might find the indignity outweighs the convenience though, that's all.00:56
gnarfaceejjfunky: oh, also just fyi on the other thing, i think they took /sbin and /usr/sbin out of root's default path too01:00
gnarfaceejjfunky: (in addition to now requiring su to no longer treat PATH differently from the rest of the environment variables)01:01
ejjfunkygnarface, yea i figured. it's weird though as to why.01:01
gnarfaceejjfunky: vandlism.  but you can put it back, i think it's just in /etc/profile01:01
ejjfunkyoh ok01:01
gnarfaceheh, sorry i'm so angry at virt-manager01:09
gnarfacesome of it is personal to me still i guess01:09
gnarfaceit should probably be clarified, that i don't work on devuan directly, and my views about libvirt/virt-manager don't represent the projects opinion on them as a whole (i assume) and if it's not working it's not because i or any of the devuan devs sandbagged it01:16
ejjfunkyfor me, i was so angry at systemd, that's why i'm here. lol01:16
ejjfunkybut i'd like to know more, gnarface as i'm planning to learn using qemu01:17
gnarfaceejjfunky: well if you need to provide hypervisor access to qemu vms in some way that can be made vaguely AWS-compatible, there's little else in the way of options as far as open-source stuff01:18
gnarfaceejjfunky: i didn't, so it was easy for me to pitch overboard in favor of a simple shell script01:19
ejjfunkyi like simple01:19
ejjfunkywell, if it runs without it fine, i guess you don't need it01:20
ejjfunkyi won't be managing lots of vms anyway. for starter, most probably just one01:20
gnarfaceyea, then it is probably a liability actually01:21
gnarfacefor just one vm, you just need to learn one qemu command once01:21
gnarfacethen put it in a 1-line shell script01:21
gnarfaceyou can probably even use virt-manager to figure out parts of the qemu command-line but, as i've gone into already, once you start trying to optimize it you quickly figure out it's doing all kinds of things wrong01:23
ejjfunkyim currently running arch linux. i'm planning to use devuan at its base and running arch on top of it. do you think it'll work well?01:23
gnarfaceit really shouldn't matter which distro is the host or the guest in a linux<->linux situation01:23
gnarfacebut yea it should be fine, the debian kernels are very stable01:24
ejjfunkyi also will be planning to run windows too eventually01:24
ejjfunkyoh ok01:24
gnarfacethe devuan i386 and amd64 kernel packages are the literal same exact ones from debian, they are not rebuilt01:25
gnarfaceto be clear01:25
ejjfunkyic01:26
ejjfunkygnarface, windows for me is mostly for games. have you ever tried running windows on qemu and playing games?01:26
gnarfaceejjfunky: yes.  it doesn't work.01:26
ejjfunkyshucks. i was hoping that'll work. i don't like the dual boot setup i have now01:27
gnarfaceejjfunky: sorry.  world of warcraft doesn't work, unless you have a dedicated graphics card just for the vm.  other stuff might work with some performance penalty01:27
ejjfunkyic01:27
gnarfaceejjfunky: the problem is that opengl acceleration won't work, and some stuff refuses to work in a VM without it due to probably anti-botting measures i assume01:27
ejjfunkydedicated graphic card ... hmm... <- this can be a possibility if it can work01:28
ejjfunkyic01:28
gnarfaceejjfunky: if you have a whole second video card and enough juice in the power supply to use it, i've heard that's supposed to work01:28
ejjfunkyic. i'm thinking to build a desktop so i can take a note on this.01:29
gnarfacethe dedicated guest card may have to be a nvidia card01:31
ejjfunkyic01:31
gnarfacei'm not sure about that, double check that, i may have dreamed it or it might just be outdated info01:31
ejjfunkyok, will do01:31
ejjfunkyany recommendation which one?01:31
gnarfaceno, i would recommend you ditch this silly plan and just use wine so you only need AMD cards01:32
gnarfacenot all games will work but world of warcraft usually does01:32
ejjfunkyi tried wine. no go. wine sucks imo. lol01:33
gnarfaceif you use steam too, between wine and proton you can get most games working with only a minor performance penalty.  i agree there are some indignities from time to time you don't have with native support though...01:33
ejjfunkyi mean, result is not as good as window01:33
ejjfunkythat's why i thought i need to run on windows01:33
gnarfaceno, with the right hardware you'd have better performance with the dedicated card in the qemu guest, you're right01:34
gnarfacei'm just saying that it's a lot better than it used to be, you might want to seriously take a game list and see if it's worth it01:34
ejjfunkyyea, you're right. i don't play that much games anyway. it's a nice to have.01:35
ejjfunkybut another thing is when doing a cross platform app, it'll be useful if i can test it immediately on windows as well01:35
gnarfacewith vulkan and proton performance and compatibility is really great across like 80% of games and you get surprise improvements like hyperfast loading times (windows is really inefficient at program startup for whatever reason)01:36
ejjfunkyic. interesting01:36
gnarfacealthough, in that regard it is true for both nvidia and amd cards these days01:37
ejjfunkyic01:37
ejjfunkyi usually don't care much on loading though, as long as it runs fine when playing01:38
ejjfunkyanyway, nice talking with you, gnarface. gonna take a little break. cya later.01:41
gnarfacehave a good one01:41
ejjfunkyyou too.01:41
baileyyo09:49
baileyDoes anyone know if there's a build that will run on M1 macbooks?09:49
bailey...or a way to make one?09:49
bailey(files.devuan.org only has x86 builds, is aarch64 not supported?)09:54
baileyI know there's https://arm-files.devuan.org/ but those seem to be non-generic / tailored for specific systems (mostly RPi)09:55
baileyoooh - there's a #devuan-arm - sorry!09:58
buZzbailey: fyi, M1 doesnt have a GPU thats supported by linux13:30
buZzand seems unlikely it ever will13:30
buZzyou can get unaccelerated output though13:30
buZzbut dont expect a nice, eh, youtube video watching experience, for instance13:30
mdthi, what do you think, should i install using uefi or mbr? what are the benefits of uefi?16:41
fsmithredbenefits?16:44
mdtadvantages?16:45
fsmithredI guess you can have more bootloaders with uefi, and they all go in a vfat partition.16:45
mdti probably dont need that because i run nothing but one linux system16:45
fsmithredmost of the people I know who use uefi do it either because they dual-boot with windows or else their motherboard does a poor job (or none at all) of legacy bios.16:46
mdtok, that's a clear statement :) thank you16:47
fsmithredI had to use uefi on an old thinkpad to get it to boot from ssd16:47
fsmithredT420 with old bios and multiple physical injuries16:47
mdti have to reinstall cause i switched to a m2 thingie and after a bios upgrade UEFI is on again so that came to my mind again16:48
fsmithredI'm not sure of the current status, but there may be issues with booting from nvme16:49
fsmithredand might be specific to some motherboards16:49
mdtstatus of bios/uefi or devuan?16:49
fsmithredgrub or bios/uefi16:50
fsmithredI think grub works fine with nvme now16:50
fsmithredbut motherboards are a crap shoot when it comes to conforming to standards16:51
mdtindeed... :( its a cheap notbook, such stuff expected, i always get acpi warnings from linux when booting16:51
mdti assume i need to start with chimaera and upgrade if i want ceres? i'm not up to date with the names ;)17:03
mdtah, found, so yes, its the current stable..17:05
fsmithredmdt, there are daedalus testing images17:14
fsmithredisos17:14
fsmithredbut upgrade from chimaera works, too. Start with a minimal system so you don't end up installing everything twice.17:14
mdti struggle over the disk partitioning with LVM, it talks about "partitioning" while that are volumes... and i am unable to adapt sizes, hm..20:48
mdtand now i'm lost: "volume group name already in use ... lowering the priority for configuration questions will allow you to specify an alternative name", no clue what its talking about :(20:54
tkmdt: UEFI also allows for using secureboot23:51
tkfor my job secureboot is a requirement on our laptops23:51
tkmdt: in LVM there are PVs, VGs and volumes23:51
tka PV can either be an entire disk, or a disk partition (be that GPT, or MBR or something else)23:52
tkso you run pvcreate on all your to-be PVs to make lvm aware of them (I am not sure if it stores some metadata on the PV or not, presumably it does)23:53
tkonce you have made LVM aware of a set of PVs, you can put them inside a volume group23:54
tkvgcreate VG-name pv1 pv2 ...23:54
tknow you have a volume group, this volume group can have volumes allocated within it23:54
tkthese volumes then show up as block device nodes you can work with like you normally would with /dev/sdxy23:54
tki.e. you can put LUKS on top of them, you can partition them, you can format them, whatever you want (normally you want to format them with a filesystem or encrypt them)23:55

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