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
[Journal]
MaxRetentionSec=7d
SystemMaxUse=100M
SystemMaxFileSize=15M
[john1@manjaro journald.conf.d]$ cat ./20-override-system.conf
[Manager]
DefaultTimeoutStartSec=30s
DefaultTimeoutStopSec=30s
My questions are:
Is it ok to have two overrides in
/etc/systemd/journald.conf.d/
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)
Info:
Generated on 2023-04-17 13:13:1681730007
#################### inxi -Fxzc0 ########################
System:
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
Machine:
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
Battery:
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
CPU:
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
Graphics:
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
Audio:
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
Network:
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>
Bluetooth:
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
Drives:
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
Partition:
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
Swap:
ID-1: swap-1 type: partition size: 16.67 GiB used: 247.5 MiB (1.5%) dev: /dev/nvme0n1p9
Sensors:
System Temperatures: cpu: 45.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
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
And yes man systemd-system.conf … has all the details but this way i stll don’t see compile time defaults?!
Tipps are welcome!