libera/#devuan/ Friday, 2020-07-17

klaushi all,11:01
klauswhat is the equivalent of bluetooth.service in openrc ? i would like to do this: https://unix.stackexchange.com/a/51534811:02
klausadd the " --noplugin=avrcp"  to bluetoothd11:03
klausi tried to edit: "/etc/init.d/bluetoothd" like this: command="/usr/lib/bluetooth/bluetoothd --noplugin=avrcp"11:03
klausbut then bluetooth wouldn't start11:04
klauswhat is the correct way to pass that argument on bluetooth in openrc environment ?11:04
klausi see that if i do it manually like this: sudo /usr/lib/bluetooth/bluetoothd --noplugin=avrcp11:17
klausit works11:17
klausbut it seems i cannot use that option from inside the openrc script11:18
gnarfaceklaus: verify you tried to edit /etc/init.d/bluetoothd, not /etc/init.d/bluetooth11:35
gnarfaceklaus: was it an empty file?11:35
klausgnarface: no i was like this: https://0x0.st/iv94.txt11:38
gnarfaceklaus: on my system i see comments in the /etc/init.d/bluetooth file that seem to indicate what to do to accomplish what you're trying, but that's a sysvinit script11:38
klausthat is content of my /etc/init.d/bluetoothd11:38
gnarfacei don't know anything about openrc11:39
gnarfaceso it's unlikely i can help anyway, but i'm also not gonna look unless you use paste.debian.net11:39
klausah ok11:39
klaushttps://paste.debian.net/1156780/11:40
gnarfaceklaus: are you using a setup that is openrc-only, or is it the traditional debian one which boots with sysvinit then hands off to openrc afterwards?11:40
klausit is openrc (arch based artix)11:41
gnarfaceoh, so this isn't even devuan?  then i really don't know11:41
gnarfacetheir setup may be unique to arch or artix11:41
klausi figured since this is linux without systemd it would be similar11:41
klausisn't devuan also providing an openrc flavor ?11:42
gnarfaceputting the files in /etc/init.d would imply they are sysvinit scripts... but this clearly is not, and i thought debian and devuan both put openrc startup scripts elseqhere11:42
gnarfaceelsewhere*11:42
gnarfacebut yea, devuan is providing an openrc flavor but it's different from gentoo's or at least was in ascii... i'm not sure how far they progressed towards unifying it for beowulf or not, i didn't check11:43
gnarfacei had heard they were trying to change it11:43
gnarfaceor at least some people were trying to get it changed11:43
klausi guess that basicaly what i'm after is : how to pass options to daemon launched through openrc11:44
gnarfaceyea, knowing nothing about openrc, and based only on what you've told me, i can only guess you have to provide the command-line switches on a different line, in a different variable or something like that11:45
gnarfacealso maybe the command-line switch might be out of date or something11:45
gnarfaceeither that or you got the wrong file entirely and the one you edited is just cruft being ignored11:45
gnarfacewhat you tried is probably what i would have tried first too, so it's as much of a surprise to me that it doesn't work11:46
gnarfaceyou asked in their irc channel already too, right?11:46
klausyes but right now they are no available it seems11:47
klausi suppose this kind of question could be answered in any openrc based linux11:47
gnarfacewell does openrc have their own channel?  that might be worth checking out too11:47
gnarfaceand failing all else maybe someone in #gentoo will take pity on you11:47
klausgood idea, i'm looking11:48
klaus:)11:48
DPAI only see a /etc/init.d/bluetooth sysvinit script in the debian/devuan package (https://sources.debian.org/src/bluez/5.50-1.2/debian/bluez.bluetooth.init/#L39)11:48
DPAI think openrc can/will still use that script in devuan. Although, I don't have BT or openrc installed right now.11:48
DPABut I think on devuan, it would just come down to setting `NOPLUGIN_OPTION='--noplugin=avrcp"'` in /etc/default/bluetooth11:48
DPANot sure how it would be done with a proper openrc script.11:48
klausDPA: what you're saying seems to confirm what i was reading there: https://forums.gentoo.org/viewtopic-t-1081142-start-0.html11:49
klausbut then,11:49
klausin that file: /etc/init.d/bluetoothd11:50
klausif i set NOPLUGIN_OPTION='--noplugin=avrcp"'11:50
klaushow do i pass that to the line: command="/usr/lib/bluetooth/bluetoothd"11:51
klaus?11:51
klausdo i even need to ? or just setting NOPLUGIN_OPTION='--noplugin=avrcp"' in that file would take care of it all ?11:51
DPAI think, that wouldn't do anything there.11:52
DPAhttps://manpages.debian.org/testing/openrc/openrc-run.8.en.html11:52
DPAlists `command_args`. Not sure if it'll apply to arch, though.11:52
DPABut try adding a line `command_args="--noplugin=avrcp"`11:52
klausi see in your link:11:53
klauscommand_args="${foo_args} --bar"11:53
klausi will try that11:53
klausthanks both DPA and gnarface for the help by the way11:53
klausyes, that was it11:58
klausthis is working: https://paste.debian.net/1156781/11:58
klausso that is how i can pass options to the daemon launched through openrc:  command_args="--noplugin=avrcp"11:59
klausgreat11:59
klaussimple and clean11:59
klausi'm not German by the way12:02
klausbut i'm learning it (albeit slowly)12:02
klaussoops12:03
klausoops12:03
klaussorry12:03
klauswrong channel12:03
miskatoniccan devuan be operated with x11 but no desktop environment?21:45
yetiX11 + window manager... sure...21:50
masonmiskatonic: Yep, that's my preferred desktop set.21:51
yetisomeday...21:52
* yeti raises its pointer toe high into the air...21:52
yeti...sawfish will be fixed and I can get along with a WM only again...21:52
miskatonicI use ratpoison under debian. I've used sawfish for some time because of the lisp thing.21:58
yeticurrently it fails badly on armhf21:59
yetiand I want the same UI on all platforms22:00
yetimy #1 would be exwm... but thats not fit for everyday use22:01
yetiuse the wronf function and it deadlocks22:01
yeti:-/22:01
MinceRmy #1 is fvwm22:02
bnjffvwm9522:02
bnjfvery close second, piewm22:02
DeeEffI use awesomewm with Devuan22:56
DeeEffworks pretty well22:56
yetiwhere are all the hip sooming desktops we were promised years ago?23:00
yetiZooming23:00
DeeEffcompiz peaked with spinnan cubez23:01
DeeEffthere was nothing after that23:01
DeeEffexcept maybe i323:02
miskatonicthey decided to go systemd, which caused a delay of the maintenance and  development of essential features23:02

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