Skip to content

Systemd service dont working #10

@norz3n

Description

@norz3n

Greetings!

The daemon for systemd doesn't work for me. It won't even start. The program itself works without issue when started via the terminal.

Here is the debugging from journalctl:

апр 26 07:36:14 workstation systemd[1]: Started Daemon that prevents eviction of executables/libraries from memory.
апр 26 07:36:14 workstation (prelockd)[551]: prelockd.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/prelockd: No such file or directory
апр 26 07:36:14 workstation (prelockd)[551]: prelockd.service: Failed at step NAMESPACE spawning /usr/bin/prelockd: No such file or directory
апр 26 07:36:14 workstation systemd[1]: prelockd.service: Main process exited, code=exited, status=226/NAMESPACE
апр 26 07:36:14 workstation systemd[1]: prelockd.service: Failed with result 'exit-code'.
апр 26 07:39:10 workstation systemd[1]: Started Daemon that prevents eviction of executables/libraries from memory.
апр 26 07:39:10 workstation (prelockd)[3598]: prelockd.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/prelockd: No such file or directory
апр 26 07:39:10 workstation (prelockd)[3598]: prelockd.service: Failed at step NAMESPACE spawning /usr/bin/prelockd: No such file or directory
апр 26 07:39:10 workstation systemd[1]: prelockd.service: Main process exited, code=exited, status=226/NAMESPACE
апр 26 07:39:10 workstation systemd[1]: prelockd.service: Failed with result 'exit-code'.
апр 26 07:50:17 workstation systemd[1]: Started Daemon that prevents eviction of executables/libraries from memory.
апр 26 07:50:17 workstation (prelockd)[5041]: prelockd.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/prelockd: No such file or directory
апр 26 07:50:17 workstation (prelockd)[5041]: prelockd.service: Failed at step NAMESPACE spawning /usr/bin/prelockd: No such file or directory
апр 26 07:50:17 workstation systemd[1]: prelockd.service: Main process exited, code=exited, status=226/NAMESPACE
апр 26 07:50:17 workstation systemd[1]: prelockd.service: Failed with result 'exit-code'.

But the same command in the daemon works fine.

sudo prelockd -c /etc/prelockd.conf
Starting prelockd with config /etc/prelockd.conf
currently locked 187.4M, 627 files

Here are the specifications of my system from inxi:

System:
  Host: workstation Kernel: 6.2.12-zen1-1-zen arch: x86_64 bits: 64
    Desktop: GNOME v: 43.3 Distro: Hybrid Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP 620 v: F.20
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 1526 v: KBC Version 71.0E
    serial: <superuser required> BIOS: Hewlett-Packard v: 68PVI Ver. F.20
    date: 12/12/2011
Battery:
  ID-1: BAT0 charge: 14.2 Wh (94.0%) condition: 15.1/47.5 Wh (31.7%)
CPU:
  Info: dual core Intel Core2 Duo T6570 [MCP] speed (MHz): avg: 1306
    min/max: 1200/2101
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics driver: i915 v: kernel
  Device-2: Chicony HP Laptop Integrated Webcam [2 MP Fixed] type: USB
    driver: uvcvideo
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: crocus gpu: i915 resolution: 1366x768
  API: OpenGL v: 2.1 Mesa 23.0.3 renderer: Mesa Mobile Intel GM45 Express
    (CTG)
Network:
  Device-1: Realtek RTL8191SEvA Wireless LAN driver: rtl8192se
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169
Drives:
  Local Storage: total: 119.24 GiB used: 86.71 GiB (72.7%)
Info:
  Processes: 231 Uptime: 32m Memory: 3.73 GiB used: 2.53 GiB (68.0%)
  Shell: Zsh inxi: 3.3.26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions