Public bug reported: I changed the user the nagios runs under and could not get the services to start; so after looking around I found that the init script was chowning /var/run/nagios3 directory.
/etc/init.d/nagios3 start () { DIRECTORY=$(dirname $THEPIDFILE) [ ! -d $DIRECTORY ] && mkdir -p $DIRECTORY chown nagios:nagios $DIRECTORY Change: /etc/init.d/nagios3 start () { DIRECTORY=$(dirname $THEPIDFILE) [ ! -d $DIRECTORY ] && mkdir -p $DIRECTORY chown "$(get_config nagios_user)":"$(get_config nagios_group)" $DIRECTORY ** Affects: nagios3 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/929848 Title: init script has hard coded chown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/929848/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs