klaus | hi all, | 11:01 |
---|---|---|
klaus | what is the equivalent of bluetooth.service in openrc ? i would like to do this: https://unix.stackexchange.com/a/515348 | 11:02 |
klaus | add the " --noplugin=avrcp" to bluetoothd | 11:03 |
klaus | i tried to edit: "/etc/init.d/bluetoothd" like this: command="/usr/lib/bluetooth/bluetoothd --noplugin=avrcp" | 11:03 |
klaus | but then bluetooth wouldn't start | 11:04 |
klaus | what is the correct way to pass that argument on bluetooth in openrc environment ? | 11:04 |
klaus | i see that if i do it manually like this: sudo /usr/lib/bluetooth/bluetoothd --noplugin=avrcp | 11:17 |
klaus | it works | 11:17 |
klaus | but it seems i cannot use that option from inside the openrc script | 11:18 |
gnarface | klaus: verify you tried to edit /etc/init.d/bluetoothd, not /etc/init.d/bluetooth | 11:35 |
gnarface | klaus: was it an empty file? | 11:35 |
klaus | gnarface: no i was like this: https://0x0.st/iv94.txt | 11:38 |
gnarface | klaus: 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 script | 11:38 |
klaus | that is content of my /etc/init.d/bluetoothd | 11:38 |
gnarface | i don't know anything about openrc | 11:39 |
gnarface | so it's unlikely i can help anyway, but i'm also not gonna look unless you use paste.debian.net | 11:39 |
klaus | ah ok | 11:39 |
klaus | https://paste.debian.net/1156780/ | 11:40 |
gnarface | klaus: 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 |
klaus | it is openrc (arch based artix) | 11:41 |
gnarface | oh, so this isn't even devuan? then i really don't know | 11:41 |
gnarface | their setup may be unique to arch or artix | 11:41 |
klaus | i figured since this is linux without systemd it would be similar | 11:41 |
klaus | isn't devuan also providing an openrc flavor ? | 11:42 |
gnarface | putting 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 elseqhere | 11:42 |
gnarface | elsewhere* | 11:42 |
gnarface | but 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 check | 11:43 |
gnarface | i had heard they were trying to change it | 11:43 |
gnarface | or at least some people were trying to get it changed | 11:43 |
klaus | i guess that basicaly what i'm after is : how to pass options to daemon launched through openrc | 11:44 |
gnarface | yea, 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 that | 11:45 |
gnarface | also maybe the command-line switch might be out of date or something | 11:45 |
gnarface | either that or you got the wrong file entirely and the one you edited is just cruft being ignored | 11:45 |
gnarface | what 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 work | 11:46 |
gnarface | you asked in their irc channel already too, right? | 11:46 |
klaus | yes but right now they are no available it seems | 11:47 |
klaus | i suppose this kind of question could be answered in any openrc based linux | 11:47 |
gnarface | well does openrc have their own channel? that might be worth checking out too | 11:47 |
gnarface | and failing all else maybe someone in #gentoo will take pity on you | 11:47 |
klaus | good idea, i'm looking | 11:48 |
klaus | :) | 11:48 |
DPA | I 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 |
DPA | I think openrc can/will still use that script in devuan. Although, I don't have BT or openrc installed right now. | 11:48 |
DPA | But I think on devuan, it would just come down to setting `NOPLUGIN_OPTION='--noplugin=avrcp"'` in /etc/default/bluetooth | 11:48 |
DPA | Not sure how it would be done with a proper openrc script. | 11:48 |
klaus | DPA: what you're saying seems to confirm what i was reading there: https://forums.gentoo.org/viewtopic-t-1081142-start-0.html | 11:49 |
klaus | but then, | 11:49 |
klaus | in that file: /etc/init.d/bluetoothd | 11:50 |
klaus | if i set NOPLUGIN_OPTION='--noplugin=avrcp"' | 11:50 |
klaus | how do i pass that to the line: command="/usr/lib/bluetooth/bluetoothd" | 11:51 |
klaus | ? | 11:51 |
klaus | do i even need to ? or just setting NOPLUGIN_OPTION='--noplugin=avrcp"' in that file would take care of it all ? | 11:51 |
DPA | I think, that wouldn't do anything there. | 11:52 |
DPA | https://manpages.debian.org/testing/openrc/openrc-run.8.en.html | 11:52 |
DPA | lists `command_args`. Not sure if it'll apply to arch, though. | 11:52 |
DPA | But try adding a line `command_args="--noplugin=avrcp"` | 11:52 |
klaus | i see in your link: | 11:53 |
klaus | command_args="${foo_args} --bar" | 11:53 |
klaus | i will try that | 11:53 |
klaus | thanks both DPA and gnarface for the help by the way | 11:53 |
klaus | yes, that was it | 11:58 |
klaus | this is working: https://paste.debian.net/1156781/ | 11:58 |
klaus | so that is how i can pass options to the daemon launched through openrc: command_args="--noplugin=avrcp" | 11:59 |
klaus | great | 11:59 |
klaus | simple and clean | 11:59 |
klaus | i'm not German by the way | 12:02 |
klaus | but i'm learning it (albeit slowly) | 12:02 |
klaus | soops | 12:03 |
klaus | oops | 12:03 |
klaus | sorry | 12:03 |
klaus | wrong channel | 12:03 |
miskatonic | can devuan be operated with x11 but no desktop environment? | 21:45 |
yeti | X11 + window manager... sure... | 21:50 |
mason | miskatonic: Yep, that's my preferred desktop set. | 21:51 |
yeti | someday... | 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 |
miskatonic | I use ratpoison under debian. I've used sawfish for some time because of the lisp thing. | 21:58 |
yeti | currently it fails badly on armhf | 21:59 |
yeti | and I want the same UI on all platforms | 22:00 |
yeti | my #1 would be exwm... but thats not fit for everyday use | 22:01 |
yeti | use the wronf function and it deadlocks | 22:01 |
yeti | :-/ | 22:01 |
MinceR | my #1 is fvwm | 22:02 |
bnjf | fvwm95 | 22:02 |
bnjf | very close second, piewm | 22:02 |
DeeEff | I use awesomewm with Devuan | 22:56 |
DeeEff | works pretty well | 22:56 |
yeti | where are all the hip sooming desktops we were promised years ago? | 23:00 |
yeti | Zooming | 23:00 |
DeeEff | compiz peaked with spinnan cubez | 23:01 |
DeeEff | there was nothing after that | 23:01 |
DeeEff | except maybe i3 | 23:02 |
miskatonic | they decided to go systemd, which caused a delay of the maintenance and development of essential features | 23:02 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!