Latest update to dinit-rc 'breaks' autofs 21 June 2025, 12:11:59 Greetings!I will preface this by saying I am running Artix using the Gremlins repositories (testing).After updating two days ago, the dinit-rc package was updated to dinit-rc-0.6.0-1 (from dinit-rc-0.5.0-1). This had the side effect of breaking autofs due to autofs having a 'depends-on = setup' in it's service script. It will fail to boot unless that line is changed or removed from the service script.After looking further, it appears that there are some deprecated dinit-rc service options that were removed. One of those was called 'setup'. For the autofs service, I changed the 'depends-on' from 'setup' to 'network.target' and it appears to work as it should.I'm simply not sure what replaces 'setup' as a service dependency and if 'network.target' is not correct, what would be the best option to use? I am thinking there is a replacement for 'setup' but I'm not sure?This is both a question and a 'heads-up' to others who may run into this.Any insights/suggestions would be greatly appreciated... TIA Quote Selected Last Edit: 23 June 2025, 19:49:19 by Weezer
Re: Latest update to dinit-rc 'breaks' autofs Reply #1 – 21 June 2025, 13:50:33 Some old services were deprecated and it's been years, so I decided to delete them.Wait for autofs-dinit-20250621-1 to hit the repos. Quote Selected
Re: Latest update to dinit-rc 'breaks' autofs Reply #2 – 21 June 2025, 14:54:21 Quote from: konimex – on 21 June 2025, 13:50:33Some old services were deprecated and it's been years, so I decided to delete them.Wait for autofs-dinit-20250621-1 to hit the repos.Kind of what I thought. I figured a new dinit script for autofs will follow at some point, just not here yet. I know that autofs was the only service on my machine(s) that used that particular 'service' as a dependency, too.Thanks for the quick response... Marking solved. Quote Selected
Re: Latest update to dinit-rc 'breaks' autofs Reply #3 – 23 June 2025, 21:43:23 Quote from: konimex – on 21 June 2025, 13:50:33Some old services were deprecated and it's been years, so I decided to delete them.Wait for autofs-dinit-20250621-1 to hit the repos.Hi konimex,Firstly, I didn't realize when I opened this thread that the file I was 'complaining' about was my own. I don't think there was an 'autofs-dinit' package at the time so I had to make one . Since you are one of the Artix developers, I want to mention that I just installed the 'autofs-dinit' service file and it works fine as far as I have tested. I do want to mention that it calls the service 'automount' rather than 'autofs', and this could be confusing to someone installing/enabling the service for the first time.Just throwing that out there as someting to consider (not being a critic).Thanks and FYI Quote Selected
Re: Latest update to dinit-rc 'breaks' autofs Reply #4 – 24 August 2025, 02:23:38 Hi,just found other deprecated services (network and network-pre) dependng on removed ones (mount and rclocal).Is there a way to prevent dinit to stop to boot when it fails to load some services? It colud just try to ignore them instead.I took several hours to understand what was wrong after the update because of the system was not booting anymore.Thanks Quote Selected
Re: Latest update to dinit-rc 'breaks' autofs Reply #5 – 27 August 2025, 01:32:25 Quote from: rcasta74 – on 24 August 2025, 02:23:38Is there a way to prevent dinit to stop to boot when it fails to load some services?Yes you go into each service that depends on the service you want to exclude and delete the "depends-on" call out in the config files of the other services. Once no other services depends on that services your boot will not be affected if that service fails.In order to get one of my systems to boot with this update I deleted the depends-on for rclocal in network-pre service config file. I then went and examined the rclocal file that was still present on a machine that wasnt updated yet and saw rclocal was being deprecated for local.target so I changed netowork-pre to point to that instead. But now that I'm looking at that, it seems network is being deprecated for nework.target and network-pre for pre-network.target. I have some user made services that depend on network for one of my machines so I will now go in and change those lol. Quote Selected