libera/#devuan/ Thursday, 2023-08-24

CEPhello03:55
CEPcommands for up services en devuan?03:57
critrup services?04:02
digixthe command "service" maybe? :)04:03
critroh. that would be: service <servicename> <command>, e.g. service tor restart.04:04
* jonadab always forgets the new way and just does /etc/init.d/foo restart like it's the nineties.04:12
CEP"service order not found"04:12
fluffywolfI too use /etc/init.d/...04:15
rrqCEP: have you checked your PATH?04:20
rrq... Devuan inherits the shadow -> util-linux change to su behavior from upstream Debian.. https://wiki.debian.org/NewInBuster04:23
rrq(quoting steve_v from https://dev1galaxy.org/viewtopic.php?pid=43721#p43721)04:23
CEPfluffywolf, It's not in that folder04:30
gnarfaceCEP: what he's saying is that you can just call the init scripts directly; the "service" command is just a wrapper script that provides very little actual benefit05:10
gnarfaceit's optional, you may not even have it installed depending on how you did your install05:10
CEP--->   /usr/lib/systemd/user/pipewire.service05:13
gnarfacethat's vestigial systemd cruft. just ignore that05:13
gnarfacesysvinit doesn't even touch it05:13
onefangThough the service command will try to run that instead of the init script if the systemd unit exists.05:14
gnarfacetry "/etc/init.d/pipewire start"05:14
CEPuser and root : "permission denied"05:14
gnarfacewait, as root you got permission denied with "/etc/init.d/pipewire start" ???05:14
CEPgnarface, does not exist05:16
CEP "/etc/init.d/pipewire start", does not exist05:17
gnarfacehmm, i wonder if it's supposed to get started by your login manager like pulseaudio05:17
gnarfacethe latest pulseaudio setups would have it get started automatically on login by lightdm or such05:18
gnarfacepipewire is closely related so probably doing something similar05:18
gnarfaceCEP: do you have a graphical login installed?05:20
critrwhat's the nbst way to remove pulseaudio and install pipwire without screwing up my audio?05:22
CEP1- I'm in virtualbox, 2- I come from the Daedalus trial version, 3- Pulse is uninstalled, 4- I'm from Argentina and I'm translating with google05:23
CEPgnarface, yes, "graphical login..."05:26
gnarfacecritr: good question05:27
gnarfaceCEP: virtualbox may be a complication. i don't use pulseaudio or pipewire here, they may be unnecessary complications05:28
gnarfaceonefang: are you using pipewire anywhere?05:29
gnarfacepersonally i'm still doing fine without either of them05:29
onefangNope, just JACK and ALSA.05:29
gnarfaceCEP: it might be worth trying to boot the live iso to see how it is setup05:30
critri think tonight would be a good night to rsync my whole system partition to backup, while it's all working right. then i can screw it all up.05:30
onefangSounds like a good idea.05:31
gnarfaceCEP: either way, hang around until you can talk to someone who actually has experience with pipewire05:31
CEPcritr when I wanted to install pulse-audio , uninstall pipe-audio and even genome, I think the other way around, it would uninstall pulse-audio and genome. but I come from a test version, (the error must come from there.)05:33
CEPgood idea. both, make a backup to reconfigure linux, and wait for someone with more knowledge. thank you very much everyone05:37
systemdleteExperiencing odd problem:  Chimaera in a vbox VM having trouble enumerating USB thumb drive, but only in one VM.  Another chimaera VM is able to access the drive just fine.  A beowulf VM also has the problem.   All of these run on same chimaera host.16:12
systemdleteI've checked the configs of all these and I don't see anything so different that such different behavior should be manifest.  And I know people here are not in love with vbox, but I just want to know what kind of tests or tools I must use to figure this out.16:13
gnarfaceyou sure it's not just an issue of only one being able to access it at a time?16:13
systemdleteOnly one is accessing it at a time, yes.16:13
gnarfaceso the other vms, they're stopped at that time?16:14
systemdletevbox won't let you attach one usb device to multiple VMs16:14
systemdleteso, yes, more or less16:14
gnarfaceyea i was just thinking that to be sure they're not contending for it somehow, you should try it with only one running16:14
gnarfacei mean try it with only the one you're trying to access it with running16:14
systemdleteI have a several other VMs running openwrt and none of then have trouble with accessing this same thumb drive when I attach it to thme.16:15
systemdleteAnd I tried a different USB thumb drive and got the same results for each VM.16:15
gnarfaceit's just a sanity check. it could be a bug16:16
gnarfacelike maybe something went wrong and some drive mount identifier got stuck in an i/o lock or something i dunno16:16
systemdleteright... I guess I could try your idea.16:16
gnarfacei mean, there doesn't seem to be a lot else that could explain it16:16
systemdletewhen you say I/O lock-- on the host?16:16
gnarfacein one of the vms or both?16:17
gnarfaceboth host and vm16:17
gnarfacesomewhere inbetween16:17
gnarfacethe one that it works on is the one that you used last is it not?16:17
systemdleteAll of these VMs are running chimaera or beowulf.16:17
systemdlete(and the host is chimaera too)16:17
systemdleteorder of use doesn't seem to be a factor.16:18
systemdleteI can go from one VM to the other and get the same results every time.16:18
gnarfaceoh, so it's not just like stuck with one particular one of them?16:18
systemdleteAll of the openwrt VMs and one of the devuan VMs can access a USB device, but the other 3 VMs cannot.16:19
gnarfacei see16:20
gnarfacehmmm16:20
systemdleteOn another box--a test box--does not have this problem.  But that testbox is now running daedalus.16:20
gnarfacewait, are all these vms on the same host, or just the ones that can't access the device?16:21
systemdleteAll on the same host, including the ones that can't access it.16:21
systemdleteI can see the guest struggling to enumerate it in the syslog16:22
gnarfacecould there have been any udev rule customization going on?16:22
systemdletehmmmm.16:22
systemdleteI don't recall customizing for a thumb drive, but I will double-check.16:22
gnarfacei meant more like something that accidentally applied to the thumb drive too, due to too loose id qualifiers or something16:23
systemdletethrere is a rules file... let me check the others...16:23
systemdletethey all have the same rules file, it turns out16:26
gnarfacewait, you mean all of the vms, or just the ones that have trouble with the device?16:26
systemdleteit's just setting mode for files, but it is the same on each devuan VM16:27
systemdleteI am talking about the devuan VMs.16:27
hosszufa12hi16:28
systemdleteopenwrt VMs have hotplug rules files.  But I don't think those deal with vbox or usb devices.16:29
hosszufa12when i tried running a program with wine it gave me an error that i dont have some dll, so i thought that it wasnt installed properly, so i did sudo apt remove wine-staging and sudo apt install wine-staging and now i dont have the wine command at all16:30
gnarfacehosszufa12: "dpkg -l |grep wine"16:33
gnarfacewhen you remove them, remove them all, and use --purge, and when you install them, make sure they're all the same version16:34
hosszufa12ii  carla-bridge-wine32                   5:2.6.0~git20230804                all          Dummy package16:34
hosszufa12ii  carla-bridge-wine64                   5:2.6.0~git20230804                all          Dummy package16:34
hosszufa12ii  carla-vst-wine                        5:2.6.0~git20230804                amd64        carla VST for windows applications16:34
hosszufa12rc  wine-stable                           8.0.2~bullseye-1                   amd64        WINE Is Not An Emulator - runs MS Windows programs16:34
hosszufa12rc  wine-stable-amd64                     8.0.2~bullseye-1                   amd64        WINE Is Not An Emulator - runs MS Windows programs16:34
hosszufa12rc  wine-stable-i386:i386                 8.0.2~bullseye-1                   i386         WINE Is Not An Emulator - runs MS Windows programs16:34
hosszufa12ii  wine-staging                          8.14~bullseye-1                    amd64        WINE Is Not An Emulator - runs MS Windows programs16:34
hosszufa12ii  wine-staging-amd64                    8.14~bullseye-1                    amd64        WINE Is Not An Emulator - runs MS Windows programs16:34
hosszufa12ii  wine-staging-i386:i386                8.14~bullseye-1                    i386         WINE Is Not An Emulator - runs MS Windows programs16:34
gnarfaceno no i am not asking you to paste it. don't do big pastes in here, use paste.debian.net16:35
gnarfacewhat i meant was you need to check this info yourself so you know which ones to remove16:35
hosszufa12i did16:35
hosszufa12i removed and installed all of them again16:36
gnarfaceit's also possible it has moved to /opt/wine-staging/bin/ and you haven't got that in your path16:36
systemdletegnarface, here is what happens when I attach a thumb drive to a VM that doesn't enumerate the usb device:   https://pastebin.com/n4jHGiWb16:36
gnarfacehosszufa12: for a while now for me, they have been symlinks in /usr/bin/, are you missing those?16:37
hosszufa12how do i check it16:37
gnarfacehosszufa12: also, i dunno what that carla wine bridge thing is, so i don't know if it's interfering or not. check with: ls -l -F /usr/bin/wine16:38
gnarfacesystemdlete: paste.debian.net?16:39
hosszufa12ls: cannot access '/usr/bin/wine': No such file or directory16:39
gnarfacehow about this? ls -l /opt/wine-staging/bin/wine16:39
hosszufa12-rwxr-xr-x 1 root root 13808 Aug 21 11:59 /opt/wine-staging/bin/wine16:40
gnarfaceok, and this? echo $PATH16:40
systemdletehttp://paste.debian.net/1289914/  (sorry)16:40
hosszufa12/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games16:41
gnarfacehosszufa12: well there's your problem16:41
systemdleteand here is a paste of the syslog from a different chimaera VM that does not have this problem:   http://paste.debian.net/1289915/16:41
gnarfacesystemdlete: but you said other similar usb flash keys worked fine on the misbehaving one?16:42
systemdleteno.16:42
systemdletesame behavior for other flash key16:43
gnarfacesystemdlete: oh, so they could be missing a kernel module perhaps?16:43
hosszufa12so do i just move /opt/wine-staging/bin/* (there is only wine there) to /usr/bin and it would be fine?16:43
systemdletegnarface ?16:43
gnarfacesystemdlete: maybe the usb-storage module is missing?16:43
gnarfacehosszufa12: no i wouldn't recommend it. i'd add /opt/wine-staging/bin to your $PATH16:44
systemdleteOther VMs can see the USB device without a problem, so if it is a host-side vbox problem, then I'd think I'd see the problem on all VMs on the same host.16:44
gnarfacesystemdlete: these VMs don't run their own kernel like a qemu VM?16:44
systemdleteYou know, gnarface, I actually manually added the usb-storage device on the problem VM, but it made no difference.16:45
gnarfacesystemdlete: there's no weird character set in the device descriptor is there?16:45
systemdletegnarface, they all run their own kernels.  The same one in fact.  5.0.10-2516:45
systemdletehmmmm.16:45
systemdleteso like lsusb -tv and look for funny characters?16:46
gnarfacesystemdlete: maybe?16:46
gnarfacesystemdlete: on one of the ones that works16:46
gnarfaceonly guess i've got besides kernel module difference in the VM kernels is maybe some sort of race condition if those ones are faster or slower somehow...16:47
systemdletelsusb -v  | grep -v '[ -~]' gave me errors, on the guest which doesn't have the problem16:48
hosszufa12thank you thank you very much16:48
gnarfacehosszufa12: working now?16:48
systemdletehttp://paste.debian.net/1289918/16:49
hosszufa12yea wine is working but i still dont have that dll apparently16:49
gnarfacehosszufa12: which dll?16:49
hosszufa12MFC42u.DLL16:49
hosszufa12its 100% there16:49
gnarfacehosszufa12: no idea about that, sorry. have you heard of winetricks?16:50
gnarfacesystemdlete: i think i've seen that error before but i don't remember what caused it.16:50
hosszufa12yea, i think i even have it installedd16:51
gnarfacehosszufa12: the first thing i'd check is if there's a winetricks package with a newer version of that. the one that actually ships with wine may be some sort of dummy.16:51
systemdleteme is searching web for the error string...16:52
gnarfacesystemdlete: it could be unrelated but it seems like a big coincidence if so16:53
systemdleteI didn't think to look at udev rules on host... maybe this will illuminate a bit?  http://paste.debian.net/1289919/16:55
systemdleteThat createusbnode script might tell us something16:56
hosszufa12ill try running that same thing on my other computer, it runs touhou on wine fine so i guess that one doesnt have any wine problems16:56
gnarfacesystemdlete: VBoxCreateUSBNode.sh comes with vbox? maybe that's where the race condition is?16:57
systemdletehttp://paste.debian.net/1289920/ is the script16:59
gnarfacesystemdlete: maybe just try calling it by hand with the same parameters as udev would?17:01
systemdleteyes, the udev rules and the script come with vbox.17:01
systemdleteheheheh.  could do that, yes17:01
systemdletemaybe I can go back to #vbox and see what they make of this.17:03
gnarfaceworth a try17:04
systemdletekeep in mind that the device (thumb drive, key) has to be detached from one VM before it can be attached to another.17:04
systemdletea race condition doesn't seem likely, unless you are talking about some very low-level thing17:04
systemdleteI see that script 2>/dev/null   I'm thinking I might test it with that stripped out everywhere.17:05
gnarfaceyes, probably worth it17:06
systemdletegnarface, deeply appreciate your patience with this vbox issue.  I know devuan is not responsible for their bugs, and folks here are not too fond of it, but it is very helpful to gain some insights through other eyes.17:06
systemdletethe dev rules is helpful.  Might be the key to figuring this out. (no pun intended)17:07
gnarfaceno problem17:07
systemdletethanks again, as always17:08
ManinTheSandboxSaj7751!!17:17
ManinTheSandboxYAh!17:17
ManinTheSandboxDevuanISTHEBEST!17:18
ManinTheSandboxHad to said it in this channel, thanks for space.17:18
systemdletehow can I specify how many kernels I'd like to keep in /boot before autoremoval?  On one system, I have 3 kernels at all times, but on another only 2.18:26
systemdletelooks like you have to modify an apt script, but I don't recall doing that.18:26
CEPsystemdlete, check, the usb configuration, usb 2 brand22:18

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