[Nut-upsdev] [Nut-upsuser] Failed to connect to parent

Charles Lepple clepple at gmail.com
Wed Jun 13 00:35:49 UTC 2007


On 6/12/07, Arjen de Korte <nut+devel at de-korte.org> wrote:
> Roger Price wrote:
>
> >>> CMDSCRIPT /usr/sbin/upssched-cmd
> >>> PIPEFN /var/state/ups/upssched.pipe
> >>> LOCKFN /var/state/ups/upssched.lock
> >> Is /var/state/ups owned and writeable by the NUT user?
> >> Have the pipe and lock files been created?
> > That was the problem.  openSUSE uses /var/run for such run-time data, not
> > /var/state.
>
> Can't we create some autoconf magic, so that the defaults that are
> configured in the sample configuration files will match the configure
> option --with-statepath=<whatever>? In that case, merely uncommenting
> the default would be enough.

Well, there's always this comment:

# This is commented out by default to make you visit this file and think
# about how your system works before potentially opening a hole.

But I agree, we could make the default match what is passed to
configure. I'll mess with this in the trunk later.

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list