Re: samba stopped working after FC4 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux