libera/#devuan/ Thursday, 2024-11-14

gnarfaceAlverstone: well, that's the old, old way of doing it, but someone wanted dependency-aware booting added to sysvinit and then added it to debian a full year before systemd. despite this, the major justification for systemd was "sysvinit doesn't support dependency-aware parallel-booting" :(00:04
gnarfaceso now there's a minor conflict in behavior, but the way it seems to work is that LSB headers take precedence over the /etc/rc*.d/S* (start) symlinks, but /etc/rc*.d/K* (stop) symlinks take precedence over the LSB headers instead00:05
gnarfacei guess this was all to eliminate the overhead of distro maintainers having to repeatedly re-index and agree to indexing orders on banks of symlinks in unrelated projects00:06
gnarfaceit's occasionally been a pain in the ass for me, but less often than you'd think00:07
gnarfacein theory you could get what you want done by just moving cryptdisks-early to S00 or S01 or something00:09
gnarfacebut that'll not necessarily also work as expected in sysvinit00:09
AlverstoneIt was just a pretense. systemd's overtake was a planned and coordinated. On subject, since I use runit I don't see any sysvinit specific utilities that do the actual parsing and dependency resolution... for some reason. /etc/init.d/rc seems to do something, but I don't really understand what.00:11
Alverstonethere are some .depend* files, don't understand them either00:12
gnarfaceeh, i'm vague on the implementation details but i think that whatever isn't in /etc/init.d/rc, /etc/init.d/rc.local, or /etc/init.d/rcS is in the /sbin/init binary itself00:14
gnarfaceit's not such a large and complicated thing as people made it out to be00:15
gnarfaceoh, there's also some configuration in /etc/inittab but i think nothing really directly related to dependency tracking00:16
gnarfacehmm, though now that i look that up, stackexchange says they're parsed by /etc/insserv00:19
gnarface(and chkconfig on redhat)00:19
gnarfacedunno if that's true but it sounds legit00:19
Alverstoneupdate-rc.d00:33
Alverstonegood, now I can sleep peacefully00:33
Alverstonefinally00:33
gnarfaceuh... i don't think that one does anything about LSB headers though... just the symlinks...00:38
rwpgnarface, You have it!  But let me tune that up a little.  inserv reads the LSB headers and writes out new S* and K* symlinks based upon them.  And most importantly writes out /etc/init.d/.depend.boot and .start and .stop Makefile make compatible dependency information.01:43
rwpThen at boot time those are used in dependency order in parallel like "make -j#" and I think at least was at one time actually make but don't know for sure now.  At boot you will see the message "Using makefile-style concurrent boot in runlevel 2."  If those files are not present then it falls back to the S* ordering.01:43
rwpBefore then maintainers could never coordinate on numbers.  And they could never grasp the problem of breaking circular dependencies at boot time.  So then they converted to the inserv tool which complains when there are circular dependencies.  People sometimes ignore the complaints.01:45
rwpThe classic circular dependency loop is that everything wants syslog online to log messages including DNS servers.  Everything wants DNS online to look up names including system log daemons.  Everything wants network attached storing online including addressing them by name.01:47
rwpYou can see the types of loops that are created.  And which must be broken by some method that a human must choose.  But people never want to address bootstrapping issues like that and dig in their heels and force the problem into the initramfs.01:48
gnarfacerwp: thanks, that helps a lot! i will probably forget all that by the next time it comes up but it's good to know someone around here knows the details02:44
rwpMy turn for a question.  Yesterday one of my VMs at Digital Ocean started producing this error.  https://paste.debian.net/1335460/02:51
rwpE: /usr/share/initramfs-tools/hooks/growroot failed with return 1.02:52
gnarfacenot sure i've seen that before, i've only got two guesses: maybe you're out of space on a partition or maybe /boot is marked read-only02:52
rwpAnyone know the problem with this?  Or an easy way to debug it?  There is just no information emitted.02:52
rwpGood question.  All in one partition.  /dev/vda1      ext4       20G   17G  1.7G  92% /02:53
gnarfaceor wait, not just read-only, i think if it's mounted with "noexec" i've seen kernel choking too02:53
rwpHard to believe it would need more than 1.7G of space to create the new initramfs but that's possible.  I wonder what I can prune there.02:54
gnarfacewait but it's ext4 so doesn't it have a reserved percentage as well?02:54
gnarfaceif it's reserving 5% or something that makes it more likely you could have run into the limit02:55
gnarfacethe kernel modules are almost 400 MB here02:55
rwpThat 1.7G will include the reserved 5% percentage.02:56
rwpI found 2G that was wasted junk that I could delete immediately.  Up to 3.8G free now.  Same error.  Can't believe it needs that much space.02:56
gnarfacewhat package is /usr/share/initramfs-tools/hooks/growroot in? i don't have that here02:58
rwpThis system is part of a project which is mostly idle now.  It's now my turn to say that nothing has changed.  :-)  But clearly upgrades have been continuing automatically upgrading.  And then for some reason this one daedalus system can't make initramfs on vmlinuz-6.1.0-26-amd64 or vmlinuz-6.1.0-27-amd6402:59
rwpAh...  "update-initramfs -u" with -v prints copious information.  Chasing down the rabbit hole of it.03:01
gnarfacecloud-initramfs-growroot - automatically resize the root partition on first boot03:02
gnarfacepart of this package maybe?03:02
rwpYes.  Definitely part of that package.03:03
rwpThinking about purging that package in order to avoid this error.03:03
gnarfaceit seems like you shouldn't need to grow anything on an already-created VM disk image03:04
rwpBut I am looking down through those scripts now.  Ran manually and am getting this "/usr/share/initramfs-tools/hooks/growroot: 204: verbose: parameter not set"  But it might be because I am running it manually without any particular env variables set which it might need.03:04
rwpAlso clearly /usr/share/initramfs-tools/hooks/growroot is shorter than 204 lines so that confuses me.03:05
gnarfacewell one would think it should be smart enough to realize the partition is already 100% of the available disk space, but i dunno03:05
rwpI also don't see where it actually grows the partition either.  It just copies some programs around in the style of UsrMerge.03:06
rwpThat package was recently upgraded too.  Would count as something that changed recently.03:10
rwpThis system has not yet been UsrMerged.  This seems to be an error resulting from that situation.03:16
rwpYES!  It's a fallout from UsrMerge and this system just hadn't gotten it yet.  Because it's mostly an idle thing now.03:24
rwpThe /usr/share/initramfs-tools/hooks/growroot script is trying to copy /usr/bin/grep /bin but on an unmerged system grep lives at /bin/grep so there is no /usr/bin/grep to copy and the script fails.03:24
rwpAnd it is the same for three utils in that script all of grep, rm, sed have the same issue.03:25
gnarfacewait wait03:26
gnarfaceso a usrmerge script...03:26
gnarfaceis failing because it's unusermerging something?03:26
gnarfacethere seems to be a lot of irony in that situation03:26
rwpTo work around the problem I copied grep, rm, sed from /bin to /usr/bin so that the /usr/share/initramfs-tools/hooks/growroot can find them and copy them from /usr/bin to /bin successfully and continue.03:27
* gnarface facepalms03:27
gnarfacethis is jumping the shark level shit here03:27
rwpI then re-ran the apt-get upgrade allowing it to trigger the update-initramfs and it completed successfully.03:27
rwpI don't really know what the author was trying to do there but take a browse of /usr/share/initramfs-tools/hooks/growroot and tell me why they are doing that set of copy actions.03:28
gnarfacei feel like this is going to come up again03:28
gnarfacei don't have that file here though and i'm not gonna install it03:29
rwpI script the upgrade and it runs every day on these systems.  This is a Devuan 5 Daedalus Stable system and it hit this problem yesterday.  I just got to it today.03:29
rwpLet me paste it.  https://paste.debian.net/plain/133546203:31
rwpI didn't install cloud-initramfs-growroot but it came as part of a standard Debian install on Digital Ocean and then upgraded to Devuan later, it's been around a while.  But cloud-initramfs-growroot is just a standard package in the repository.03:32
rwpI will bet that people will hit this on random cloud hosted systems.03:32
gnarfacehmm, yep, pretty blatantly copies them right up front03:32
gnarfacecomment but no explanation...03:32
rwpAnd now you know as much as I do about it!03:32
rwpThe root cause of the failure was basically copy_exec /usr/bin/grep /bin can't work because there is no /usr/bin/grep, and the same for /usr/bin/rm and /usr/bin/sed.03:33
rwpI did a workaround by "cp /bin/{grep,rm,sed} /usr/bin/" to ensure that they did exist there so that this hook script could do it's own copy in reverse and succeed.03:34
rwpThis is only ever going to be a problem on non-usrmerged systems.  Which this one is but only because of neglect.03:34
rwpAnd this happened in Stable this last week for some reason.  The file dates on the files in the cloud-initramfs-growroot package are dated Aug 20 so recent change.  That should not happen in a Stable release but it escaped through.03:35
rwpProbably a super easy workaround would be to purge the package.  And I would have done that except I wanted to get to root cause of the problem first.03:36
rwpStuff here IRL.  BBIAB.03:36
onefangGot an email from my ISP telling me about an emergency outage between "23:00 and 05:00".  Then goes on to say "work will be performed during daylight hours."  If they meant between 11 AM and 5 PM, which would make more sense, then it would be off already.  Sooo, I could drop out suddenly for hours, or that could happen later tonight.03:50
onefangSo much for my plans to get stuck into apt-panopticon improvements today.  If my network is going away for hours at some random time, testing network stuff isn't a good plan.03:51
onefangTime to eat.  No network required.  B-)03:52
* systemdlete lumbers on with the nut-2.8.2 effort for daedalus...05:37
systemdletegood news/bad news.   I got the patches working by carefully updating them.  Got past that.  Then hit the renamed tmpfiles file problem and fixed that by updating the configure.ac file.05:40
systemdleteGot farther along, but now hitting doc file issues.  At the step where it tries to generate the docs, it complains it cannot find the "UPGRADING" file.05:41
systemdleteoddly, this seems to come from the same rule in the Makefile; it is able to make the others, but not that one.  All have *.adoc source files.05:41
systemdletedh_installdocs: error: Cannot find (any matches for) "UPGRADING" (tried in ., debian/tmp)05:46
systemdleteit seems to be calling or referencing a make rule in debian/rules  I looked at the lines indicated in the error messages, but I don't see an explicit dependency in either of those rules for that file.05:49
systemdletein fact, drilling down a bit, looks like it fails on05:52
systemdletedh_installdocs -A ./README ./NEWS ./TODO ./AUTHORS05:52
systemdlete(where is it getting the idea of "UPGRADING" from I wonder...)05:53
systemdleteI see... UPGRADING is referenced in the named files05:58
systemdleteso it looks like UPGRADING.adoc did not get processed and put where the process expects it.  OK...06:01
systemdlete(see, this is why I'd rather die than go through all this...)06:01
onefangPlease don't dlete systemdlete.06:07
systemdleteI'm gonna cheat here and just copy the .adoc file to the target.  I don't plan on using it anyway...06:12
systemdletewhoever upgraded this apparently forgot to upgrade the build process for generating the upgrading info...06:12
systemdlete(maybe they meant to keep the secrets of upgrading to themselves, who knows)06:13
systemdletehad to cheat a few more of these adoc files...06:21
systemdleteI will report this deficiency to the package author to have them fix their doc make steps06:22
morenonaturalhey, y'all ... probably not the best place to ask, but dunno where to look for this: I have an old usb gamepad (HID era) and I want to use it as an XInput (basically any PC gamepad nowadays)15:44
morenonaturalprobably "writing a module" is a solution, but if a) there's already a driver (but registers as a non-XInput device) b) re-writing a XInput gamepad (template available?) ...15:46
morenonaturalI would like to use a) or b) if available, minimize the work to do15:46
gnarfacei was under the impression that there was a hardware requirement so older gamepads can't do it15:48
gnarfacebut the first thing that comes to mind as examples would be the existing modules... you can get the kernel source package and look at them15:48
gnarface...there might be a userspace component required too? i'm foggy on it...15:49
freemwhat's HID already?15:49
morenonaturalHuman Input Device15:49
gnarfacei know steam will still support non-xinput gamepads anyway though, for whatever that's worth15:49
freemah... like, a mouse, a keyboard, etc15:49
morenonaturalif you know XInput, it's the same concept15:49
gnarfaceyou don't necessarily need xinput to use your gamepad, mind you15:49
morenonaturalgnarface, even in linux distros?15:50
freemyeah15:50
gnarfaceyea15:50
morenonaturalohh, nice15:50
morenonaturalwill check that out15:50
morenonaturalit's not necessary, but it definitely makes things easier15:50
freemI mean, keyboards and mouse on linux can work even in the TTY after all15:50
morenonaturalnot all games support non-XInput gamepads... lesser do as time goes by15:51
freemI think xinput and consort are more about making things supported by gtk/qt15:51
freemare not most games built on top of SDL?15:51
morenonaturalI'm thinking games played through wine15:51
freemstill15:51
freemSDL is not just for hobyists15:52
freemwell, I don't know too much on this15:52
morenonaturalI can check that out too... my restrictions are "time to sit and code", but I still have "time to read about stuff on my phone" (I got kids and I take em to the park)15:53
morenonatural* I got kids and have a culture load that provides me with 10min-ish spans available to read spread through the day15:54
gnarfacea surprising amount of games are actually built on mono, even on linux "native" titles15:54
freemyes, since Unity and now Godot target C# as primary or secondary target15:55
gnarfaceeven stuff older than unity was for linux15:55
freemI have bought 2 games based on Unity. Shitty performances, I have good reasons to suspect the engine's the root. So godot might really be a blessing15:55
gnarfacei think15:55
freemnext time I evaluate a game, i'll check the engine, and if unity, then nope.15:56
gnarfacein my experience the unreal engine does a lot better15:56
freem(but that's offtopic)15:56
freemwell, UE was a strong competitor to quake15:56
djphUnity could use some love; but I've not seen it be /terrible/15:56
freemtalking about FPS... you can't waste cycles nor network frames :)15:57
freemnah15:57
freemunity merits despise, and apparently they manage to buy it with their latest director or whatever, giving nice publicity to godot15:57
djphoh yeah, I don't play FPS (or at least not multiplayer)15:57
freemand it's a full win for us: even if the game is non-foss, the engine being foss means we can fix perf problems :)15:58
freemor try.15:58
freemfor certain can report them, at least15:58
freemUnity's director did us a great favor trying to grab more money :)15:59
freemregarding the original issue, I never owned... err, ok, I did once, but it was a serial one... an usb gamepad or alike, so I have no idea how they are handled by the kernel16:00
gnarfacesome of them are handled by more generic hid modules, some of them have specific modules16:01
freemI did wrote a software directly using libinput (great lib, btw! neat API, trivial to use, it was actually fun to code with it) and framebuffers, for work, but is all16:01
freemSDL failed at handling the Xorg-less (and wayland-less) setup, it's why I had to resort to NiH16:02
freemwe were using a touchscreen on top of a screen. The stuff basically appeared exactly as if it was mouse16:02
freemprevious attempt by a colleague to use SDL, which failed, colleague tried (and to some success, have to say, but it was buggy) to directly read the device's file in /dev IIRC16:03
freemthat does not really helps with the issue though16:04
freemmorenonatural: maybe you could lend us some info about the device?16:04
onefangI was about to ask which device are we talking about.16:06
onefangLong ago I had my PS3 USB controller working with LInux and Android.  Long ago being when PS3 was new.  Don't recall details.16:07
morenonaturalhttps://www.amazon.com/Buffalo-iBuffalo-Classic-USB-Gamepad/dp/B002B9XB0E16:07
AlexLikeRocki got controller ps3 generic16:08
morenonaturalI believe that's actually newer... I don't remember "Android" mentioned at any time16:08
AlexLikeRockhelp me to make usefull16:08
freemnot until you rename to Alex Kidd16:09
morenonaturalnot to be confused with the wireless, either16:09
AlexLikeRockI was stuck in the step, that if it detects it as HID, but not as a joystick16:09
AlexLikeRockyes, mi controll are both  , wire  and wireless16:10
morenonaturalah, this sounds like it https://www.reddit.com/r/snes/comments/18i6vz/buffalo_japans_retrostyle_8_button_usb_gamepad_is/16:10
AlexLikeRockhalf detects it as HDD with bluetooth16:11
AlexLikeRockwith wire, never16:11
morenonaturalI can plug it and give y'all more info... lemme know what command I have to run16:11
freemerr... and usb snes controller?!?16:11
gnarfacejs-test16:11
gnarfaceplug it in and run dmesg16:12
morenonaturalAlexLikeRock, https://www.linuxnest.com/how-to-use-ps3-controller-on-linux-a-comprehensive-guide/ not useful?16:12
freemmorenonatural: dmesg for a start, then lsusb, likely16:12
gnarfacemaybe look to see if any files in /dev/input look newly created16:12
morenonaturalI remember "sixaxis" back-and-forth from some years back16:12
gnarfaceps3 is a special case i think, but the generic usb gamepad will probably "just work"16:13
gnarface(as a legacy gamepad /dev/input/js0 or something, likely)16:13
AlexLikeRockthanks morenonatural16:13
AlexLikeRockthat what i nee , just work16:13
AlexLikeRockhehehe16:13
morenonaturaldmesg: https://paste.debian.net/1335508/16:14
* freem just realised... is JS for reverted Sad Joke?16:14
morenonaturalwtf, `lsusb command not found`16:15
freem"apt-get install usbutils"  IIRC16:15
onefangsixaxis is a name I recall from my playing around with the PS3 controller.  Fairly sure the Android driver for it included that name.16:15
freemor just check result of "apt-file searc bin/lsusb" (this is a very useful tool)16:15
freemsearch* (ofc)16:15
morenonaturallsusb (I think): Bus 003 Device 003: ID 0583:2060 Padix Co., Ltd (Rockfire) 2-axis 8-button gamepad16:16
onefangI should pull that PS3 gamepad out and try again over the weekend.  Hook it up to my MIDI setup like my other joysticks.16:17
AlexLikeRocki found my controller :-D16:19
onefangMine will be in the box with the rest of the PS3, and I know where that box is.16:20
AlexLikeRockits this one : https://www.powersystemonline.com/MCO-1277983606-gamepad-unitec-doubleshock-pc-ps3-inalambrico-_JM16:21
gnarfacemorenonatural: it recognizes it, using the "hid-generic" kernel module16:22
gnarface...maybe only as /dev/hidraw3, but i'm not clear on that, check in /dev/input for new files too16:24
AlexLikeRockmy ps3 : found ! :  Bus 001 Device 002: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller16:24
AlexLikeRockjstest-gtk : not found!16:25
gnarfacemorenonatural: run "ls -lht /dev/input/" and check the files at the top, are any dated for today, when you plugged it in?16:25
AlexLikeRockhttp://paste.debian.net/1335510/16:26
gnarfaceAlexLikeRock: do you need bluetooth for this?16:27
AlexLikeRocknot now ,  first  by USB wire , please16:27
AlexLikeRockhttp://paste.debian.net/1335511/16:27
gnarfacei think there's a sixaxis package...16:27
gnarfaceor at least was...16:27
AlexLikeRockapt-get install sixpair sixaxis16:28
AlexLikeRockReading package lists... Done16:28
AlexLikeRockBuilding dependency tree... Done16:28
AlexLikeRockReading state information... Done16:28
AlexLikeRockE: Unable to locate package sixpair16:28
AlexLikeRockE: Unable to locate package sixaxis16:28
AlexLikeRock:-S16:28
gnarfacewell, if you just rebooted that's not useful, they're all the same time...16:28
gnarfacemight not be there yet though, due to those errors:16:28
gnarface"failed to retrieve feature report 0xf2 with the Sixaxis MAC address"16:28
gnarface"failed to claim input"16:29
gnarfacecould be /dev/hidraw0 though16:29
morenonaturalgnarface, I see /dev/input/js016:29
AlexLikeRockls  /dev/hidraw016:30
AlexLikeRockls: cannot access '/dev/hidraw0': No such file or directory16:30
gnarfacemorenonatural: there you go, anything that will use the legacy interface will recognize it then anyway. xinput... probably not.16:30
gnarfacemorenonatural: (assuming your user has read permission on that device, that is)16:31
gnarfacemorenonatural: though i do wonder if it would be possible to somehow make a custom driver that could do it without any special hardware...16:33
gnarfacethat's a noble goal and i think you should keep looking into that16:34
gnarfaceAlexLikeRock: maybe it needs to pair on bluetooth first for some reason?16:35
AlexLikeRockhow to do ?16:36
gnarfaceneed to find a bluetooth pairing program16:37
AlexLikeRockmorenonatural,  do you now it ?16:37
gnarfaceAlexLikeRock: his works by default because it uses a different driver. can you see if the hid-playstation driver is loaded for you?16:38
gnarfacenot sure that's the right one but i see it there16:38
gnarfacei see one suggestion to just install xboxdrv and run that to emulate a xbox360 controller with it...16:40
gnarfaceSteam might work with it too using just its own internal support...16:41
AlexLikeRockyes, i read about it some time ago16:41
gnarfacelooks like you might need sixpair from a 3rd party source16:42
gnarfacei'm not seeing it in the distro...16:42
AlexLikeRockthanks gnarface16:43
AlexLikeRockhttps://github.com/conradev/Sixpair16:43
gnarfacei seem to see mention of several different projects doing this, not sure which is best or most current16:44
AlexLikeRockdam!16:44
AlexLikeRock"Pair a PS3 Sixaxis controller to your iPhone "16:44
AlexLikeRockcould work at GNU ?16:44
gnarfacei see some people saying it should "just work" over usb even, but clearly it didn't16:45
gnarfaceso, i'd say try this16:45
AlexLikeRockits fine to me16:45
AlexLikeRockjust USB16:45
gnarfacedid you install joystick and jstest-gtk?16:45
AlexLikeRockyes16:46
AlexLikeRockits basic :->  for my others controlllers16:46
gnarfacehmm, debian wiki says it should work out of the box now too16:47
gnarfaceweird i wonder what you're missing, what release are you on?16:47
AlexLikeRocksame error  : failed to retrieve feature report 0xf2 with the Sixaxis MAC address16:47
AlexLikeRock16:47
gnarface? https://wiki.debian.org/Gamepad#Xbox_and_PlayStation_controllers16:47
gnarfacesays it should work16:47
gnarfacedo you have Steam?16:48
AlexLikeRocki dont  like STEAM16:48
gnarfacehttps://help.ubuntu.com/community/Sixaxis16:48
gnarfacewell i found this for ubuntu16:48
AlexLikeRocki used : emulator : PS , N64 , Znes , FCEUX ,etc16:48
gnarface...but i wouldn't recommend using a ppa from ubuntu16:48
gnarfacesome of the setup instructions might still help though16:49
AlexLikeRocknot found:   apt-get install sixad16:49
onefangJust stumbled across kodi-eventclients-ps3, so seems there is some PS3 support buried in our repos.16:49
AlexLikeRockcould addd repository from ubuntu to my devuan :?16:50
AlexLikeRockapt-add-repository ppa:falk-t-j/qtsixa16:50
gnarfaceplease don't do it16:50
gnarfaceyou could screw up your install16:50
AlexLikeRockso... not work to me : https://help.ubuntu.com/community/Sixaxis16:50
gnarfacewell, but you could find the source and build it though, probably16:50
gnarfacethen follow the rest of the instructions16:51
gnarfaceit's just that you don't want a package referring to ubuntu dependency versions screwing up your next system update16:51
gnarfaceit would be fine to build a package against the debian versions, probably16:51
AlexLikeRockX_X16:51
gnarfaceit can't be that complicated of a piece of software16:52
gnarfacedon't die!!16:52
AlexLikeRockhahahahah16:52
onefangDamn.  Everything is in the Playstation 3 box, except the gamepad.  lol17:20
onefangIt'll be in some random crate somewhere in my storage room.17:21
AlexLikeRocksteam-devices17:39
AlexLikeRockThis package provides udev rules for various Steam-related hardware devices such as the Steam Controller (gamepad) and the HTC Vive (virtual reality headset).17:39
AlexLikeRock:->17:39
AlexLikeRockstill : fail! .:-(17:41
n4dirI don't need this often. I start the jack audioserver with cadence or qjackctl, both gui tools. If i log out from the GUI, using fluxbox, jack stops. Both have a setting to keep jack running, but it doesn't work.19:00
n4dirI assume i miss something a DE has, or a more complete installation in general. Any ideas?19:01
rwpn4dir, I don't really know about jack (a general statement!) but can you script starting it in a ~/.xsessionrc file which is automatically sourced by the Desktop Environment upon start.  And also include it in your fluxbox start (.xinitrc file probably) and then it will always be started by either X way?19:21
rwpIn my ~/.xinitrc file I put ". $HOME/.xsessionrc" and then put things I want shared in both in that file.  Works for me.  For other things anyway.19:22
n4dirrwp: oh, now i remember. Also at least cadence has jack to be started as soon i start cadence, and that doesn't work either19:22
n4dirrwp: this isn't a real problem. It is more about understanding what might be responsible for that19:23
n4dirfluxbox uses .fluxbox/startup (not that it would matter)19:23
AlexLikeRock.19:25
n4dirsay stuff like dbus and what not, i really have no clue what they do. (dbus is installed, just giving an example)19:25
AlexLikeRock pkaction | grep mount19:25
AlexLikeRockError getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Launch helper exited with unknown return code 119:25
rwpn4dir, When you start an X Window session running fluxbox, what command do you use to start it?  I might assume either "startx" or "xinit" as those are the typical ways to start a window manager session as opposed to a Desktop Environment session.  A DE session is most often started through an X Display Manager xdm such as lightdm or slim is currently the default installed one.19:38
n4dirit is startx19:38
n4diri do start DEs via startx too, might be uncommon though19:38
rwpUsing startx will look for a ~/.xinitrc file and then that does not exist fall through to /etc/X11/xinit/xinitrc.19:39
rwpThe /etc/X11/xinit/xinitrc sources /etc/X11/Xsession which sources ~/.xsessionrc file.  So putting something in ~/.xsessionrc file should be included in a startx startup sequence.19:40
rwpNote that ~/.xinitrc if it exists must include everything that you want.  In other words if you just put one thing there and don't do the rest of /etc/X11/Xsession then those won't happen and it will appear broken such as no window manager started.19:41
n4dirrwp: i wouldn't even now what to autostart19:41
rwpBy interface design one usually has many things that usually happens there such as setting up their keyboard, loading ~/.Xresources, setting the background, "stuff", and then the last line is exec'ing the window manager.  When the window manager exits the X session exits.19:43
n4diryeah, but say mocp or screen run on in the background. And according to cadence and qjackctl, jack should do that too19:44
rwpMy last line is "exec i3" (though just "i3" works too but just leaves one excess sh process around).19:44
n4dirnow that i think about it: how come mocp keeps playing music if jack stops? It gets more weird.19:45
rwpPrograms that are started and run as daemons should continue running.19:45
rwpPrograms that connect to the X session should terminate when the X session terminates.19:45
n4dirok, about that i was wrong. If i exit X, jack stops and as expected mocp stops to give audio. What a relief19:50
n4dirsame for xfce, btw.19:51
rwpAnything connected to the X session should terminate when X terminates.  But if something runs as a daemon not associated with X then it should continue since it is not associated with X.19:51
n4dirYes.19:52
n4dirThe question is how to make jack keep running19:52
fsmithredstart jackd when you log in?19:52
n4dirfsmithred: if i do it from cli, yeah, then that works, but my old script to start jack doesn't work anymore, no idea why.19:53
n4dirso i use either cadence or qjackctl. And both have said "problem" (not really a problem, as i log out like once per month)19:53
n4dirboth have a setting to autostart jack when they are started, both doesn't work.19:54
fsmithredoh19:54
n4dirat least qjack has a setting to keep jack runnning even if, but that doesn't work either19:54
fsmithredI've used that setting in the past (and probably now, too)19:54
n4diron the laptop i assumed it works with a DE, but on this PC it doesn't work with xfce either19:54
fsmithrednothing relevant in the message window in qjackctl?19:55
n4diri will look there. Here cadence is installed.19:55
n4dirThu Nov 14 19:49:55 2024: WARNING: Disconnect message was received from D-Bus.19:56
n4dirThu Nov 14 19:49:55 2024: WARNING: Disconnect message was received from D-Bus.19:56
n4dirdamn, double post.19:56
n4dirperhaps it really is dbus, of which i know no nothing, is involved19:57
rwpD-bus is a component of the message-passing operating system that has been created around D-bus.  The idea in a message-passing OS is that that there will be various management process daemons running and no program does anything themselves but send a command message to the daemon responsible to have it do it instead.20:02
n4dirso might it or might it not be involved?20:05
AlexLikeRockinit 620:09
rwpn4dir, It might be involved.  I don't know.  Plausible either way.  (Don't type in init 6 as that will reboot your system.)20:18
n4diri mean, if i have to log out i have to restart terminal-emulator, reattach to screen, restart the web-browser, so i guess restarting jack isn't that important20:20
n4dirreopen all tabs in web-browser, re-login, what not20:20
rwpI have never run jack so I don't know what makes it so difficult to run.20:28
AlexLikeRockhelp20:44
AlexLikeRocki broke dbus20:44
AlexLikeRockdbus-monitor20:44
AlexLikeRockFailed to open connection to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.20:44
AlexLikeRock.20:44
AlexLikeRockdolphin (file manager) :20:45
AlexLikeRockAn error occurred while accessing '3.7 GiB Removable Media', the system responded: You are not authorized to perform this operation: Not authorized to perform operation (polkit authority not available and caller is not uid 0)20:45
AlexLikeRock.20:47
AlexLikeRock /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 (block)20:47
AlexLikeRockUDEV  [2199.774451] bind     /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host4/target4:0:0/4:0:0:0 (scsi)20:47
AlexLikeRockdo  i need https://wiki.gentoo.org/wiki/Polkit#Configuration ?20:53
AlexLikeRockmy iss20:53
AlexLikeRockmy system they not have20:53
AlexLikeRockpgrep -a polkit21:13
AlexLikeRockno are running21:14
AlexLikeRockhow to start?21:14
AlexLikeRock id polkitd23:58
AlexLikeRockuid=110(polkitd) gid=119(polkitd) groups=119(polkitd)23:58
AlexLikeRockservice polkit status23:58
AlexLikeRockpolkit: unrecognized service23:58

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