Skip to content

testing/soju: ensure /var/lib/soju is created

Simon Ser requested to merge emersion/aports:soju-var-dir into master

Without this, soju fails to start with:

daemon.info supervise-daemon[5733]: Supervisor command line: supervise-daemon soju --start --chdir /var/lib/soju --stderr /var/log/soju.log --user soju:soju /usr/bin/soju -- -config /etc/soju/config
daemon.err /etc/init.d/soju[5736]: supervise-daemon: chdir `/var/lib/soju': No such file or directory

cc @mpolanski: I'm not sure this is the correct approach, maybe a post-install script to set the owner would be better?

Edited by Simon Ser

Merge request reports