Mailinglist Archive: opensuse-project (76 mails)

< Previous Next >
Re: [opensuse-project] Can't start smbd and nmbd after upgrade from Leap 42.3 to 15.0
Am 01.04.19 um 23:42 schrieb Carlos E. R.:
On 01/04/2019 23.22, Christian Boltz wrote:
Hello,

Am Montag, 1. April 2019, 19:28:03 CEST schrieb Carlos E.R.:
On 01/04/2019 18.28, Johannes Weberhofer wrote:
After upgrading to Leap 15 I always get the following errors when
starting uü smbd (or nmbd).

Apr 01 14:31:29 herkules smbd[10591]: [2019/04/01 14:31:29.723286,
0] ../lib/util/pidfile.c:111(pidfile_create)
Apr 01 14:31:29 herkules smbd[10591]: ERROR: can't open
/run/samba/smbd.pid: Error was Permission denied
Apr 01 14:31:29 herkules systemd[1]: smb.service: Main process
exited, code=exited, status=1/FAILURE
Apr 01 14:31:29 herkules systemd[1]: Failed to start Samba SMB
Daemon.

Disabling the profiles in apparmor solves the issue for me, but
isn't there a better solution?

Yes, running "aa-logprof" and adjusting the profile.

That, and please open a bugreport with the additional rules or (better)
the relevant lines from /var/log/audit/audit.log so that I can update
the profiles.

The interesting thing here is that the smbd profile has
/{,var/}run/samba/smbd.pid rw,
since 2011, therefore I'm a bit surprised about the errors you quoted.
One more reason for a bugreport with the audit.log attached ;-)

That posses a question of mine: How can I find out what I modified on
the profiles?

For two reasons: move them to /etc/apparmor.d/local or report them.

If I don't take notes at the time, I can't later find out what I did
easily...



BTW: opensuse-project is for project / non-technical discussions.
Please use opensuse-factory or opensuse-support for technical questions
in the future.

Oops. I did not notice that it was here. Setting a reply-to header.


Dear Carlos,
dear Christian!

Thanks for your support. I have tried to switch between different status
settings for the profiles which didn't help. However, after a reboot of the
machine now everything works. I don't have a glue what actually went wrong
before.

Best regards,
Johannes


--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna
--
To unsubscribe, e-mail: opensuse-project+unsubscribe@xxxxxxxxxxxx
To contact the owner, email: opensuse-project+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups