Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-29 Thread Seung-Woo Kim
Hello, On 2016년 05월 28일 07:44, Casey Schaufler wrote: > On 5/27/2016 1:24 PM, Al Viro wrote: >> On Fri, May 27, 2016 at 12:48:23PM -0700, Linus Torvalds wrote: >>> On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: Amended and force-pushed... >>> Ok, I'll ignore that

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-29 Thread Seung-Woo Kim
Hello, On 2016년 05월 28일 07:44, Casey Schaufler wrote: > On 5/27/2016 1:24 PM, Al Viro wrote: >> On Fri, May 27, 2016 at 12:48:23PM -0700, Linus Torvalds wrote: >>> On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: Amended and force-pushed... >>> Ok, I'll ignore that branch for now, in the

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Casey Schaufler
On 5/27/2016 1:24 PM, Al Viro wrote: > On Fri, May 27, 2016 at 12:48:23PM -0700, Linus Torvalds wrote: >> On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: >>> Amended and force-pushed... >> Ok, I'll ignore that branch for now, in the hopes that there will be >> actual

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Casey Schaufler
On 5/27/2016 1:24 PM, Al Viro wrote: > On Fri, May 27, 2016 at 12:48:23PM -0700, Linus Torvalds wrote: >> On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: >>> Amended and force-pushed... >> Ok, I'll ignore that branch for now, in the hopes that there will be >> actual testing success. Please send

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:48:23PM -0700, Linus Torvalds wrote: > On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: > > > > Amended and force-pushed... > > Ok, I'll ignore that branch for now, in the hopes that there will be > actual testing success. Please send a full

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:48:23PM -0700, Linus Torvalds wrote: > On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: > > > > Amended and force-pushed... > > Ok, I'll ignore that branch for now, in the hopes that there will be > actual testing success. Please send a full pull request at that point,

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Linus Torvalds
On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: > > Amended and force-pushed... Ok, I'll ignore that branch for now, in the hopes that there will be actual testing success. Please send a full pull request at that point, ok? Linus

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Linus Torvalds
On Fri, May 27, 2016 at 12:43 PM, Al Viro wrote: > > Amended and force-pushed... Ok, I'll ignore that branch for now, in the hopes that there will be actual testing success. Please send a full pull request at that point, ok? Linus

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:34:34PM -0700, Linus Torvalds wrote: > On Fri, May 27, 2016 at 12:26 PM, Al Viro wrote: > > > > Umm... Would something along the lines of [...] > > Sure. That makes me go "ahh, ok, I see why". Amended and force-pushed...

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:34:34PM -0700, Linus Torvalds wrote: > On Fri, May 27, 2016 at 12:26 PM, Al Viro wrote: > > > > Umm... Would something along the lines of [...] > > Sure. That makes me go "ahh, ok, I see why". Amended and force-pushed...

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:03:37PM -0700, Casey Schaufler wrote: > I haven't actually seen the problem, but I've been having > real trouble getting a systemd configuration working properly. > The quickest validation will probably be coming from Seung-Woo Kim, > who reported the issue initially. I

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:03:37PM -0700, Casey Schaufler wrote: > I haven't actually seen the problem, but I've been having > real trouble getting a systemd configuration working properly. > The quickest validation will probably be coming from Seung-Woo Kim, > who reported the issue initially. I

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Linus Torvalds
On Fri, May 27, 2016 at 12:26 PM, Al Viro wrote: > > Umm... Would something along the lines of [...] Sure. That makes me go "ahh, ok, I see why". Linus

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Linus Torvalds
On Fri, May 27, 2016 at 12:26 PM, Al Viro wrote: > > Umm... Would something along the lines of [...] Sure. That makes me go "ahh, ok, I see why". Linus

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:01:05PM -0700, Linus Torvalds wrote: > Al, if you want Casey to help test, I think you should write out the > full git repository address, rather than just say "See > vfs.git#smack-fix". > > Anybody who isn't used to pulling for you will just wonder where you > keep

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 12:01:05PM -0700, Linus Torvalds wrote: > Al, if you want Casey to help test, I think you should write out the > full git repository address, rather than just say "See > vfs.git#smack-fix". > > Anybody who isn't used to pulling for you will just wonder where you > keep

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Casey Schaufler
On 5/27/2016 11:51 AM, Al Viro wrote: > On Fri, May 27, 2016 at 04:11:41PM +0100, Al Viro wrote: > >>> After commit, "b968091 security_d_instantiate(): move to the point prior to >>> attaching dentry to inode", booting on system with >>> systemd and security smack, following kernel panic occurs.

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Casey Schaufler
On 5/27/2016 11:51 AM, Al Viro wrote: > On Fri, May 27, 2016 at 04:11:41PM +0100, Al Viro wrote: > >>> After commit, "b968091 security_d_instantiate(): move to the point prior to >>> attaching dentry to inode", booting on system with >>> systemd and security smack, following kernel panic occurs.

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Linus Torvalds
On Fri, May 27, 2016 at 11:51 AM, Al Viro wrote: > On Fri, May 27, 2016 at 04:11:41PM +0100, Al Viro wrote: >> There is a fairly straightforward way to handle that - do to ->setxattr() >> what we'd already done to ->getxattr(). See vfs.git#smack-fix. Warning: >> it's

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Linus Torvalds
On Fri, May 27, 2016 at 11:51 AM, Al Viro wrote: > On Fri, May 27, 2016 at 04:11:41PM +0100, Al Viro wrote: >> There is a fairly straightforward way to handle that - do to ->setxattr() >> what we'd already done to ->getxattr(). See vfs.git#smack-fix. Warning: >> it's only build-tested. I'm

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 04:11:41PM +0100, Al Viro wrote: > > After commit, "b968091 security_d_instantiate(): move to the point prior to > > attaching dentry to inode", booting on system with > > systemd and security smack, following kernel panic occurs. > > /* >

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 04:11:41PM +0100, Al Viro wrote: > > After commit, "b968091 security_d_instantiate(): move to the point prior to > > attaching dentry to inode", booting on system with > > systemd and security smack, following kernel panic occurs. > > /* >

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 08:09:09PM +0900, Seung-Woo Kim wrote: > After commit, "b968091 security_d_instantiate(): move to the point prior to > attaching dentry to inode", booting on system with > systemd and security smack, following kernel panic occurs. /*

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Al Viro
On Fri, May 27, 2016 at 08:09:09PM +0900, Seung-Woo Kim wrote: > After commit, "b968091 security_d_instantiate(): move to the point prior to > attaching dentry to inode", booting on system with > systemd and security smack, following kernel panic occurs. /*

[BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Seung-Woo Kim
Hello, After commit, "b968091 security_d_instantiate(): move to the point prior to attaching dentry to inode", booting on system with systemd and security smack, following kernel panic occurs. --- Unable to handle kernel paging request at virtual address fff4 pgd = eda74000 [fff4]

[BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Seung-Woo Kim
Hello, After commit, "b968091 security_d_instantiate(): move to the point prior to attaching dentry to inode", booting on system with systemd and security smack, following kernel panic occurs. --- Unable to handle kernel paging request at virtual address fff4 pgd = eda74000 [fff4]