phillipsjk | Hello. 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 |
---|---|---|
phillipsjk | I was wondering what the "proper" fix was to minimizing the chances of my local changes being clobbered in an upgrade. | 10:11 |
gnarface | phillipsjk: do you have the initscripts package installed? | 10:28 |
gnarface | this was working last i checked | 10:28 |
phillipsjk | sorry posted in wrong channel: | 10:29 |
phillipsjk | ... decided to drop a symlink (/etc/rcS.d/S20rc.local ) pointing to /etc/rc.local | 10: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 |
gnarface | whatever works, but like i said it shouldn't be necessary | 10:29 |
phillipsjk | ..not sure if I had initscripts or not because I accidentally installed it while trying to do a package query. | 10:36 |
phillipsjk | https://paste.debian.net/1231957/ | 10:38 |
phillipsjk | I gues the "dpkg -V initscripts" command compaining about /etc/rc.local is to be expected. | 10:39 |
phillipsjk | The paths are messed up because I used 'su' to become root. | 10:40 |
gnarface | they changed it so the path isn't included by default, you have to use "su -" now | 10:41 |
gnarface | /sbin and /usr/sbin aren't in root's path by default anymore either | 10:41 |
phillipsjk | there is apparently a second rc.local at /etc/init.d/rc.local | 10: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 messages | 10:49 |
phillipsjk | ..cleared by tty1 nothing relvant in /var/log/messages maybe I can try a reboot. | 10:52 |
phillipsjk | found the relevant error in /var/log/boot | 10: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 |
phillipsjk | Looks like the layout of the cpufreq/ directory changed on me. https://paste.debian.net/1231959/ | 11:03 |
phillipsjk | possibly relevant: https://wiki.debian.org/CpuFrequencyScaling | 11:13 |
phillipsjk | not sure if that page is out of date or not. | 11:14 |
phillipsjk | My apt says "E: Unable to locate package cpupower" | 11:20 |
phillipsjk | Looks like installing "cpufrequtils" may have fixed it (I see "ondemand CPUFreq governor") in the output. | 11:27 |
phillipsjk | apparently running " update-rc.d" messes with symlinks in the rc* directories (including the one I made earlier). | 11:33 |
phillipsjk | relevant 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.txt | 11:43 |
APic | Heya. 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 |
APic | Well, i can probably just use the static Binary or build it from Source | 16:19 |
APic | Ah, just installing the .deb worked | 16:25 |
* APic just got: Can't exec "systemctl": No such file or directory at /usr/bin/deb-systemd-invoke line 94. | 16:25 | |
APic | But the Webserver itself seems installed | 16:25 |
APic | So i can just write a simple rc-Script myself | 16:25 |
AnimaInvicta | Has 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 |
AnimaInvicta | Mine 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 |
AnimaInvicta | I 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 |
fsmithred | AnimaInvicta, have you checked in #devuan-arm channel | 17:58 |
fsmithred | ? | 17:58 |
AnimaInvicta | Ooh, 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/!