Skip to content
  • intrigeri's avatar
    AppArmor: support sysvinit systems. · 72d385fb
    intrigeri authored
    With systemd (at least on current Debian sid), /run/shm is a symlink to
    /dev/shm, so "owner /dev/shm/org.chromium.* rw," is enough. With sysvinit,
    apparently things are set up differently (perhaps the symlinks are in the
    opposite direction?) so Firefox tries to access /run/shm/org.chromium.*,
    which was rejected.
    
    Let's support both!
    
    Thanks to gregor herrmann <gregoa@debian.org> for the bug report:
    https://bugs.debian.org/874383
    
    Note that this problem happens with pristine 0.2.8 profiles,
    without the changes brought by my apparmor-e10s branch.
    72d385fb
Loading