Sometimes I get warnings on system startup
when caching service dependencies. Something like
ln: creating symlink `/var/lib/init.d/started/checkroot` to `/etc/init.d/checkroot`: File exists or Read-only filesystem
or similar warnings for other services.
What's the problem here? It seems to be totally harmless
but quite irritating nonetheless.


Check the contents of your /etc/fstab, especially the 4th field
which determines how your partitions are mounted (read-only, etc etc)


I only have one partition for root and I'm sure it's rw.
The above warnings probably indicate that root hasn't
been remounted rw yet during system startup but why?
Does it have something to do with udev?


But you're ignoring one half of the possible causes:

File exists *or* Read-only filesystem

Maybe the probem is that the file (symlink) (pre-)exists, when it should/need not (since it is apparently created during the boot process)?

It's either File exists or Read-only filesystem.
It may be File exists for checkroot
and Read-only filesystem for hostname.
The list of services may vary from time to time.
And it doesn't happen on *each* reboot.
If the system shuts down cleanly /var/lib/init.d/started should be empty. Checked this a couple of times booting from livecd.
I wouldn't mind these File exists warnings after system crash.
But it has to happen yet.
Read-only filesystem shouldn't be there either 'cause
service caching should happen way after the root is remounted rw.
I can only think of checkroot service failing to remount the root rw
or something.
These irritating messages are probably the only problem I have with my Gentoo box. And as it's a gateway and db server for my home network
I'd really like to find a reasonable explanation.


All suggestions are welcome.

# rc-update show
           alsasound | boot
             apache2 |      default
             apcupsd |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
            coldplug |
         consolefont | boot
         crypto-loop |
               cupsd |
                dhcp |      default
            dhcrelay |
          domainname |      default
                famd |      default
            festival |      default
            gkrellmd |
                 gpm |      default
                halt |
              hdparm |
            hostname | boot
             hotplug | boot
           ip6tables |
            iptables | boot
             keymaps | boot
                lisa |
               local |      default nonetwork
          localmount | boot
             metalog |      default
             modules | boot
              monopd |
               mysql |      default
               named |      default
            net.eth0 |      default
              net.lo | boot
            netmount |      default
            net.ppp0 |      default
                 nfs |
            nfsmount |
                nscd |
          ntp-client |
                ntpd |
             numlock |
             portmap |      default
             reslisa |
           rmnologin | boot
              rsyncd |
               samba |
            sendmail |      default
              serial | boot
   speech-dispatcher |      default
              splash |
                sshd |      default
             urandom | boot
          vixie-cron |      default
              vmware |      default
                 xdm |      default
                 xfs |
              xinetd |      default


-- [email protected] mailing list



Reply via email to