Bug ID 1065388
Summary apparmor is breaking tool file in lessopen.sh
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware All
OS openSUSE Factory
Status NEW
Severity Major
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter werner@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Tracing lessopen.sh with

  export LESS_ADVANCED_PREPROCESSOR=yes

shows

  [...]
  ++ file -L ./less.1
  + type='./less.1: writable, regular file, no read permission'

but it should be

  noether less/less-487> file -L ./less.1
  ./less.1: troff or preprocessor input, ASCII text

in /etc/apparmor.d/usr.bin.lessopen.sh I found

    /usr/bin/file rix,

but no rule for /usr/bin/file its self!

All tools listed in /etc/apparmor.d/usr.bin.lessopen.sh should be able to
read files as otherwise nothings goes.


You are receiving this mail because: