Skip to main content
Topic: root-ro (Read 303 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

root-ro

Code: [Select]
sudo dinitctl list
[[+]     ] boot
<snip>
[{+}     ] early-prepare.target
[     {X}] root-ro
[{+}     ] pseudofs
<snip>
[{+}     ] tty6 (pid: 749)


root-ro?
Code: [Select]
cat /lib/dinit.d/root-ro
type    = scripted
command = /bin/mount -o remount,ro,rshared /
restart = false

search root-ro dinit

https://forum.artixlinux.org/index.php/topic,7409.msg44615.html#msg44615

should the package add..
Code: [Select]
options = starts-on-console
?

Should I?

Re: root-ro

Reply #1
Yes if you want to see the log, or try other methods explained there.
I had to remove ro from
Code: [Select]
command = /bin/mount -o remount,ro,rshared /
to be able to boot in ARMtix.

Re: root-ro

Reply #2
edited
Code: (root-ro) [Select]
type    = scripted
command = /bin/mount -o remount,ro,rshared /
options = starts-on-console
restart = false
$: sudo dinitctl restart root-ro
 cannot restart service; service not started.
$: sudo dinitctl start root-ro
Service 'root-ro' failed to start.
Reason: service process terminated before ready: exited - status 32
$: sudo dinitcheck root-ro
[sudo] password for e:
Checking service: root-ro...
Performing secondary checks...
Secondary checks complete.
No problems found.

I got nothing.

Re: root-ro

Reply #3
I used the logfile option in my case.
I had error 32 too, this is the log:
Code: [Select]
mount: /: mount point is busy.
       dmesg(1) may have more information after failed mount system call.

Re: root-ro

Reply #4
@davmac  thought options = starts-on-console should fix the 32 error, yes?

 

Re: root-ro

Reply #5
That is to show the log in the console.
Because root-ro will prevent things to work.