Hi Benda,

Benda Xu wrote:
> Thank you for raising this up.  Are you using openrc with sysvinit-core?

As mentioned: yes

> @Axel, what is the output of `rc-update` of the said system?

                2ping |      default                                        
           alsa-utils |                                              sysinit
              anacron |      default                                        
             apparmor |                                              sysinit
         avahi-daemon |      default                                        
             bootlogd |                                              sysinit
     console-setup.sh |      default                                        
         cpufrequtils |      default                                        
                 cron |      default                                        
           cryptdisks |                                              sysinit
     cryptdisks-early |                                              sysinit
                 dbus |      default                                        
      dnssec-triggerd |      default                                        
                  gpm |      default                                        
           hwclock.sh |                                              sysinit
              iodined |      default                                        
    keyboard-setup.sh |                                              sysinit
                 kmod |                                              sysinit
            linuxlogo |      default                                        
          loadcpufreq |      default                                        
                 lvm2 |                                              sysinit
         lvm2-lvmetad |      default                                        
        lvm2-lvmpolld |      default                                        
               miredo |      default                                        
       nethack-common |      default                                        
           networking |                                              sysinit
               ntpsec |      default                                        
                  nvi |      default                                        
              openvpn |      default                                        
              postfix |      default                                        
             pppd-dns |                                              sysinit
               procps |                                              sysinit
                rsync |      default                                        
              rsyslog |      default                                        
            savecache |                        off                          
       screen-cleanup |                                              sysinit
        smartmontools |      default                                        
                  ssh |      default                                        
             sshguard |      default                                        
        stop-bootlogd |      default                                        
 stop-bootlogd-single |                                              sysinit
                  tor |      default                                        
                 udev |                                              sysinit
              unbound |      default                                        
              uptimed |      default                                        
                  wdm |      default                                        
                 wicd |      default                                        
           x11-common |                                              sysinit

There's especially no mountall.sh or similar listed.

On one of my older OpenRC ruunning systems, there are quite some
"mount<something>" items listed:

[…]
 mountall-bootclean.sh |                                              sysinit
          mountall.sh |                                              sysinit
     mountdevsubfs.sh |                                              sysinit
       mountkernfs.sh |                                              sysinit
 mountnfs-bootclean.sh |                                              sysinit
          mountnfs.sh |                                              sysinit
[…]

Both machines are running Unstable and have sysvinit-core and e.g.
initscripts at version 2.88dsf-59.10, but the newly installed one is
amd64 with UEFI while the old one is i386 with classic BIOS. Not sure
if that should make a difference.

> /etc/init.d/mountall.sh from initscripts is called by OpenRC by default
> to handle /etc/fstab.
> 
> Confirmation check: if you execute `invoke-rc.d mountall.sh start`
> instead of `mount -a`, does it work as well?

Yes. And then even swap is activated:

# invoke-rc.d mountall.sh start
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
# 

So it looks like for some reason some of the mounting-related services
are not known and run at all.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to