Description of problem:
The init scripts for smb and nmb check if they are executed as root by checking if they can write to a file in /etc. If the filesystem is readonly this fails and samba wont start.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Put the system into ro mode (/etc/sysconfig/read-only)
Samba is not runing
The fix is easy:
replace the line containing
[ -w /etc/samba/smb.conf ] || exit 4
[ `id -u` -eq "0" ] || exit 4
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.