Artix Linux Forum

Init systems => dinit => Topic started by: MaxLPM on 08 August 2024, 16:22:47

Title: device-mapper log file error on boot
Post by: MaxLPM on 08 August 2024, 16:22:47
While writing dinit instructions for this wiki article (https://wiki.artixlinux.org/Main/Migration#dinit_2), I decided to test them out in a virtual machine. Everything went alright, but at boot I get this error message:
Code: [Select]
dinit: dmeventd: execution failed - opening log file: Read-only file system
[FAILED] dmeventd
Everything works normally after that.
Looking the message up, I found this (https://github.com/davmac314/dinit/discussions/282), this (https://forum.artixlinux.org/index.php/topic,6390.new.html) and this (https://forum.artixlinux.org/index.php/topic,6918.msg41918.html). From what I've gathered, it looks like the service file for device-mapper-dinit should be modified to include "log-type = buffer"?

Some info, just in case:
This happens on a clean, base installation of Artix. lvm2 is not required in order to reproduce
dinit version:  0.18.0-5
dinit-rc version: 0.4.7-1
I can post more logs if needed
Title: Re: device-mapper log file error on boot
Post by: konimex on 11 August 2024, 14:58:06
Fixed in device-mapper-dinit-20211029-4. Apologies for the late reply.
Title: Re: device-mapper log file error on boot
Post by: davmac on 15 August 2024, 05:23:42
Quote
it looks like the service file for device-mapper-dinit should be modified to include "log-type = buffer"?

Just to clear up any confusion regarding this: