/etc/systemd and overrides

I placed overrides like this:

[john1@manjaro journald.conf.d]$ ls
10-override-journal.conf  20-override-system.conf
[john1@manjaro journald.conf.d]$ cat ./10-override-journal.conf

[john1@manjaro journald.conf.d]$ cat ./20-override-system.conf

My questions are:

Is it ok to have two overrides in

for system.conf AND journald.conf?

How to force recreation of compile time defaults for journald.conf and system.conf that i deleted because i have this overrides? The header of systemd files tells me: *.conf are recreated if “you delete this file and overrides”

Systemd version:
systemd 252 (252.9-1-manjaro)


Generated on 2023-04-17 13:13:1681730007

#################### inxi -Fxzc0 ########################

  Kernel: 6.1.23-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1 Desktop: Xfce v: 4.18.1
    Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: LENOVO product: 81RS v: Lenovo Yoga S740-14IIL serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <superuser required> UEFI: LENOVO
    v: BYCN39WW date: 05/28/2021
  ID-1: BAT0 charge: 62.7 Wh (96.0%) condition: 65.3/62.0 Wh (105.3%) volts: 17.0 min: 15.4
    model: LGC L19L4PD2 status: full
  Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake rev: 5 cache:
    L1: 320 KiB L2: 2 MiB L3: 8 MiB
  Speed (MHz): avg: 1565 high: 3386 min/max: 400/3900 cores: 1: 1300 2: 1555 3: 1300 4: 3386
    5: 1299 6: 1300 7: 983 8: 1399 bogomips: 23968
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: kernel arch: Gen-11
    bus-ID: 00:02.0
  Device-2: NVIDIA GP108M [GeForce MX250] vendor: Lenovo driver: nvidia v: 530.41.03 arch: Pascal
    bus-ID: 2b:00.0
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 3-5:5
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting,nvidia unloaded: nouveau
    dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz 2: N/A
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel Iris Plus Graphics (ICL GT2)
    direct-render: Yes
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: sof-audio-pci-intel-icl
    bus-ID: 00:1f.3
  API: ALSA v: k6.1.23-1-MANJARO status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: PipeWire v: 0.3.68 status: active
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 2-1.4:4
  IF: enp0s13f0u1u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: pan1 state: down mac: <filter>
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:14
  Report: rfkill ID: hci0 rfk-id: 4 state: up address: see --recommends
  Local Storage: total: 1.86 TiB used: 472.39 GiB (24.9%)
  ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA1T0TCK size: 953.87 GiB temp: 53.9 C
  ID-2: /dev/sda type: USB vendor: Western Digital model: WD10EARX-00N0YB0 size: 931.51 GiB
  ID-3: /dev/sdb type: USB vendor: Kingston model: DataTraveler 2.0 size: 14.54 GiB
  ID-1: / size: 57.85 GiB used: 40 GiB (69.1%) fs: ext4 dev: /dev/nvme0n1p8
  ID-2: /boot/efi size: 259.5 MiB used: 115 MiB (44.3%) fs: vfat dev: /dev/nvme0n1p1
  ID-1: swap-1 type: partition size: 16.67 GiB used: 247.5 MiB (1.5%) dev: /dev/nvme0n1p9
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 295 Uptime: 2d 17h 33m Memory: 15.19 GiB used: 3.3 GiB (21.8%) Init: systemd
  Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1995 Client: Unknown Client: wrapper-2.0
  inxi: 3.3.26

I rebooted after deleting systemd.conf and journald.con PLUS corresponding overrides!

Ok, RTFM, but if i ask here i think i circumvent usual pitfalls :slight_smile:

And yes man systemd-system.conf … has all the details but this way i stll don’t see compile time defaults?!

Tipps are welcome!

Hi @JohnML,

AFAIK you have to reload the daemon after any and all changes:

sudo systemctl daemon-reload

Hope this is it!

The overrides for system.conf belong in system.conf.d

1 Like


The folder journald.conf.d is only for journald.conf. But you can add in this folder ans many override conf files for journald.conf as you want. But not for any other config file.

Why did you deleted these files in the first place? You should not do this. You can also reinstall the systemd package to get them back,


created an extra folder for system.conf overrides and i’ll see what happens!

Too lazy to delete these overrides again to check if they are recreated after an yay -S systemd … i wait and see what happens!

There is no trash bin for root … google: how do i fix that if possible ?

Just learned:

sudo dbus-launch thunar

starts thunar WITH a trash bin, so i deleted all folders with overrides then i executed yay -S systemd … and the compile time system.conf and journald.conf are back !

It’s dbus not debus

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.