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, 417 days ago, 1137 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

ha14417 days ago

@Aravi


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

  • downvote

2

Aravi417 days ago

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

  • downvote

3

ha14417 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
    jonditi Laptop keeps shutting down
    sudisue54 Programs not responding
    GoGlass How to get more followers on the Instagram?
    GoGlass Music-related websites
    brijeshjoshi Backup Solutions
    GoGlass How to hire a good software development company?
    Vynnert Dating websites, do you use any?
    GoGlass Flash games and stuff
    Recent users who have won rewards.
    ha14 won $1
    MAKEROFMONY2 won $1
    ChessKing won $1
    eradaec won $1
    ChessKing won $1
    ChessKing won $1
    lybwrsh won $1
    PeteLFX won $1
    PeteLFX won $1
    Davidoff_11 won $4
    Latest Topics
    kairathompson How do I reactivate payroll in QuickBooks?
    Vynnert Dating websites, do you use any?
    GoGlass Flash games and stuff
    GoGlass Music-related websites
    GoGlass How to hire a good software development company?
    brijeshjoshi Backup Solutions
    GoGlass How to get more followers on the Instagram?
    sudisue54 Programs not responding
    jonditi Laptop keeps shutting down
    JamieD I can't add custom domain for azure web app
    Get free dollars by installing euask App.