https://bugzilla.novell.com/show_bug.cgi?id=666450 https://bugzilla.novell.com/show_bug.cgi?id=666450#c9 Joachim Reichelt <Joachim.Reichelt@helmholtz-hzi.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|Joachim.Reichelt@helmholtz- | |hzi.de | --- Comment #9 from Joachim Reichelt <Joachim.Reichelt@helmholtz-hzi.de> 2011-01-27 21:02:13 UTC --- There was a minor problem with nmbd: The right to access mode w to /var/log/samba/cores/ was missing. But: As smbd did not start at all, I added to /etc/apparmor.d/usr.sbin/smbd one line: /etc/samba/secrets.tdb rwk, Now smbd is up, but: /var/log/samba/log.smbd: # tail -20 /var/log/samba/log.smbd tdb(unnamed): tdb_open_ex: failed to get global lock on /etc/samba/secrets.tdb: Keine Berechtigung [2011/01/27 21:30:10.645532, 0] passdb/secrets.c:73(secrets_init) Failed to open /etc/samba/secrets.tdb [2011/01/27 21:30:10.645638, 0] smbd/server.c:1235(main) ERROR: smbd can not open secrets.tdb [2011/01/27 21:31:51, 0] lib/fault.c:250(dump_core_setup) Unable to setup corepath for smbd: Permission denied [2011/01/27 21:31:51, 0] smbd/server.c:1135(main) smbd version 3.5.6-2486-SUSE-SL11.4-x86_64 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/01/27 21:31:51.714608, 0] passdb/pdb_tdb.c:420(tdbsam_open) tdbsam_open: Failed to open/create TDB passwd [/etc/samba/passdb.tdb] [2011/01/27 21:31:51.714710, 0] passdb/pdb_tdb.c:549(tdbsam_getsampwnam) tdbsam_getsampwnam: failed to open /etc/samba/passdb.tdb! [2011/01/27 21:31:51.721156, 0] smbd/server.c:500(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Die Adresse wird bereits verwendet [2011/01/27 21:31:51.721317, 0] smbd/server.c:500(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Die Adresse wird bereits verwendet [2011/01/27 21:34:51.908167, 0] smbd/server.c:281(remove_child_pid) Could not find child 7084 -- ignoring == /etc/apparmor.d/usr/sbin/nmbd read now: # Last Modified: Thu Jan 27 21:27:07 2011 #include <tunables/global> /usr/sbin/nmbd { #include <abstractions/base> #include <abstractions/nameservice> #include <abstractions/samba> capability net_bind_service, /usr/sbin/nmbd mr, /var/cache/samba/browse.dat* rw, /var/lib/samba/wins.dat* rw, /var/log/samba/cores/ w, /var/log/samba/cores/nmbd/ rw, /var/log/samba/cores/nmbd/** rw, /var/run/samba/** rk, /var/run/samba/nmbd.pid rw, } This is apparmor as in openSUSE 11.4-factory just now. Now trying from security:... zypper se -si apparmor Daten des Repositorys laden ... Installierte Pakete lesen ... S | Name | Typ | Version | Arch | Repository --+--------------------------------+-------+------------------+--------+------------------ i | apparmor-docs | Paket | 2.5.1-45.1 | x86_64 | (Systempakete) i | apparmor-parser | Paket | 2.5.1.r1445-64.1 | x86_64 | Security-Apparmor i | apparmor-profiles | Paket | 2.5.1.r1445-64.1 | x86_64 | Security-Apparmor i | apparmor-utils | Paket | 2.5.1.r1445-64.1 | noarch | Security-Apparmor i | libapparmor1 | Paket | 2.5.1.r1445-64.1 | x86_64 | Security-Apparmor i | libapparmor1-32bit | Paket | 2.5.1-45.1 | x86_64 | (Systempakete) i | pam_apparmor-32bit | Paket | 2.5.1-45.1 | x86_64 | (Systempakete) i | patterns-openSUSE-apparmor_opt | Paket | 11.3-42.1 | x86_64 | Factory-OSS i | perl-apparmor | Paket | 2.5.1.r1445-64.1 | x86_64 | Security-Apparmor i | yast2-apparmor | Paket | 2.20.0-1.2 | noarch | Factory-OSS but the problem is the same. nmbd is fixed the same way as before, smbd cannot read/write /etc/samba/passdb.tdb -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.