/usr/share/doc/defoma-doc/defoma-policy.txt is in defoma-doc 0.11.12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Just a draft.
o Defoma-configuration script must use /var/lib/defoma/<package>.d for
the result of configuration, and must not create or modify any file
that does not exist under /var/lib/defoma/<package>.d.
o Symbolic link to a directory must not exist under
/var/lib/defoma/<package>.d. Symbolic link to a file may exist.
o File or Symbolic link must not exist under /var/lib/defoma/<package>.d
statically. It means every file and every symbolic link to a file must be
ones generated by Defoma-confugration script. If the script wants to refer
a file for configuration, it must be put except under /var/lib/defoma.
o Directory may exist under /var/lib/defoma/<package>.d statically.
o The script must guarantee reconfiguration succeeds when all files and
symbolic links under /var/lib/defoma/<package>.d are removed.
It can possibly be realized if the rules above are observed.
|