Hi, Okajima San,

       I have the AppArmor and Seccomp closed, but still got the warning.


   __________________________________________________________________

   Michael Mao



   From: [1]hom...@163.com
   Date: 2020-03-21 22:45
   To: [2]hooanon05g
   CC: [3]aufs-users
   Subject: Re: Re: LXC unpreviliged problem with aufs mounted on nfs

   Hi, Okajima San,
       OK. Since I am using LXD to drive the LXC, and AppArmor is default
   profile for LXD driver. I need to study how to close this function in
   LXD.
   __________________________________________________________________

   Michael Mao



   From: [4]J. R. Okajima
   Date: 2020-03-21 22:26
   To: [5]hom...@163.com
   CC: [6]aufs-users
   Subject: Re: LXC unpreviliged problem with aufs mounted on nfs

   "hom...@163.com":
   >     I run the command :  useradd 1234, and got the warning: useradd:
   failure while writing changes to /etc/shadow
   >     and run:  chown _apt:root ./aaae (aaae is a txt file), and got
   warning: chown: changing ownership of './aaae': Operation not permitted

   Before diving into these strace logs, I'd want you to confirm one more
   thing.
   Are there any msg left from your AppArmor or any other LSM?  If you
   stop
   all LSM temporarly and test again, what will happen?


   J. R. Okajima

References

   1. mailto:hom...@163.com
   2. mailto:hooanon...@gmail.com
   3. mailto:aufs-users@lists.sourceforge.net
   4. mailto:hooanon...@gmail.com
   5. mailto:hom...@163.com
   6. mailto:aufs-users@lists.sourceforge.net


Reply via email to