[Bug 856759] New: samba 4.1.3: /usr/sbin/rcsmb and /usr/sbin/rcnmb are nonworking links.
https://bugzilla.novell.com/show_bug.cgi?id=856759 https://bugzilla.novell.com/show_bug.cgi?id=856759#c0 Summary: samba 4.1.3: /usr/sbin/rcsmb and /usr/sbin/rcnmb are nonworking links. Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: markus.kossmann@gmx.de QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 /usr/sbin/rcsmb is a link to ../lib/systemd/system/smb.service and /usr/sbin/rcnmb is a link to ../lib/systemd/system/nmb.service. These are no executable scripts but configuration files for systemd and trying to execute them only causes a "Permission Denied" message. If we want to provide backward compatibility to samba-3.6/sysVinit we have to replace the links by scripts, which call systemctl with the right parameters. The other option would be to remove them. Reproducible: Always Steps to Reproduce: 1.call rcsmb or rcnmb from commandline 2. 3. Actual Results: Error message: Permission Denied Expected Results: Either the files/links shouldn't exist any more or they should work as used from samba-3.6 on openSUSE-12.3 i.e "rcsmb restart" should restart the smb daemon. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c1
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c2
Uwe Meyer-Gruhl
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c3
--- Comment #3 from Uwe Meyer-Gruhl
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c4
--- Comment #4 from Christian Boltz
The /var/run/samba (or /run/samba) directory is not created before smb/nmb service start when apparmor is installed, thus the services cannot start.
Updated AppArmor profiles are already available, see bug 856651. The packages are just building in security:apparmor, I'll also submit them as update for 13.1. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c5
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c6
--- Comment #6 from Lars Müller
I just hit another bug with samba on two systems:
The /var/run/samba (or /run/samba) directory is not created before smb/nmb service start when apparmor is installed, thus the services cannot start.
Possible fixes:
1. Disable/deinstall Apparmor. 2. Fix Apparmor profiles to allow writing those directories (did not try). 3. Create /etc/tmpfiles.d/samba.conf like described here:
https://forums.opensuse.org/english/get-technical-help-here/network-internet...
The update will include fitting systemd-tmpfiles configuration files too. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c7
--- Comment #7 from Christian Boltz
Fixed with build source timestamp 3134 and available at the moment from https://build.opensuse.org/package/show/network:samba:STABLE/samba
After positive feedback here we'll publish an update.
Juergen Langowski just wrote on opensuse-de that the rc* symlinks work with those packages :-) (In reply to comment #6)
The update will include fitting systemd-tmpfiles configuration files too.
How boring ;-) - I have the updated profiles ready and will submit them as update for 13.1 in the next days. (But: having the systemd-tmpfiles configuration in the last samba update would have saved some people from getting grey hair ;-) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c8
--- Comment #8 from Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c10
--- Comment #10 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c11
--- Comment #11 from Christian Boltz
excuse not having tested the 4.1.3 builds on a host with enabled AppArmor.
No problem, I'm always looking for someone to serve me coffee and cake at conferences *eg* -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c12
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c13
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c15
--- Comment #15 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c16
--- Comment #16 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=856759
https://bugzilla.novell.com/show_bug.cgi?id=856759#c17
Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=856759
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com