libera/#devuan/ Monday, 2022-07-18

agrisdoes anybody have an init script for monerod?00:27
agrisI installed the package and it didn't come with one00:28
bb|hcbAFAIR that had some interactive functions, maybe this is not the best answer, I would run in screen from rc.local like screen -dmS monerod command-to-run-it00:31
agrisno there's a wallet-cli that connects to the api server hosted by monerod00:32
rwpUsing rc.local and screen seems like a good suggestion to me.  Having said that it looks like it would be easy to generate an init script for it.00:33
agrisdoes devuan have a guide for creating sysv init scripts?00:34
agrisand btw, the zfs package still conflict with openrc?00:34
rwpLet me take a quick attempt at creating a traditional init script for monerod.00:36
bb|hcbTrue, but not everything is shown in the monero cli; the main advantage of screen is that you can attach to it and see what is going on. I remember helping a friend run that and the cli was lagging a couple of hours behind the daemon while syncing. If you want to stick to the classic way, there is a log to watch :)00:37
bb|hcbAlso creating an init script by using an existing one as an example should be trivial. A thing to take care of is the log rotation00:39
dbbshey00:42
dbbshas anyone got any experience with the keychron mechanical keyboards on devuan :V00:42
Crocodbbs: does such a kbd differ logically from any other kbd?00:43
dbbsI think so?00:43
dbbsThe problem I'm having is that the F1-F12 keys automatically function as media keys and not F1-F12 keys00:44
rwpagris, Try this quick attempt for an init script: https://www.proulx.com/tmp/monerod.init.txt00:44
dbbsthere is a uh00:44
agristhanks00:44
dbbskeyboard combination that's supposed to toggle this feature in windows, and when I do it in devuan the keyboard does light up as if it's performed some kind of task00:44
dbbsbut f1 still dims f2 still brightens etC00:45
dbbsthere's a function key for those who switch to using f1-f12 keys primarily as F keys but that doesn't change what the media keys do00:46
Crocodbbs: isn't this of any help? https://schnouki.net/post/2019/how-to-use-a-keychron-k2-usb-keyboard-on-linux/00:48
dbbshttps://www.keychron.com/pages/c2-quick-start-guide00:48
dbbslet me see if that's the one I tried00:48
dbbsokay00:49
dbbsI didn't try this00:49
dbbsthank you either way for finding this00:49
bb|hcbrwp: s/moneyrod/monerod00:50
rwpagris, Here is attempt 2 using Petter Reinholdtsen's new style: https://www.proulx.com/tmp/monerod.init2.txt00:50
rwpbb|hcb, Oops.  Fixed.  Thanks!  agris ^^ spelling error fix.00:51
Crocodbbs: you're welcome :-) it wasn't of any difficulty for me to type "keychron keyboard linux" at duckduckgo and just pick the first reference it found :-D00:51
dbbscroco I used google :<00:52
dbbsI got some stuff that looked tantalizingly similar but it didn't explain I needed to use mac mode00:52
dbbswhich was the like... clincher, I think.00:52
dbbsLet me reboot and I'll report how well it worked00:52
Crocodbbs: yeah, that's interesting, I'll wait for your report00:53
agrishuh00:53
agriswow00:53
agristhat's a lot simpler00:53
Crocodbbs: and so?00:54
rwpagris, That's the plan for the Petter Reinholdtsen style of declarative init script.00:54
agrisI don't know who that is00:54
dbbsWell, it's much improved, the super and alt keys seem to be doing opposite duty though?00:54
dbbsI'm not too sure how bothered by that I am00:54
rwpagris, Author of some note.  Did good stuff.00:55
dbbsyeah it's with both sides of super and alt00:56
Crocodbbs: may be you can switch these, too? there must be some docs on that hid_apple?00:56
bb|hcbrwp: Now I see that monero is packaged - really strange to me since it is a volatile stuff and needs much more frequent updates than the OS release cycle. What about contributing what you just did to orphan-sysvinit-scripts?00:56
dbbsSure croco00:56
dbbsI think a part in that tutorial might be able to point me in the right direction00:56
dbbsit was about assigning the ins key00:57
dbbsxmodmap?00:57
rwpbb|hcb, I am not using monero myself so really that is just a hint for agris to bootstrap things along.  It almost certainly will need testing and then more modifications.00:57
rwpFor example I would create a user for it and run it as that user.00:58
rwpAnd honestly your suggestion bb|hcb to run it in screen to be able to connect interactively sounds like a good suggestion too.00:59
rwpIn which case I would probably suggest starting it from cron's @reboot so that it runs as the user who wants it.00:59
rwpLooking things over...  The packaging of monero seems a little premature to me.01:00
rwpComment: I respect the short declarative init script form but personally I like the longer template better.  It's more obvious what is happening, easier to modify and debug.01:01
dbbsok I got all the keycodes and names from xev...01:02
bb|hcbrwp: Sure is. systemd conf is in /usr/share/doc/monero/examples/systemd/monerod.service They run it as a user though. Also there is a comment that it just does not run as detached01:03
bb|hcbSince Debian does not auto start that, we should not care too much as well; maybe there is something else that we do not know01:04
bb|hcbAlso I doubt that is widely used because it lacks a backport - for this type of stuff it is a must01:05
rwpThat comment is in a section with a header "Tor config" so I rather discounted it as not applying unless using it with tor.  But I know nothing.01:05
dbbsnow to reboot01:06
rwpbb|hcb, I agree with you that it seems inappropriate for main and think more use of the volatile -updates section would be best for things like that utility that updates all of the time.01:08
rwpBut strangely the volatile -updates suite is often not used for that purpose.  There must be a reason it is not.  No idea here.01:08
bb|hcbSame here. I only know that the source version runs well on Devuan in screen ;)01:10
dbbsseemingly success01:10
Crocodbbs: grats01:10
dbbsgoing to email the guy who wrote the article and let him know the additional fixes I had to make for this specific model01:10
dbbsThanks croco01:10
dbbsone other devuan-kde related question I have01:10
dbbsI have all of my power options set to not shut the screen off or sleep or hibernate01:11
dbbsbut still whenever I'm not playing a video if I dont' deliver input in 5 minutes it goes to a lockscreen, and I thought that was either shut off or I couldn't find the option for it.01:11
dbbsany idea how to not have it do that01:11
* Croco 's not familiar with kde and other DEs01:12
rwpdbbs, I remember reading this about the awful problems of screen lock programs. Useful background. https://www.jwz.org/blog/2020/12/xscreensaver-5-45/01:14
rwpThough note that jwz is not a friend of operating systems distributions.  Thinks everyone should only ever build everything from upstream source.01:15
clemzWhat is the preferred route for getting appimage working?03:05
brocashelmappimages are ready to launch as they are portable, regardless of distro version. you set the file as executable (chmod +x)03:07
spine-o-saurushay when I go to install lightdm-gtk-greeter then put that in init.d directory for openrc to launch it says the display isn't found and never starts09:09
spine-o-saurusunable to init server: could not connect:connection refused09:11
spine-o-saurusoh nm, had to install lightdm09:16
spine-o-saurusnow when I run cmake it says no CMAKE_CXX_COMPILER could be found09:39
gnarfacetry "apt-get install build-essential"09:41
spine-o-saurusok now its cooking with gas09:45
chomwittgoodmorning10:55
chomwitti just tried fluxbox. It's default desktop has the debian logo.10:55
spine-o-saurusi think that is expected since it is a fork of debian11:04
spine-o-saurusif openrc script has Required-Start: $all, that means it only start after all daemons?11:07
chomwittok11:09
spine-o-saurusim getting some weird issue where after starting lighttpd, rc-status isnt showing the service as running, even though the process is active11:33
systemdleteanyone running a PC with a Gigabyte 970a-ds3p board?   If so, any problems launching firefox-esr 91.11.0esr in a VM?16:52
systemdleteI've just spent the past week swapping out or replacing every conceivable piece of hardware (except CPU, that's next) with no change in behavior.  Firefox still crashes, usually right upon startup.16:53
systemdleteI tried another 970a-ds3p board (yes, I actually have a backup!) and same result.16:53
systemdletelinustechtips.com has a post where someone claimed that this board has VRM issues.   If so, why haven't I run into this until now?16:54
systemdleteI can take the raid drives from the PC with the gigabyte board (an FX8350) and run it on another PC with a different board and a Thuban X6.16:55
djphsomewhat odd that a VM's behavior would be tied to the hardware like that...16:55
systemdletefirefox does not crash on the 2nd PC16:55
systemdletedjph, I agree, but I just don't know what the issue is.16:55
djphrun it from terminal, see if you get anything useful?16:55
gnarfaceis firefox the only thing that crashes?16:55
gnarfacemaybe it's firefox16:55
gnarfaceor maybe it's a corrupted profile or something?16:56
gnarfacedoes firefox also crash when run as a different regular desktop user with a blank fresh profile?16:56
systemdleteyeah, I posted those results here several days ago, I'd have to go through the whole exercise to get it again...16:56
systemdletesomething about some invalid channel iirc16:56
systemdleteI tried a different video card, no help16:56
systemdleteso I don't think it is the video card.16:57
systemdletegnarface, this has only started happening under a recent kernel.  But even when I booted under beowulf, I had the same crashing with 91.11esr16:57
systemdletechromium is a little better behaved, but it still crashes out on a page here and there.16:58
systemdletebut chromium doesn't die.  Just the tab gives me an error.16:58
systemdletethe --safe-mode option does seem to stabilize things a bit, but then I can't use extensions and addons.  There is one I use frequently, too.16:59
systemdletedjph, I posted the crash report a few days back.  If someone here has access to the channel logs, maybe they can find it?17:00
systemdletesorry for the trouble.17:00
* systemdlete should really be keeping a log of all this, with the various tests and mods etc17:00
systemdleteanother post I found suggested running ff with the wayland flag set/unset.  I hadn't tried that last time I booted on the gigabyte board pC17:01
systemdletePC17:01
djphsystemdlete: I might have logs, barring those couple of hours my internet was dead in the water17:02
systemdletewell, thanks, djph.  Whatever you can do, appreciate it.17:02
systemdleteAlso, I replaced 32gb ram completely.  Ran memtest for a day and a half just to be sure.  No errors.   (There had been some memory corruption, but only sporadically, on the old memory)17:03
systemdleteold memory was XMS3; new memory is Patriot.   Both are/were 4x8gb sticks, non-ecc17:04
systemdleteNext time I try to debug this, I think I will run strace and/or ltrace and see wtf it is crowing about internally.17:06
* systemdlete is getting annoyed with all this!17:07
systemdleteIt would be nice if *nix programs gave up intelligible, actionable error messages rather than cryptic shibboleths, but that's a bellyache for another day I guess17:08
systemdleteI suppose I should feel grateful that I can still run my system on one of my PCs.17:09
gnarfacemaybe you can find something else that will crash but give better error messages about it17:09
gnarfaceor maybe try a debug build of firefox or something17:09
systemdleteso far, nothing17:09
systemdleteyeah, debug build was also on my list17:09
systemdletestrange though that this has only come up the last week now.17:10
systemdleteAnother thing I tried was building a VM from scratch and running ff there.   Same problem!17:10
systemdleteso it is not this or that web site then17:10
gnarfacei mean, firefox has even been freezing on me lately, but the only thing new about that is it doesn't take the entire X instance down with it anymore, so i can just kill the window and start it up again17:10
gnarfaceno crashing, just the window freezing up17:11
systemdletedo you get this with, say, chromium or some other browser also?17:11
gnarfacedidn't really try other browsers, didn't happen enough to annoy me yet17:12
systemdleteanother post I found said there was a similar issue (back in ff 60 though) if pulseaudio was disabled17:12
gnarfacehmm, i DO have pulseaudio disabled17:12
systemdleteI pray that is NOT it...17:12
gnarfacedo you have apulse installed?17:12
systemdleteI believe so, yes17:12
systemdleteyep.17:13
gnarfaceapulse was causing a steam game crash recently for me too, every time on launch with that one17:13
systemdletebut I am not explicitly invoking via apulse... I could try that17:13
systemdletehuh17:13
gnarfaceinterestingly enough, this game was finding apulse even though it was not supposed to be17:13
systemdletefinding?17:13
gnarfaceusing it without my permission, according to the call stack17:14
systemdleteoh, not in a browser17:14
systemdleteok17:14
gnarfacethe game was dumping a stack trace into the log17:14
gnarfacei noticed apulse in the trace17:14
gnarfaceand i was like "WTF?"17:14
systemdlete(I would be also, gnarface )17:14
gnarfacehowever, an old symlink fix for other crashes that happen when pulseaudio isn't installed worked for that, though i'd be surprised if that helps firefox the trick was just to symlink libpulse-simple.so.0 to /dev/null and then shove that in the program's LD_LIBRARY_PATH17:15
systemdleteI've been sending bug reports in via the dialog box too, btw.17:15
gnarfacemaybe worth a try17:16
systemdleteooh.  that's pretty ugly17:16
systemdleteI think I'd rather try "apulse /usr/bin/firefox-esr" first though17:16
gnarfaceit's some problem with unity that appeared in a few games a few years ago, and now is in all of them17:16
systemdleteno unity here, I don't think17:17
systemdleteI've got the ISP tech coming to find out why my download is so slow.  Online tech told me yesterday problem is on their end they think.17:19
systemdleteBut even at 30mbps I can't think why that might impact firefox17:19
systemdletethere are people in this world who are on much slower connections using firefox, so I am skeptical about this.  But it would be nice to have faster Internet again.  After all, I'm paying for it.17:21
systemdleteI was getting close to 300mbps down just a week or two ago.17:21
systemdleteI only noticed this slowness a few days back.  I couldn't even connect to the Internet at times.  traceroute was taking me out to the edges of Comcast's network, but not to the sites I wanted to visit.17:22
systemdletevery weird.17:22
systemdletewhere does apt get source download its files to?   I see it is on / (root fs) somewhere17:50
djph /usr/src probably17:52
systemdletenope17:52
systemdletenot there17:52
systemdleteit is def on the root fs (my /usr and /var are separate fs)17:52
gnarfacecurrent directory supposedly17:53
gnarfacedoesn't install anything just unzips and applies patches17:53
systemdleteturns out it is the current directory!17:54
systemdleteok.  Just don't want to fill up an important fs17:56
gnarfacesome source packages kinda make a mess of the current directory, i would give the task its own empty directory17:56
systemdleteagreed.  I am doing that now...17:56
systemdleteI've picked a fs where I have plenty of space17:57
systemdletecreated a subdir and doing apt there17:57
systemdletehmm.  apt downloaded exactly 100 files.18:06
systemdleteALL with the same url?18:07
systemdleteis there a way to dispense with all the l10n stuff?18:08
systemdletedpkg-source: info: unpacking firefox-esr_91.11.0esr-1~deb11u1.debian.tar.xz18:09
systemdletedpkg-source: error: cannot read firefox-esr-91.11.0esr/debian/patches/series: No such file or directory18:09
systemdleteanyone have an idea on what I need to do?18:19
fifiopenbsdhave fun?18:27
systemdletegnarface:  any idea on how to handle above error from apt install of source for firefox?19:50
systemdleteISP tech should be here momentarily, so I might be disconnected for a few minutes at some point.19:51
systemdleteISP says my line and modem check out ok20:16
linux_nWhen i install devuan it installs both user and root. Is there a way to not install root during installation so i could use sudo?23:10
Hurgotronlinux_n: Not sure what you mean. There always needs to be a root accound for system stuff, but you don't have to set a password. I think you can even lock it, then it's basically sudo only.23:20
Hurgotron*account23:21
linux_nHurgotron: ok thanks23:24
linux_nit was so i could use my user account as sudo so i don't need to remember 2 passwords since i am the only who uses this pc.23:26

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