agris | does anybody have an init script for monerod? | 00:27 |
---|---|---|
agris | I installed the package and it didn't come with one | 00:28 |
bb|hcb | AFAIR 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-it | 00:31 |
agris | no there's a wallet-cli that connects to the api server hosted by monerod | 00:32 |
rwp | Using 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 |
agris | does devuan have a guide for creating sysv init scripts? | 00:34 |
agris | and btw, the zfs package still conflict with openrc? | 00:34 |
rwp | Let me take a quick attempt at creating a traditional init script for monerod. | 00:36 |
bb|hcb | True, 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|hcb | Also creating an init script by using an existing one as an example should be trivial. A thing to take care of is the log rotation | 00:39 |
dbbs | hey | 00:42 |
dbbs | has anyone got any experience with the keychron mechanical keyboards on devuan :V | 00:42 |
Croco | dbbs: does such a kbd differ logically from any other kbd? | 00:43 |
dbbs | I think so? | 00:43 |
dbbs | The problem I'm having is that the F1-F12 keys automatically function as media keys and not F1-F12 keys | 00:44 |
rwp | agris, Try this quick attempt for an init script: https://www.proulx.com/tmp/monerod.init.txt | 00:44 |
dbbs | there is a uh | 00:44 |
agris | thanks | 00:44 |
dbbs | keyboard 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 task | 00:44 |
dbbs | but f1 still dims f2 still brightens etC | 00:45 |
dbbs | there'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 do | 00:46 |
Croco | dbbs: isn't this of any help? https://schnouki.net/post/2019/how-to-use-a-keychron-k2-usb-keyboard-on-linux/ | 00:48 |
dbbs | https://www.keychron.com/pages/c2-quick-start-guide | 00:48 |
dbbs | let me see if that's the one I tried | 00:48 |
dbbs | okay | 00:49 |
dbbs | I didn't try this | 00:49 |
dbbs | thank you either way for finding this | 00:49 |
bb|hcb | rwp: s/moneyrod/monerod | 00:50 |
rwp | agris, Here is attempt 2 using Petter Reinholdtsen's new style: https://www.proulx.com/tmp/monerod.init2.txt | 00:50 |
rwp | bb|hcb, Oops. Fixed. Thanks! agris ^^ spelling error fix. | 00:51 |
Croco | dbbs: 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 :-D | 00:51 |
dbbs | croco I used google :< | 00:52 |
dbbs | I got some stuff that looked tantalizingly similar but it didn't explain I needed to use mac mode | 00:52 |
dbbs | which was the like... clincher, I think. | 00:52 |
dbbs | Let me reboot and I'll report how well it worked | 00:52 |
Croco | dbbs: yeah, that's interesting, I'll wait for your report | 00:53 |
agris | huh | 00:53 |
agris | wow | 00:53 |
agris | that's a lot simpler | 00:53 |
Croco | dbbs: and so? | 00:54 |
rwp | agris, That's the plan for the Petter Reinholdtsen style of declarative init script. | 00:54 |
agris | I don't know who that is | 00:54 |
dbbs | Well, it's much improved, the super and alt keys seem to be doing opposite duty though? | 00:54 |
dbbs | I'm not too sure how bothered by that I am | 00:54 |
rwp | agris, Author of some note. Did good stuff. | 00:55 |
dbbs | yeah it's with both sides of super and alt | 00:56 |
Croco | dbbs: may be you can switch these, too? there must be some docs on that hid_apple? | 00:56 |
bb|hcb | rwp: 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 |
dbbs | Sure croco | 00:56 |
dbbs | I think a part in that tutorial might be able to point me in the right direction | 00:56 |
dbbs | it was about assigning the ins key | 00:57 |
dbbs | xmodmap? | 00:57 |
rwp | bb|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 |
rwp | For example I would create a user for it and run it as that user. | 00:58 |
rwp | And honestly your suggestion bb|hcb to run it in screen to be able to connect interactively sounds like a good suggestion too. | 00:59 |
rwp | In which case I would probably suggest starting it from cron's @reboot so that it runs as the user who wants it. | 00:59 |
rwp | Looking things over... The packaging of monero seems a little premature to me. | 01:00 |
rwp | Comment: 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 |
dbbs | ok I got all the keycodes and names from xev... | 01:02 |
bb|hcb | rwp: 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 detached | 01:03 |
bb|hcb | Since Debian does not auto start that, we should not care too much as well; maybe there is something else that we do not know | 01:04 |
bb|hcb | Also I doubt that is widely used because it lacks a backport - for this type of stuff it is a must | 01:05 |
rwp | That 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 |
dbbs | now to reboot | 01:06 |
rwp | bb|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 |
rwp | But 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|hcb | Same here. I only know that the source version runs well on Devuan in screen ;) | 01:10 |
dbbs | seemingly success | 01:10 |
Croco | dbbs: grats | 01:10 |
dbbs | going to email the guy who wrote the article and let him know the additional fixes I had to make for this specific model | 01:10 |
dbbs | Thanks croco | 01:10 |
dbbs | one other devuan-kde related question I have | 01:10 |
dbbs | I have all of my power options set to not shut the screen off or sleep or hibernate | 01:11 |
dbbs | but 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 |
dbbs | any idea how to not have it do that | 01:11 |
* Croco 's not familiar with kde and other DEs | 01:12 | |
rwp | dbbs, 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 |
rwp | Though note that jwz is not a friend of operating systems distributions. Thinks everyone should only ever build everything from upstream source. | 01:15 |
clemz | What is the preferred route for getting appimage working? | 03:05 |
brocashelm | appimages are ready to launch as they are portable, regardless of distro version. you set the file as executable (chmod +x) | 03:07 |
spine-o-saurus | hay 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 starts | 09:09 |
spine-o-saurus | unable to init server: could not connect:connection refused | 09:11 |
spine-o-saurus | oh nm, had to install lightdm | 09:16 |
spine-o-saurus | now when I run cmake it says no CMAKE_CXX_COMPILER could be found | 09:39 |
gnarface | try "apt-get install build-essential" | 09:41 |
spine-o-saurus | ok now its cooking with gas | 09:45 |
chomwitt | goodmorning | 10:55 |
chomwitt | i just tried fluxbox. It's default desktop has the debian logo. | 10:55 |
spine-o-saurus | i think that is expected since it is a fork of debian | 11:04 |
spine-o-saurus | if openrc script has Required-Start: $all, that means it only start after all daemons? | 11:07 |
chomwitt | ok | 11:09 |
spine-o-saurus | im getting some weird issue where after starting lighttpd, rc-status isnt showing the service as running, even though the process is active | 11:33 |
systemdlete | anyone running a PC with a Gigabyte 970a-ds3p board? If so, any problems launching firefox-esr 91.11.0esr in a VM? | 16:52 |
systemdlete | I'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 |
systemdlete | I tried another 970a-ds3p board (yes, I actually have a backup!) and same result. | 16:53 |
systemdlete | linustechtips.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 |
systemdlete | I 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 |
djph | somewhat odd that a VM's behavior would be tied to the hardware like that... | 16:55 |
systemdlete | firefox does not crash on the 2nd PC | 16:55 |
systemdlete | djph, I agree, but I just don't know what the issue is. | 16:55 |
djph | run it from terminal, see if you get anything useful? | 16:55 |
gnarface | is firefox the only thing that crashes? | 16:55 |
gnarface | maybe it's firefox | 16:55 |
gnarface | or maybe it's a corrupted profile or something? | 16:56 |
gnarface | does firefox also crash when run as a different regular desktop user with a blank fresh profile? | 16:56 |
systemdlete | yeah, I posted those results here several days ago, I'd have to go through the whole exercise to get it again... | 16:56 |
systemdlete | something about some invalid channel iirc | 16:56 |
systemdlete | I tried a different video card, no help | 16:56 |
systemdlete | so I don't think it is the video card. | 16:57 |
systemdlete | gnarface, this has only started happening under a recent kernel. But even when I booted under beowulf, I had the same crashing with 91.11esr | 16:57 |
systemdlete | chromium is a little better behaved, but it still crashes out on a page here and there. | 16:58 |
systemdlete | but chromium doesn't die. Just the tab gives me an error. | 16:58 |
systemdlete | the --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 |
systemdlete | djph, 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 |
systemdlete | sorry for the trouble. | 17:00 |
* systemdlete should really be keeping a log of all this, with the various tests and mods etc | 17:00 | |
systemdlete | another 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 pC | 17:01 |
systemdlete | PC | 17:01 |
djph | systemdlete: I might have logs, barring those couple of hours my internet was dead in the water | 17:02 |
systemdlete | well, thanks, djph. Whatever you can do, appreciate it. | 17:02 |
systemdlete | Also, 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 |
systemdlete | old memory was XMS3; new memory is Patriot. Both are/were 4x8gb sticks, non-ecc | 17:04 |
systemdlete | Next 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 | |
systemdlete | It 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 guess | 17:08 |
systemdlete | I suppose I should feel grateful that I can still run my system on one of my PCs. | 17:09 |
gnarface | maybe you can find something else that will crash but give better error messages about it | 17:09 |
gnarface | or maybe try a debug build of firefox or something | 17:09 |
systemdlete | so far, nothing | 17:09 |
systemdlete | yeah, debug build was also on my list | 17:09 |
systemdlete | strange though that this has only come up the last week now. | 17:10 |
systemdlete | Another thing I tried was building a VM from scratch and running ff there. Same problem! | 17:10 |
systemdlete | so it is not this or that web site then | 17:10 |
gnarface | i 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 again | 17:10 |
gnarface | no crashing, just the window freezing up | 17:11 |
systemdlete | do you get this with, say, chromium or some other browser also? | 17:11 |
gnarface | didn't really try other browsers, didn't happen enough to annoy me yet | 17:12 |
systemdlete | another post I found said there was a similar issue (back in ff 60 though) if pulseaudio was disabled | 17:12 |
gnarface | hmm, i DO have pulseaudio disabled | 17:12 |
systemdlete | I pray that is NOT it... | 17:12 |
gnarface | do you have apulse installed? | 17:12 |
systemdlete | I believe so, yes | 17:12 |
systemdlete | yep. | 17:13 |
gnarface | apulse was causing a steam game crash recently for me too, every time on launch with that one | 17:13 |
systemdlete | but I am not explicitly invoking via apulse... I could try that | 17:13 |
systemdlete | huh | 17:13 |
gnarface | interestingly enough, this game was finding apulse even though it was not supposed to be | 17:13 |
systemdlete | finding? | 17:13 |
gnarface | using it without my permission, according to the call stack | 17:14 |
systemdlete | oh, not in a browser | 17:14 |
systemdlete | ok | 17:14 |
gnarface | the game was dumping a stack trace into the log | 17:14 |
gnarface | i noticed apulse in the trace | 17:14 |
gnarface | and i was like "WTF?" | 17:14 |
systemdlete | (I would be also, gnarface ) | 17:14 |
gnarface | however, 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_PATH | 17:15 |
systemdlete | I've been sending bug reports in via the dialog box too, btw. | 17:15 |
gnarface | maybe worth a try | 17:16 |
systemdlete | ooh. that's pretty ugly | 17:16 |
systemdlete | I think I'd rather try "apulse /usr/bin/firefox-esr" first though | 17:16 |
gnarface | it's some problem with unity that appeared in a few games a few years ago, and now is in all of them | 17:16 |
systemdlete | no unity here, I don't think | 17:17 |
systemdlete | I'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 |
systemdlete | But even at 30mbps I can't think why that might impact firefox | 17:19 |
systemdlete | there 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 |
systemdlete | I was getting close to 300mbps down just a week or two ago. | 17:21 |
systemdlete | I 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 |
systemdlete | very weird. | 17:22 |
systemdlete | where does apt get source download its files to? I see it is on / (root fs) somewhere | 17:50 |
djph | /usr/src probably | 17:52 |
systemdlete | nope | 17:52 |
systemdlete | not there | 17:52 |
systemdlete | it is def on the root fs (my /usr and /var are separate fs) | 17:52 |
gnarface | current directory supposedly | 17:53 |
gnarface | doesn't install anything just unzips and applies patches | 17:53 |
systemdlete | turns out it is the current directory! | 17:54 |
systemdlete | ok. Just don't want to fill up an important fs | 17:56 |
gnarface | some source packages kinda make a mess of the current directory, i would give the task its own empty directory | 17:56 |
systemdlete | agreed. I am doing that now... | 17:56 |
systemdlete | I've picked a fs where I have plenty of space | 17:57 |
systemdlete | created a subdir and doing apt there | 17:57 |
systemdlete | hmm. apt downloaded exactly 100 files. | 18:06 |
systemdlete | ALL with the same url? | 18:07 |
systemdlete | is there a way to dispense with all the l10n stuff? | 18:08 |
systemdlete | dpkg-source: info: unpacking firefox-esr_91.11.0esr-1~deb11u1.debian.tar.xz | 18:09 |
systemdlete | dpkg-source: error: cannot read firefox-esr-91.11.0esr/debian/patches/series: No such file or directory | 18:09 |
systemdlete | anyone have an idea on what I need to do? | 18:19 |
fifiopenbsd | have fun? | 18:27 |
systemdlete | gnarface: any idea on how to handle above error from apt install of source for firefox? | 19:50 |
systemdlete | ISP tech should be here momentarily, so I might be disconnected for a few minutes at some point. | 19:51 |
systemdlete | ISP says my line and modem check out ok | 20:16 |
linux_n | When 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 |
Hurgotron | linux_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 | *account | 23:21 |
linux_n | Hurgotron: ok thanks | 23:24 |
linux_n | it 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/!