>Synopsis:      daily(8) is inaccurate regarding /altroot
>Category:      documentation
>Environment:
        System      : OpenBSD 5.6
        Details     : OpenBSD 5.6 (GENERIC) #310: Fri Aug  8 00:14:24 MDT 2014
                         
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
Regarding root filesystem backup, the daily(8) man page says "The mount
directory /altroot must exist, ..."  This is not accurate.  All the other
specified requirements are indeed necessary for proper functioning, but
an /altroot directory is not required.  The backup takes place just fine
without it.
>How-To-Repeat:
Configure things as specified, then run 'mv /etc/altroot /etc/altroot.not ;
sh /etc/daily' and you will see that the backup happens just fine.
>Fix:
Modify the documentation to be consistent with the script's actual
functioning, or modify the script to actually require the existence of
an /altroot directory.

Reply via email to