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, 148 days ago, 470 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

ha14148 days ago

@Aravi


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

  • downvote

2

Aravi148 days ago

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

  • downvote

3

ha14148 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
    ChessKing Which social network is better?
    Alphonsus No problem just a question
    Jiinyy Where to order tyvek wristbands?
    dilesh1982 Service pack installation fail on windows 7
    omarwa The best aplication of video mantage
    omarwa Windows10 32 bit or 64 bit
    principal Software Instalation
    Habinar Hey how are you? Lets introduce
    zagrebe Что с этим творить?
    raoulex Pour nettoyer mon ordinateur
    Recent users who have won rewards.
    Noth1ng1sSom3th1ng won $1
    FixitJorge won $1
    MAKEROFMONY2 won $1
    thsigit won $1
    ab1936 won $1
    ahmed58 won $1
    chakramed won $1
    ha14 won $5
    chakramed won $1
    ha14 won $1
    Latest Topics
    dilesh1982 Service pack installation fail on windows 7
    Jiinyy Where to order tyvek wristbands?
    wezom_com How to Advertise Small Business?
    Habinar Hey how are you? Lets introduce
    principal Software Instalation
    ingham Cleaner not working
    georgiaaby How can we get Quickbooks Payroll Customer Care Services for Customer Support
    omarwa Windows10 32 bit or 64 bit
    CarloCorbacelli 1 f... pc 2 lic driver c 5 wise care
    omarwa The best aplication of video mantage
    Get free dollars by installing euask App.