Table of Contents

Where FOSSology installs files and where it keeps temp files can be changed during install. This page just tells you what the default locations are. If you want to see all the files on your system, to to the top of the fossology source tree and run “utils/mkfilelists”. The output is in /tmp/new-distro.

These file locations are based on the LSB see LSB Location Table put together by Matt Taggart.

/etc/fossology

FOSSology configuration files:

File Purpose
RepPath.conf Path to the fossology repository
Depth.conf Repository depth
Hosts.conf How repository is split across hosts
Proxy.conf Configure proxy
Db.conf Database connect parameters
Scheduler.conf Specify agent parameters for scheduler

/usr/local/etc/fossology

Same as /etc/fossology, but this is the default location of tarball installs.

/usr/bin

FOSSology files of use by a human.

File Purpose
cp2foss Copy files into the repository and schedule jobs to run on them
departition Get disk image information
fo_notify Notify user of job completion
fossinit Initialize FOSSology
fossjobs Queue a job (agent to run on an existing upload)
fosslic Do a license analysis on specified files

/usr/lib/fossology

FOSSology files mostly of use to other programs.

File Purpose
agents Directory containing agents
checksum Compute md5.sha1.size of a file (this is the name FOSSology uses to store files in the repository
dbcheck Verify FOSSology can open the database
dbcreate Check if the FOSSology database exists, if not, create it
fo-postinstall post install script
fossologyinit.sql SQL to create the FOSSology database
fossology-scheduler The scheduler
mkschedconf write out a Scheduler.conf file
repcat cat a file from the repository
repcopyin copy a file into the repository
repexist see if a file exists in the repository
rephost see what host a file is located on
repmmapcheck make sure mmap is working
reppath Create a path to a file in the repository
repremove Delete a file from the repository
repwrite Writes a file into the repository

/usr/local/lib/fossology

Same as /usr/lib/fossology, but this is the default location of tarball installs.

/usr/lib/

File Purpose
libfossagent.a General purpose library for agents
libfossdb.a DB library for agents
libfossrepo.a Library for accessing repository (rep functions)

/usr/share/fossology

Directory Purpose
www web document root
php pathinclude.php
agents data files for agents

/usr/local/share/fossology

Same as /usr/share/fossology if you install from source tarball.

/var/log

File Purpose
fossology.log log file, uses autorotate