S6-ACCESSRULES-FS-FROM-CDB(8)

NAME
s6-accessrules-fs-from-cdb - decompile a CDB[1] database containing a ruleset suitable for s6-ipcserver-access(8) or s6-tcpserver-access(8) and that has been compiled with s6-accessrules-cdb-from-fs(8)

SYNOPSIS
s6-accessrules-fs-from-cdb dir cdbfile

DESCRIPTION
s6-accessrules-fs-from-cdb decompiles the CDB[1] file cdbfile into the directory dir, then exits 0.

dir must not exist prior to the decompilation.

dir must be considered a work in progress as long as s6-accessrules-fs-from-cdb is running. It is only safe to use dir as a ruleset once the program has exited.

If s6-accessrules-fs-from-cdb fails at some point, the partial arborescence at dir is removed. However, this doesn't happen if s6-accessrules-fs-from-cdb is interrupted by a signal.

After the program successfully completes, if cdbfile was a suitable candidate for the -x option of s6-ipcserver-access(8) or s6-tcpserver-access(8), then dir will be a suitable candidate for the -i option of the same program, implementing the same ruleset.

SEE ALSO
s6-accessrules-cdb-from-fs(8), s6-connlimit(8), s6-ioconnect(8), s6-ipcclient(8), s6-ipcserver(8), s6-ipcserver-access(8), s6-ipcserver-socketbinder(8), s6-ipcserverd(8), s6-tcpserver-access(8)

[1] https://en.wikipedia.org/wiki/Cdb_(software)

This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-accessrules-fs-from-cdb.html

AUTHORS
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)