Date: Sat, 14 Nov 2020 23:08:47 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251144] net/routinator: inconsistent tal-dir suggestions in sample config vs rc script Message-ID: <bug-251144-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251144 Bug ID: 251144 Summary: net/routinator: inconsistent tal-dir suggestions in sample config vs rc script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: cm@appliedprivacy.net CC: jaap@NLnetLabs.nl CC: jaap@NLnetLabs.nl Flags: maintainer-feedback?(jaap@NLnetLabs.nl) The content in: /usr/local/etc/routinator/routinator.conf.system-service suggests that the tal directory should go to: tal-dir =3D "/var/lib/routinator/tals" but after renaming=20 /usr/local/etc/routinator/routinator.conf.system-service to /usr/local/etc/routinator/routinator.conf and preparing the tals directory, routinator refuses to start with the following message: Need to initialize routinator with tals, see man routinator This is because the rc.d script ignores what the config says and checks ano= ther directory: /var/routinator/tals [...] : ${wrkdir:=3D"/var/routinator"} pidfile=3D${wrkdir}/${name}.pid routinator_config=3D${routinator_conf:-"/usr/local/etc/routinator/routinato= r.conf"} required_file=3D${routinator_config} command_args=3D"-c ${routinator_config} --rsync-command=3D/usr/local/bin/rs= ync server -d --user routinator --group routinator --pid-file=3D${pidfile} --working-dir=3D${wrkdir}" check_init() { if [ ! -d ${wrkdir}/tals ]; then echo echo -n "Need to initialize routinator with tals, " echo "see man routinator" echo exit 1 fi } So I suggest to change the sample config paths for consistency: repository-dir =3D "/var/routinator/rpki-cache" tal-dir =3D "/var/routinator/tals" --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251144-7788>