[SOLVED] S6-rc: fatal: unable to take locks 20 January 2023, 23:47:02 Hi there,Would you mind telling me what ‘unable to take locks’ means? Having installed a fresh system using the latest ISO I encountered the issue with compiling database in S6. After entering the routine commands such as ‘s6-service add default <service>” and then ‘s6-db-reload’ I would get the following result: S6-rc: fatal: unable to take locks: no such file or directory. That had never happened before the s6 got updated January 14th.Thank you in advance. Last Edit: 23 February 2023, 09:31:39 by Hitman
Re: S6-rc: fatal: unable to take locks Reply #1 – 21 January 2023, 16:46:06 From my experience, this usually means that /run/s6-rc isn't available or something like that. Why this would happen to you, I have no idea.
Re: S6-rc: fatal: unable to take locks Reply #2 – 21 January 2023, 19:06:06 For the sake of testing, I just tried installing from the previous weekly ISO (Artix-plasma 26.12.22) when S6 hadn’t been updated to 2.11.2.0-1, and there were no problems with database compilation. So I’ve had ‘unable to take locks’ message since after S6 got updated. Last Edit: 21 January 2023, 20:29:50 by Anthony
Re: S6-rc: fatal: unable to take locks Reply #3 – 21 January 2023, 21:32:22 Well there was a major library bump (skalibs) in between that time. I'm not sure if possibly it would require a reboot (?).
Re: S6-rc: fatal: unable to take locks Reply #4 – 22 January 2023, 07:15:38 A reboot won’t take effect either. I even did a clean install using base ISO and all was the same. Could it be a CPU issue, how do you think? I’m using quiet an old laptop, it’s 8 years old Lenovo G50-70. Last Edit: 22 January 2023, 07:43:22 by Anthony
Re: S6-rc: fatal: unable to take locks Reply #5 – 22 January 2023, 17:06:37 The CPU doesn't matter at all.
Re: S6-rc: fatal: unable to take locks Reply #6 – 22 January 2023, 18:31:16 Well, I don’t know what could cause the error, It may be roughness or something else. I will be waiting till the next release of S6.Thank you!
Re: S6-rc: fatal: unable to take locks Reply #7 – 22 February 2023, 15:17:00 So after some investigation in IRC, it turns out that this was actually an s6-rc bug. I could trigger it as well, but I just never noticed it. It was fixed in 0.5.4.1 which is in the repos now. 1 Likes
Re: [SOLVED] S6-rc: fatal: unable to take locks Reply #8 – 28 February 2023, 05:45:50 It has solved my problem. Thank you for your assistance!