The officially official Devuan Forum!

You are not logged in.

#1 Devuan » Missing init scripts » 2021-08-08 19:19:17

DevuanUser345
Replies: 4

Hello guys,

I read a few days ago that more and more Debian packages are being built without Sysvinit scripts (if I remember correctly, there are currently more than 1100 packages). For the reason that Devuan is taking the packages from Debian, I wonder what the Devuan strategy is for this problem.

regards

#2 Re: Other Issues » how to get hibernation? » 2021-06-16 17:32:25

i have swap 23G / 16G ram. Once i click "hibernate" sometimes it works sometimes not. it has a very strange behaviour.
Sometimes its a problem to resume. sometimes the laptop is not power off - the power led is on.
when i hard reset the laptop it boots new.

#3 Re: Desktop and Multimedia » [SOLVED] Package: tuned, not working » 2021-06-16 16:36:57

Hmm. Understandable but disappointing. At least this thread has a link to the init script so that people can add it manually.

Yes but after replacing my own tuned-init script with the original from github i found out that the original has a lot of errors/mistakes

Pidfile is not correct, variable $TUNED is not available -> should be $NAME ..

#4 Re: Hardware & System Configuration » Runlevel 1 - external usb harddrive found but no letter » 2021-06-15 21:28:50

I checked the init scripts and did some experiments. Unfortunately i still could not find the reason for the problem.

Basically /etc/init.d/eudev gets executed/loaded on init S:

Starting hot-plug events dispatche: udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...^@done.
Waiting for /dev to be fully populated...done.

Only interesting thing i found out is in dmesg:

there is udevd starting... on the start at 0.882583

[    0.797713] Write protecting the kernel read-only data: 22528k
[    0.799620] Freeing unused kernel image (text/rodata gap) memory: 2040K
[    0.800150] Freeing unused kernel image (rodata/data gap) memory: 644K
[    0.835593] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.835602] Run /init as init process
[    0.835604]   with arguments:
[    0.835605]     /init
[    0.835605]   with environment:
[    0.835606]     HOME=/
[    0.835606]     TERM=linux
[    0.835606]     BOOT_IMAGE=/vmlinuz-5.10.0-7-amd64
[    0.882583] udevd[130]: starting version 3.2.9
[    0.883634] udevd[131]: starting eudev-3.2.9
[    0.895820] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    0.895858] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    0.897035] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[    0.897263] acpi device:06: registered as cooling_device8

and there is another udevd starting at 7.749667

[    7.418262] PM: Image not found (code -22)
[    7.503250] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
[    7.563012] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    7.749667] udevd[589]: starting version 3.2.9
[    7.772563] udevd[590]: starting eudev-3.2.9
[    7.790207] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input8
[    7.790233] ACPI: Lid Switch [LID]

I grep'd the init folder to find out where the second udevd is coming from, but udevd is only found in /etc/init.d/eudevd.

Edit: The first udevd in the dmesg is not logged in the bootlog as it occurres so early that its not catched by bootlogd.
The second udevd is the udevd Starting hot-plug events dispatche: udevd ...

So basically my knowledge did not changed.

#5 Re: Hardware & System Configuration » Runlevel 1 - external usb harddrive found but no letter » 2021-06-11 15:32:35

  Volume group "username-vg" not found
  Cannot process volume group username-vg
Please unlock disk nvme0n1p3_crypt:
cryptsetup: nvme0n1p3_crypt: set up successfully
/dev/mapper/username--vg-root: clean, 752755/29728768 files, 15777769/118906880 b1
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Starting standalone dev nodes setup service: opentmpfiles-setup-devOpentmpfiles:
.
Starting hot-plug events dispatche: udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...^@done.
Waiting for /dev to be fully populated...done.
Starting boot logger: bootlogd.
Setting up keyboard layout...done.
Cleaning up temporary files... /tmp.
Starting early crypto disk...nvme0n1p3_crypt (running)...done.
Loading kernel module lp.
Loading kernel module ppdev.
Loading kernel module parport_pc.
modprobe: ERROR: could not insert 'parport_pc': Unknown symbol in module, or unknown parameter (see dmesg)
Setting up LVM Volume Groups...done.
Starting remaining crypto disks...nvme0n1p3_crypt (running)...done.
Checking file systems...fsck.fat 4.2 (2021-01-31)
/dev/nvme0n1p1: 26 files, 3731/130812 clusters
/dev/nvme0n1p2: clean, 339/124928 files, 73931/499712 blocks
done.
Mounting local filesystems...done.
Activating swapfile swap, if any...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Configuring network interfaces...done.
Cleaning up temporary files....
Setting up X scoket directories... /tmp/.X11-unix /tmp/.ICE-unix.
Starting standalone tmpfiles cleanup service: opentmpfiles-cleanopentmpfiles-tmpfiles clean mode is not implemented
Opentmpfiles: cleanup failed ... failed!
.
Setting up ALSA...done.
Starting: AppArmorLoading AppArmor profiles...Skipping profile in /etc/apparmor.d/disable: usr.bin.thunderbird
done.
.
Starting standalone tmpfiles setup service: opentmpfiles-setupOpentmpfiles: setup complete.
.
Setting sensors limits...done.
INIT: Entering runlevel 1
Using makefile-style concurrent boot in runlevel 1.
Asking all remaining processes to terminate...done.
All processes ended within 2 seconds....done.
Will no switch to single-user mode.
INIT: Going single user
INIT: Sending processes configured via /etc/inittab the TERM signal
Give root password for maintenance
(or press Control-D to continue):

I had to type it because its not in the bootlog. DMESG does not show any unexpected.

#6 Re: Hardware & System Configuration » Runlevel 1 - external usb harddrive found but no letter » 2021-06-11 14:53:42

I select runlevel 1 by adding

1

at the end of the

linux /vmlinuz-5.10.0-7.....

line in the grub. I checked the logs several time but could not find anything that gives me a hint

#7 Re: Desktop and Multimedia » [SOLVED] Package: tuned, not working » 2021-06-11 09:16:39

I contacted the package maintainer and he answered me, that he found the (maybe unmaintained) tuned init script on github/redhat-performance/tuned too, but he would prefer not to ship it in debian was he is not able to debug things as he does not have sysvinit machines around.

He suggests that Devuan add it as a local change to the package.

#8 Re: Hardware & System Configuration » Runlevel 1 - external usb harddrive found but no letter » 2021-06-10 19:29:29

Yes it is marked as S:

ls -lah /etc/rcS*:
drwxr-xr-x 132 root root  12K 10. Jun 21:15 ..
lrwxrwxrwx   1 root root   35 24. Apr 11:41 README -> /usr/share/doc/sysv-rc/rcS.d-README
lrwxrwxrwx   1 root root   24  8. Jun 19:26 S01mountkernfs.sh -> ../init.d/mountkernfs.sh
lrwxrwxrwx   1 root root   15  8. Jun 19:27 S02eudev -> ../init.d/eudev
lrwxrwxrwx   1 root root   26  8. Jun 19:27 S03mountdevsubfs.sh -> ../init.d/mountdevsubfs.sh
lrwxrwxrwx   1 root root   27  8. Jun 19:27 S04keyboard-setup.sh -> ../init.d/keyboard
 service      1       2       3       4       5       0       6       S       
│ ----------------------------------------------------------------------------│
│ alsa-utils  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ anacron     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ apparmor    [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ bootlogd    [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ bootlogs    [X]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ brightness  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ cron        [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ cryptdisks  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ cryptdisk$  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ cups        [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ dbus        [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ elogind     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ eudev       [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ halt        [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ hddtemp     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ killprocs   [X]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ kmod        [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ lightdm     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ lm-sensors  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ lvm2        [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ lvm2-lvmp$  [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ mariadb     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ mount-con$  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ network-m$  [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ networking  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ nginx       [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ php7.4-fpm  [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ preload     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ procps      [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ pulseaudi$  [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ rc.local    [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ reboot      [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ rmnologin   [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ rsync       [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ rsyslog     [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ saned       [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ screen-cl$  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ sendsigs    [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ single      [X]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ slim        [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ speech-di$  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ ssh         [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ stop-boot$  [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ stop-boot$  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ sudo        [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ tuned       [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ umountfs    [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ umountroot  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     │
│ urandom     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]     │
│ uuidd       [ ]     [X]     [X]     [X]     [X]     [ ]     [ ]     [ ]     │
│ x11-common  [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [ ]     [X]    

ps aux | grep eudev:

root      1531  0.0  0.0   3180   724 tty1     S+   21:13   0:00 grep eudev

After starting eudev manually with

/etc/init.d/eudev start

and plug the usb connector again, it got found a letter got assigned.

   19.263729] audit: type=1400 audit(1623352165.532:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1321 comm="apparmor_parser"
[   21.305085] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[  200.569916] usb 2-1.1.1: new SuperSpeed Gen 1 USB device number 6 using xhci_hcd
[  200.590958] usb 2-1.1.1: New USB device found, idVendor=152d, idProduct=1561, bcdDevice= 2.04
[  200.590964] usb 2-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  200.590967] usb 2-1.1.1: Product: SABRENT
[  200.590969] usb 2-1.1.1: Manufacturer: SABRENT
[  200.590970] usb 2-1.1.1: SerialNumber: DB9876543214E
[  290.771648] usb 2-1.1.1: USB disconnect, device number 6
[  300.456739] udevd[1545]: starting version 3.2.9
[  300.470258] udevd[1546]: starting eudev-3.2.9
[  300.684098] btintel: Unknown symbol hci_cmd_sync (err -2)
[  300.684122] btintel: Unknown symbol bt_info (err -2)
[  300.684128] btintel: Unknown symbol bt_to_errno (err -2)
[  300.684135] btintel: Unknown symbol bt_err (err -2)
[  300.684147] btintel: Unknown symbol __hci_cmd_sync (err -2)
[  300.737742] btintel: Unknown symbol hci_cmd_sync (err -2)
[  300.737816] btintel: Unknown symbol bt_info (err -2)
[  300.737886] btintel: Unknown symbol bt_to_errno (err -2)
[  300.737901] btintel: Unknown symbol bt_err (err -2)
[  300.737924] btintel: Unknown symbol __hci_cmd_sync (err -2)
[  300.778593] btintel: Unknown symbol hci_cmd_sync (err -2)
[  300.778620] btintel: Unknown symbol bt_info (err -2)
[  300.778628] btintel: Unknown symbol bt_to_errno (err -2)
[  300.778635] btintel: Unknown symbol bt_err (err -2)
[  300.778649] btintel: Unknown symbol __hci_cmd_sync (err -2)
[  300.818802] btintel: Unknown symbol hci_cmd_sync (err -2)
[  300.818849] btintel: Unknown symbol bt_info (err -2)
[  300.818863] btintel: Unknown symbol bt_to_errno (err -2)
[  300.818878] btintel: Unknown symbol bt_err (err -2)
[  300.818905] btintel: Unknown symbol __hci_cmd_sync (err -2)
[  300.889765] EDAC amd64: F17h_M60h detected (node 0).
[  300.889804] EDAC amd64: Node 0: DRAM ECC disabled.
[  300.959216] EDAC amd64: F17h_M60h detected (node 0).
[  300.959281] EDAC amd64: Node 0: DRAM ECC disabled.
[  301.022840] EDAC amd64: F17h_M60h detected (node 0).
[  301.022920] EDAC amd64: Node 0: DRAM ECC disabled.
[  301.091210] EDAC amd64: F17h_M60h detected (node 0).
[  301.091291] EDAC amd64: Node 0: DRAM ECC disabled.
[  301.170413] EDAC amd64: F17h_M60h detected (node 0).
[  301.170472] EDAC amd64: Node 0: DRAM ECC disabled.
[  301.306772] EDAC amd64: F17h_M60h detected (node 0).
[  301.306846] EDAC amd64: Node 0: DRAM ECC disabled.
[  301.363302] EDAC amd64: F17h_M60h detected (node 0).
[  301.363365] EDAC amd64: Node 0: DRAM ECC disabled.
[  301.411645] EDAC amd64: F17h_M60h detected (node 0).
[  301.411706] EDAC amd64: Node 0: DRAM ECC disabled.
[  307.661969] usb 2-1.1.1: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
[  307.683005] usb 2-1.1.1: New USB device found, idVendor=152d, idProduct=1561, bcdDevice= 2.04
[  307.683011] usb 2-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  307.683013] usb 2-1.1.1: Product: SABRENT
[  307.683015] usb 2-1.1.1: Manufacturer: SABRENT
[  307.683017] usb 2-1.1.1: SerialNumber: DB9876543214E
[  307.710707] usbcore: registered new interface driver usb-storage
[  307.715831] scsi host2: uas
[  307.715892] usbcore: registered new interface driver uas
[  307.716523] scsi 2:0:0:0: Direct-Access     SABRENT                   0204 PQ: 0 ANSI: 6
[  311.667448] sd 2:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[  311.667452] sd 2:0:0:0: [sda] 4096-byte physical blocks
[  311.667603] sd 2:0:0:0: [sda] Write Protect is off
[  311.667606] sd 2:0:0:0: [sda] Mode Sense: 53 00 00 08
[  311.667837] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  311.668168] sd 2:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[  311.684209] sd 2:0:0:0: [sda] Attached SCSI disk
[  311.694733] sd 2:0:0:0: Attached scsi generic sg0 type 0

#9 Re: Desktop and Multimedia » [SOLVED] Package: tuned, not working » 2021-06-10 18:47:12

Ok, then im sorry. I searched google for it. I couldnt find it. Even in the file list of the debs:
https://packages.debian.org/buster/all/tuned/filelist

(maybe we should move it to the hardware & system configuration category, as i found out later, i have chosen the wrong or - or delete it)

#10 Hardware & System Configuration » Runlevel 1 - external usb harddrive found but no letter » 2021-06-10 14:14:26

DevuanUser345
Replies: 6

Hi Guys,

When I use runlevel 1 (good for backups) and plug in my external USB hard drive, I see on dmesg that it is recognized. But the problem is, I don't see a "letter" assigned. Therefore im not able to mount it. Checking lsusb i see the device.

Usually when I plug in the external USB drive I see in dmesg the detection and underneath it sda or sdb. This is not the case with runlevel 1.

Do I have to start eudev? Eudev usually gets not started in single mode. Does anyone know what the problem is?

thanks

#11 Re: Desktop and Multimedia » [SOLVED] Package: tuned, not working » 2021-06-10 14:00:09

As there is a desktop mode, im not sure if its only for portable systems. Im not even sure if there is really a change or difference by changing the profiles. I feel like system works faster by using profile: throughput-performance. Thatfore im using it.

Check out the available profiles:

Available profiles:
- accelerator-performance     - Throughput performance based tuning with disabled higher latency STOP states
- atomic-guest                - Optimize virtual guests based on the Atomic variant
- atomic-host                 - Optimize bare metal systems running the Atomic variant
- balanced                    - General non-specialized tuned profile
- cpu-partitioning            - Optimize for CPU partitioning
- default                     - Legacy default tuned profile
- desktop                     - Optimize for the desktop use-case
- desktop-powersave           - Optmize for the desktop use-case with power saving
- enterprise-storage          - Legacy profile for RHEL6, for RHEL7, please use throughput-performance profile
- hpc-compute                 - Optimize for HPC compute workloads
- intel-sst                   - Configure for Intel Speed Select Base Frequency
- laptop-ac-powersave         - Optimize for laptop with power savings
- laptop-battery-powersave    - Optimize laptop profile with more aggressive power saving
- latency-performance         - Optimize for deterministic performance at the cost of increased power consumption
- mssql                       - Optimize for MS SQL Server
- network-latency             - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput          - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- optimize-serial-console     - Optimize for serial console use.
- oracle                      - Optimize for Oracle RDBMS
- postgresql                  - Optimize for PostgreSQL server
- powersave                   - Optimize for low power consumption
- realtime                    - Optimize for realtime workloads
- realtime-virtual-guest      - Optimize for realtime workloads running within a KVM guest
- realtime-virtual-host       - Optimize for KVM guests running realtime workloads
- sap-hana                    - Optimize for SAP HANA
- sap-netweaver               - Optimize for SAP NetWeaver
- server-powersave            - Optimize for server power savings
- spectrumscale-ece           - Optimized for Spectrum Scale Erasure Code Edition Servers
- spindown-disk               - Optimize for power saving by spinning-down rotational disks
- throughput-performance      - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest               - Optimize for running inside a virtual guest
- virtual-host                - Optimize for running KVM guests

Im not sure if it should be in the repo or not, because im not skilled enough to decide it. As i see it adjust kernel parameters and other settings (independent from systemd), so i think there is no reason to remove it from the repo. So far everything works good. Logfiles looks okay. No complaints.

As i see all packages (buster, bullseye, sid) do not have a sysvinit script.

#12 Re: Desktop and Multimedia » [SOLVED] Package: tuned, not working » 2021-06-10 11:14:43

I touched this thing a little bit like a noob before. Now i made it run. As "tuned" is directly from redhat they are banning init.d scripts in favour of systemd and so "tuned" does not provide any. Therefore the daemon didnt start and so also the tuned-adm daemon control tool didnt work.

So based on this facts i wrote the init.d script on my own. by the way the first init.d script i have written so far. i think its fine. please take a look and enjoy in case you need it:

#! /bin/sh
#
# tuned init.d script
### BEGIN INIT INFO
# Provides:          tuned
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: tuned daemon
# Description:       Daemon for monitoring and adaptive tuning of
#                    system devices.
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/tuned
NAME=tuned
DESC="Adaptive tuning daemon"
DAEMON_OPTS="-d -l -P"

. /lib/lsb/init-functions

# Include tuned defaults if available
if [ -f /etc/default/tuned ] ; then
        . /etc/default/tuned
fi

DAEMON_OPTS="$DAEMON_OPTS $OPTIONS"

test -x $DAEMON || exit 0

set -e

ret=0
case "$1" in
  start)
        log_daemon_msg "Starting $DESC" "$NAME"
        start-stop-daemon --start --quiet -u 0 --exec $DAEMON -- $DAEMON_OPTS || ret=$?
        if [ "$ret" = 1 ]; then
                log_progress_msg "already running"
                ret=0
        fi
        log_end_msg $ret
        ;;
  stop)
        log_daemon_msg "Stopping $DESC" "$NAME"
        start-stop-daemon --stop --retry 1 --quiet -u 0 --exec $DAEMON || ret=$?
        if [ "$ret" = 1 ]; then
                log_progress_msg "not running"
                ret=0
        fi
        log_end_msg $ret
        ;;
  reload|force-reload)
        log_daemon_msg "$DESC" "Reloading configuration files"
        start-stop-daemon --stop --signal 1 --quiet -u 0 --exec $DAEMON || ret=$?
        log_end_msg $ret
        ;;
  restart)
        log_daemon_msg "Restarting $DESC" "$NAME"
        start-stop-daemon --stop --oknodo --retry 1 --quiet -u 0 --exec $DAEMON && \
        start-stop-daemon --start --quiet -u 0 --exec $DAEMON -- $DAEMON_OPTS || ret=$?
        log_end_msg $ret
        ;;
  status)
        status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
        ;;
  *)
        N=/etc/init.d/$NAME
        log_success_msg "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
        exit 1
        ;;
esac

exit 0

#13 Desktop and Multimedia » [SOLVED] Package: tuned, not working » 2021-06-09 22:53:53

DevuanUser345
Replies: 13

Hi guys.

First of all. Great distro. Good job. After changing yesterday from debian to devuan I have to tell, devuan feels like a breeze. All is running smooth. Everything is clear structured.

Everything is running so far except a package I have used before called: tuned

Tuned is a daemon that uses udev to monitor connected devices and statically and dynamically tunes system settings according to a selected profile. Tuned is distributed with a number of predefined profiles for common use cases like high throughput, low latency, or powersave. It is possible to modify the rules defined for each profile and customize how to tune a particular device. To revert all changes made to the system settings by a certain profile, you can either switch to another profile or deactivate the tuned service.

Unfortunately this package is installable but not working.
Using the tool tuned-adm to set the desired profile you receive a message, that it's not possible.

Any idea how to fix it or is this packaged too systemd based?
I don't think it is so, as cpu govenor and kernel dynamic settings are not dependent on systemd, AFAIK.

Thank you
Regards
DU345

Board footer

Forum Software