1
0
Fork
You've already forked FirejailEtcGenerator
0
No description
  • Java 100%
Find a file
2019年06月01日 16:37:33 -04:00
gathered Add more gathered files 2019年06月01日 16:37:33 -04:00
src Various fixes 2018年08月30日 12:33:56 -04:00
.classpath Add more gathered files 2019年06月01日 16:37:33 -04:00
.gitignore Add more gathered files 2019年06月01日 16:37:33 -04:00
.project Add more gathered files 2019年06月01日 16:37:33 -04:00
FirejailEtcGenerator.eml Add more gathered files 2019年06月01日 16:37:33 -04:00
LICENSE Add EtcGatherer program 2018年08月29日 20:33:40 -04:00
README.md Update README.md 2018年08月29日 23:39:24 -04:00

FirejailEtcGenerator

This is a set of two utilities created in order to automatically generate 'private-etc' lines for Firejail profiles. It was created for https://github.com/netblue30/firejail/pull/2093 and is meant to solve https://github.com/netblue30/firejail/issues/1734

EtcGatherer

This utility gathers what files in /etc a program may need using various methods. The programs output is kept simple to allow for easy merging, deduplication is handled elsewhere.

Currently supported methods are:

  • strings $program
  • apt-file list $program
  • cat /var/lib/dpkg/info/$program.conffiles
  • pacman -Ql $program
  • rpm -ql $program

PrivateEtcGenerator

This utility actually "analyzes" profiles and combines various sources to generate a 'private-etc' line. It then rewrites the profile with the new line in place.

TODO:

  • Improve GNOME/GTK/Qt/KDE handling
  • Improve GUI determination
  • Improve placement in certain cases (missing private-* lines)

PrivateEtcGeneratorOld

This is the original program. It is very messy and doesn't support parsing data from EtcGatherer.