Re: [Bug 223932] [NEW] permissions issue with nut init script

2008-04-29 Thread Dustin Kirkland
*** This bug is a duplicate of bug 222761 ***
https://bugs.launchpad.net/bugs/222761

On Mon, Apr 28, 2008 at 9:28 PM, Al Grimstad <[EMAIL PROTECTED]> wrote:
>  Yes, indeed! The bug report you cite has a better work around too.

I'm pretty sure Chuck has a fix in the works.  It should be rolled out
as an update to hardy at some point.

:-Dustin

-- 
permissions issue with nut init script
https://bugs.launchpad.net/bugs/223932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.

-- 
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


Re: [Bug 223932] [NEW] permissions issue with nut init script

2008-04-28 Thread Al Grimstad
*** This bug is a duplicate of bug 222761 ***
https://bugs.launchpad.net/bugs/222761

On Tue, 2008-04-29 at 00:58 +, Dustin Kirkland wrote:
> *** This bug is a duplicate of bug 222761 ***
> https://bugs.launchpad.net/bugs/222761
> 
> Hi-
> 
> Is this perhaps a duplicate of Bug #222761?
> 
> :-Dustin

Yes, indeed! The bug report you cite has a better work around too.

I wonder. Was the code configured with the option "with-group=nut"?
-- al

-- 
permissions issue with nut init script
https://bugs.launchpad.net/bugs/223932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.

-- 
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


Re: [Bug 223932] [NEW] permissions issue with nut init script

2008-04-28 Thread Dustin Kirkland
*** This bug is a duplicate of bug 222761 ***
https://bugs.launchpad.net/bugs/222761

Hi-

Is this perhaps a duplicate of Bug #222761?

:-Dustin

-- 
permissions issue with nut init script
https://bugs.launchpad.net/bugs/223932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.

-- 
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


[Bug 223932] [NEW] permissions issue with nut init script

2008-04-28 Thread Al Grimstad
Public bug reported:

Binary package hint: nut

I choose to run the nut daemons as the user "nut". For reasons I don't
understand, the ubuntu 8.04 version of nut (2.2.1-2.1ubuntu7) isn't
happy with the ownership-permissions of /var/run/nut (770 root.nut) and
fails, i.e., upsdrvctl fails because it can't change to this directory.

I've found two work-arounds. One is to run the nut daemons as root. I
don't want to do this.

The second work-around is to change the ownership of /var/run/nut to
nut.nut. Again for reasons I don't fully understand, but suppose to be
related to the dynamic creation of /var/run at boot, this change doesn't
survive a re-boot.

The way I fixed this problem is to hack /etc/init.d/nut changing this
line:

&& chown root:nut ${pid_dir} \
to
&& chown nut:nut ${pid_dir} \

A better hack would keep this consistent with values in
/etc/default/nut.

Fundamentally, though, I suspect this is some kind of build error. I run
nut on debian etch systems and haven't seen this problem.

** Affects: nut (Ubuntu)
 Importance: Undecided
 Status: New

-- 
permissions issue with nut init script
https://bugs.launchpad.net/bugs/223932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.

-- 
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