Roger,
Well, I tried the same script method with openSUSE 13.2, and it still did not
execute.
So I tried the system method, and it worked 1 time out of 3 attempts. I
captured the last failure:
2015-09-04T11:43:38.825317-04:00 linux-5048 upsdrvctl[1887]: Can't claim USB
device [2a37:5110]: No such file or directory
2015-09-04T11:43:38.825970-04:00 linux-5048 upsdrvctl[1887]: Network UPS Tools -
Generic HID driver 0.39 (2.7.2.6_RTD)
2015-09-04T11:43:38.826243-04:00 linux-5048 upsdrvctl[1887]: USB communication
driver 0.32
2015-09-04T11:43:38.826934-04:00 linux-5048 upsdrvctl[1887]: Driver failed to
start (exit status=1)
2015-09-04T11:43:38.827185-04:00 linux-5048 upsdrvctl[1887]: Network UPS Tools -
UPS driver controller 2.7.2.6_RTD
Is it possible the USB bus is going away before that can execute?
Rob Groner
Software Engineer Level II
RTD Embedded Technologies, Inc.
ISO 9001 and AS9100 Certified
Ph: +1 814-234-8087
www.rtd.com
-----Original Message-----
From: Nut-upsuser [mailto:nut-upsuser-bounces+rgroner=rtd.com at
lists.alioth.debian.org] On Behalf Of Roger Price
Sent: Friday, September 04, 2015 10:31 AM
To: nut-upsuser Mailing List <nut-upsuser at lists.alioth.debian.org>
Subject: Re: [Nut-upsuser] UPS/NUT with openSUSE 13.1
Hello Bob,
> I had preferred the shutdown script method because it was a little
> more straight-forward, and possibly more portable. This guide is
> meant to help people get the UPS up and running, whatever their Linux
> distro. I don't know how common the systemd implementation is across
> various Linux distros.
You will need to support Linux systems with and without systemd for some time.
For example SUSE Linux Enterprise Desktop 11 which does not use systemd will be
supported until 31 Mar 2019 and SUSE Linux Enterprise Server 11 will be
supported until 31 Mar 2022.
https://www.suse.com/lifecycle/
> I assume that to undo the systemd service unit method, I do something
> like "systemctl --system disable /etc/syst......"?
Yes. That will remove the soft link.
Best Regards, Roger
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser