puppetmaster will not start after upgrade. Complaining of bad flag: Reproducible: Always Steps to Reproduce: /etc/init.d/puppetmaster start Actual Results: emartin@atlas ~ $ sudo /etc/init.d/puppetmaster restart * Caching service dependencies ... [ ok ] checkpath: option '--dir' is ambiguous Usage: checkpath [options] path1 path2 ... Options: [dDfFpm:o:ChqVv] -d, --directory Create a directory if not exists -D, --directory-truncate Create/empty directory -f, --file Create a file if not exists -F, --file-truncate Truncate file -p, --pipe Create a named pipe (FIFO) if not exists -m, --mode <arg> Mode to check -o, --owner <arg> Owner to check (user:group) -h, --help Display this help output -C, --nocolor Disable color output -V, --version Display software version -v, --verbose Run verbosely -q, --quiet Run quietly * ERROR: puppetmaster failed to start
Created attachment 303839 [details] changed --dir flag to --directory and it starts fine --dir is now --directory, so I changed it in /etc/init.d/puppetmaster and puppet starts fine
Created attachment 303841 [details, diff] patched /etc/init.d/puppetmaster --dir is now --directory. I patched the file and it starts fine
I confirm this. The bug is due to shortened option used in initialization file. openrc had only --directory option before current version so it worked fine. Current trunk added a second option (--directory-truncate) so the shortened option name became ambiguous. The attached patch works. Please push this upstream.
Fixed in cvs. thanks.