Euask
A community for mutual assistance and knowledge sharing

Ubuntu apparmor issue. It says denied smbd services. smbd in complains mode. How can i solve this? Reward $1
Created by Aravi, 24 days ago, 177 views

Log file entry: -

Tail -f /var/log/syslog | grep -i apparmor

Sep 25 20:59:09 comp kernel: [ 2947.301808] audit: type=1400 audit(1506353349.168:229): apparmor="ALLOWED" operation="mknod" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5054" pid=5054 comm="smbd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

Sep 25 20:59:09 comp kernel: [ 2947.301813] audit: type=1400 audit(1506353349.168:230): apparmor="ALLOWED" operation="open" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5054" pid=5054 comm="smbd" requested_mask="wc" denied_mask="wc" fsuid=0 ouid=0

Sep 25 20:59:09 comp kernel: [ 2947.301817] audit: type=1400 audit(1506353349.168:231): apparmor="ALLOWED" operation="file_lock" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5054" pid=5054 comm="smbd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0

Sep 25 20:59:09 comp kernel: [ 2947.302188] audit: type=1400 audit(1506353349.168:232): apparmor="ALLOWED" operation="truncate" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5054" pid=5054 comm="smbd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0

Sep 25 20:59:09 comp kernel: [ 2947.370276] audit: type=1400 audit(1506353349.236:233): apparmor="ALLOWED" operation="file_mmap" profile="/usr/sbin/smbd" name="/usr/lib/x86_64-linux-gnu/samba/gensec/krb5.so" pid=5054 comm="smbd" requested_mask="m" denied_mask="m" fsuid=0 ouid=0

Sep 25 21:01:38 comp kernel: [ 3096.883611] audit: type=1400 audit(1506353498.743:234): apparmor="ALLOWED" operation="mknod" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5129" pid=5129 comm="smbd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

Sep 25 21:01:38 comp kernel: [ 3096.883617] audit: type=1400 audit(1506353498.743:235): apparmor="ALLOWED" operation="open" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5129" pid=5129 comm="smbd" requested_mask="wc" denied_mask="wc" fsuid=0 ouid=0

Sep 25 21:01:38 comp kernel: [ 3096.883621] audit: type=1400 audit(1506353498.743:236): apparmor="ALLOWED" operation="file_lock" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5129" pid=5129 comm="smbd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0

Sep 25 21:01:38 comp kernel: [ 3096.883624] audit: type=1400 audit(1506353498.743:237): apparmor="ALLOWED" operation="truncate" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5129" pid=5129 comm="smbd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0

Sep 25 21:01:38 comp kernel: [ 3096.885334] audit: type=1400 audit(1506353498.747:238): apparmor="ALLOWED" operation="unlink" profile="/usr/sbin/smbd" name="/run/samba/msg.lock/5129" pid=5129 comm="smbd" requested_mask="d" denied_mask="d" fsuid=0 ouid=0
Facebook Twitter Google+ Addthis

√ Best Answer

1

ha1424 days ago

@Aravi


apparmor flooding kern.log
https://ubuntuforums.org/showthread.php?t=2352678

  • downvote

2

Aravi24 days ago

Hi @ha14
Thanks, I just wonder why the people in ask ubuntu dont answered or not marked as possible duplicate.

  • downvote

3

ha1424 days ago

@Aravi

I dont know, but great that it helped you :) thanks

  • downvote
    You have to sign in to answer a question, sign up if you don't have an account.


    Hot Topics
    yousifalnaier2 Change the IP address problem
    pleaseAnswerMe I can't find the file that will make me install code::blocks
    curnscurns "Can not connect to the server"
    sonich2401 Wise Reg Cleaner Desktop Glitch
    Teresita How do you earn online by using apps on cell phone?
    yousifalnaier2 My balance account
    CarloCorbacelli Title of the problemWise Driver Care
    tongkouthor [attachment=8844:0069567.jpg]
    Recent users who have won rewards.
    WiseCleaner_admin won $1
    WiseCleaner_admin won $1
    Tika won $4
    ZzMrXzZ won $2
    ha14 won $1
    nuklin won $1
    AAA1992 won $1
    ha14 won $1
    Karmadyota won $1
    ha14 won $1
    Latest Topics
    tongkouthor [attachment=8844:0069567.jpg]
    sonich2401 Wise Reg Cleaner Desktop Glitch
    CarloCorbacelli Title of the problemWise Driver Care
    curnscurns "Can not connect to the server"
    Fatemeh How to minimize Windows 7?
    rohinraha Windows 10 update
    pleaseAnswerMe I can't find the file that will make me install code::blocks
    yousifalnaier2 My balance account
    yousifalnaier2 Change the IP address problem
    Teresita How do you earn online by using apps on cell phone?
    Get free dollars by installing euask App.