samba stopped working after FC4 upgrade

Alexander Dalloz ad+lists at uni-x.org
Sun Sep 18 22:48:14 UTC 2005


Am So, den 18.09.2005 schrieb Avram Aumick um 22:42:

> I did an upgrade from FC3 to FC4. After the upgrade my client computer 
> stopped
> being able to access the server files or login to via samba. The message 
> logs are as follows:

> from /var/log/messages
> 
> Sep 17 21:28:30 myserver kernel: audit(1127006910.225:1850): avc:  
> denied  { setattr } for  pid=8692 comm="smbd" name="smbpasswd" dev=hda2 
> ino=82039 scontext=root:system_r:smbd_t 
> tcontext=system_u:object_r:samba_etc_t tclass=file
> Sep 17 21:28:30 myserver smbd[8692]: [2005/09/17 21:28:30, 0] 
> passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
> Sep 17 21:28:30 myserver smbd[8692]:   startsmbfilepwent_internal: 
> failed to set 0600 permissions on password file /etc/samba/smbpasswd. 
> Error was Permission denied
> Sep 17 21:28:30 myserver smbd[8692]:   .Unable to open passdb database.

> I suspect that it has something to do with selinux. Howver I am not sure 
> what to do.

Yes, an audit / avc issue is logged.

> Avram

Try doing following:

touch /.autorelabel
reboot

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 00:46:55 up 5:57, 18 users, 0.10, 0.18, 0.17 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050919/e77cbf3f/attachment-0001.sig>


More information about the fedora-list mailing list