libera/#devuan/ Wednesday, 2022-02-23

phillipsjkHello. Recently upgraded to Devuan Chimaera, and now my /etc/rc.local script is no longer executed. This was apparently deprecated up-stream because you are expected to use systemd now.10:10
phillipsjkI was wondering what the "proper" fix was to minimizing the chances of my local changes being clobbered in an upgrade.10:11
gnarfacephillipsjk: do you have the initscripts package installed?10:28
gnarfacethis was working last i checked10:28
phillipsjksorry posted in wrong channel:10:29
phillipsjk ... decided to drop a symlink (/etc/rcS.d/S20rc.local ) pointing to /etc/rc.local10:29
phillipsjk The README file in that directory says all scripts are supposed to be in /etc/init.d/ though. The README file in That directory says read the Debian policy manual.10:29
gnarfacewhatever works, but like i said it shouldn't be necessary10:29
phillipsjk..not sure if I had initscripts or not because I accidentally installed it while trying to do a package query.10:36
phillipsjkhttps://paste.debian.net/1231957/10:38
phillipsjkI gues the "dpkg -V initscripts" command compaining about /etc/rc.local is to be expected.10:39
phillipsjkThe paths are messed up because I used 'su' to become root.10:40
gnarfacethey changed it so the path isn't included by default, you have to use "su -" now10:41
gnarface /sbin and /usr/sbin aren't in root's path by default anymore either10:41
phillipsjkthere is apparently a second rc.local at /etc/init.d/rc.local10:43
phillipsjk... it calls /etc/rc.local. should update my symlink then.10:45
phillipsjk..looks like it should have run. Maybe I should check the console for messages10:49
phillipsjk..cleared by tty1 nothing relvant in /var/log/messages maybe I can try a reboot.10:52
phillipsjkfound the relevant error in /var/log/boot10:58
phillipsjk"Tue Feb 22 23:05:36 2022: /etc/rc.local: 17: cannot create /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load: Directory nonexistent"10:59
phillipsjkLooks like the layout of the cpufreq/ directory changed on me. https://paste.debian.net/1231959/11:03
phillipsjkpossibly relevant: https://wiki.debian.org/CpuFrequencyScaling11:13
phillipsjknot sure if that page is out of date or not.11:14
phillipsjkMy apt says "E: Unable to locate package cpupower"11:20
phillipsjkLooks like installing "cpufrequtils" may have fixed it (I see "ondemand CPUFreq governor") in the output.11:27
phillipsjkapparently running " update-rc.d" messes with symlinks in the rc* directories (including the one I made earlier).11:33
phillipsjkrelevant documentation on available governors (I am probably abusing the ignore_nice_load knob of the ondemand governer by making my entire workload 'nice'): https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt11:43
APicHeya. https://caddyserver.com apparently provides Packages for Debian and Ubuntu that start it as a systemd Service. Is anybody providing a Devuan-Package that sets up an rc-Script?16:18
APicWell, i can probably just use the static Binary or build it from Source16:19
APicAh, just installing the .deb worked16:25
* APic just got: Can't exec "systemctl": No such file or directory at /usr/bin/deb-systemd-invoke line 94.16:25
APicBut the Webserver itself seems installed16:25
APicSo i can just write a simple rc-Script myself16:25
AnimaInvictaHas anyone here tried building a netboot image for BeagleBone Black from the files at https://pkgmaster.devuan.org/devuan/dists/chimaera/main/installer-armhf/?17:53
AnimaInvictaMine boots (sort-of) but then the kernel says "Unable to handle kernel NULL pointer dereference at virtual address 00000008", dumps a stack trace and halts and catches fire.17:54
AnimaInvictaI followid the instructions in the README (zcat firmware_file.img.gz partition_file.img.gz | dd of=/dev/sde). Is there something missing?17:57
fsmithredAnimaInvicta, have you checked in #devuan-arm channel17:58
fsmithred?17:58
AnimaInvictaOoh, I'd completely forgotten about that. Thanks. I'll check there.18:02

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