On Wed, Apr 02, 2014 at 07:56:05PM +0200, Davido wrote:
> Dear list,
> 
> Since today, Vim sends me a strange warning when I write a modified file :
> 
> > "scratch" 357 lines, 9418 characters written
> > 
> > Could not remove security context security.SMACK64 for 
> > /home/[...]/vim/undo/%home%[...]%scratch
> > Could not remove security context security.SMACK64EXEC for 
> > /home/[...]/vim/undo/%home%[...]%scratch
> > Could not remove security context security.SMACK64MMAP for 
> > /home/[...]/vim/undo/%home%[...]%scratch
> 
> This concept seems to be related with SELinux, which is apparently not
> activated on my boxes :

Not SELinux, SMACK.  http://en.wikipedia.org/wiki/Smack_(Linux_security_module)

> > $ ls --context /home/[...]/vim/undo/%home%[...]%scratch 
> > 
> > ? /home/david/var/quigonjinn/edit/vim/undo/%home%david%notes%scratch
> 
> (tested on two distinct computers)
> 
> So, Vim does try to remove an inexistant security context on the undofile,
> I guess. This is weird, because I’ve seen no patch related with SELinux
> recently. Any idea ?

Look closer at patch 7.4.238.

Marius Gedminas
-- 
There are only two hard things in Computer Science: cache invalidation and
naming things.
        -- Phil Karlton

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui