zramen error : readonly filesystem [SOLVED] 24 July 2025, 08:20:46 At boot, zramen complains it cannot use its log file because of a readonly filesystem.After boot, it starts and run just fine, so I guess it is started too early in the boot process.How could this be fixed ? May be a waits-for or depends-on directive in /etc/dinit.d/zramen ? Quote Selected Last Edit: 27 July 2025, 16:03:23 by chimay
Re: zramen error : readonly filesystem Reply #1 – 25 July 2025, 22:01:04 Edit its init service file to start after 'logger'. Quote Selected 1 Likes
Re: zramen error : readonly filesystem Reply #2 – 26 July 2025, 07:59:57 In my case, it would probably be metalog.Thanks! Quote Selected
Re: zramen error : readonly filesystem Reply #3 – 26 July 2025, 14:31:04 No, logger it is. Service files offer a provide keyword which allows "competing" daemons to satisfy the same dependency. Examples: logger for metalog and syslog-ng, net for dhcpcd, connman and networkmanager, cron for cronie and fcron. You can of course use the real service name if you want to be explicit, but the former solution safeguards from conflicts. Quote Selected 1 Likes
Re: zramen error : readonly filesystem Reply #4 – 26 July 2025, 15:34:51 It makes sense, but adding a 'waits-for = logger' brings a failed boot (which is strange in itself, whyaborting the boot process for a non-critical service ?).So, I had to remove the logger line in /etc/dinit.d/zramen in recovery mode.A 'grep provide' in /etc/dinit.d gives nothing, I'm starting to wonder if there's something missingin the dinit directory. Quote Selected
Re: zramen error : readonly filesystem Reply #5 – 26 July 2025, 15:49:31 Oh, I was talking about openrc, I don't know if the dinit service files for loggers have the 'provides' functionality. Quote Selected 1 Likes
Re: zramen error : readonly filesystem Reply #6 – 27 July 2025, 01:21:14 Every service that has logfile should have dependency on read-write rootfs. Add this to service file:depends-on: early-root-rw.targetAnd it should be fixed.If zramem-dinit is a official Artix package and has this problem, this is a bug and should be reported to get fixed. Quote Selected 1 Likes
Re: zramen error : readonly filesystem Reply #7 – 27 July 2025, 16:02:57 solved, thank you!I'll gladly report it, what is the correct way to do it ?(I don't have a gitea or a bugs.archlinux.org account to report there) Quote Selected
Re: zramen error : readonly filesystem [SOLVED] Reply #8 – 30 July 2025, 09:34:55 Quote from: chimay – on 27 July 2025, 16:02:57solved, thank you!I'll gladly report it, what is the correct way to do it ?(I don't have a gitea or a bugs.archlinux.org account to report there)@konimex Can you fix this in repo? Thanks Quote Selected
Re: zramen error : readonly filesystem [SOLVED] Reply #9 – 16 August 2025, 10:55:31 Quote from: mobin2008 – on 30 July 2025, 09:34:55Quote from: chimay – on 27 July 2025, 16:02:57solved, thank you!I'll gladly report it, what is the correct way to do it ?(I don't have a gitea or a bugs.archlinux.org account to report there)@konimex Can you fix this in repo? ThanksUnfortunately I don't maintain zramen-dinit. @ndowens seems to be the last packager since I can't find it in our gitea at all. Quote Selected