[Bug 623635] Re: apt-cacher-ng init script does not work with tmpfs /var/run directory

2010-09-15 Thread Rolf Leggewie
** Changed in: apt-cacher-ng (Ubuntu)
   Importance: Undecided = Medium

** Changed in: apt-cacher-ng (Ubuntu)
   Status: New = Triaged

-- 
apt-cacher-ng init script does not work with tmpfs /var/run directory
https://bugs.launchpad.net/bugs/623635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623635] Re: apt-cacher-ng init script does not work with tmpfs /var/run directory

2010-09-15 Thread Rolf Leggewie
FWIW, I think I don't experience this problem in lucid, seems to be the
old-by-now hardy package.  The hardy package has quite a few problems.
You may want to try the lucid version which I backported to hardy.  It's
available in my stable PPA.

https://launchpad.net/~r0lf/+archive/stable

-- 
apt-cacher-ng init script does not work with tmpfs /var/run directory
https://bugs.launchpad.net/bugs/623635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623635] Re: apt-cacher-ng init script does not work with tmpfs /var/run directory

2010-09-15 Thread Rolf Leggewie
not an issue in the latest dev or stable release. opening hardy task.

** Changed in: apt-cacher-ng (Ubuntu)
   Status: Triaged = Fix Released

-- 
apt-cacher-ng init script does not work with tmpfs /var/run directory
https://bugs.launchpad.net/bugs/623635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623635] Re: apt-cacher-ng init script does not work with tmpfs /var/run directory

2010-09-15 Thread Rolf Leggewie
Geeksmith, the change you propose does not look proper to me.  If
$RUNDIR isn't yet available, then calling install -d --mode=0755 -o
$NAME -g $NAME $RUNDIR || return 1 which is the next line after the
one you patched isn't likely to work reliably as intended.

-- 
apt-cacher-ng init script does not work with tmpfs /var/run directory
https://bugs.launchpad.net/bugs/623635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623635] Re: apt-cacher-ng init script does not work with tmpfs /var/run directory

2010-09-15 Thread GeekSmith
You're correct...I noticed that my fix didn't work after my last reboot,
but not for the reason you specified.  The original version of the
script removes the directory unconditionally.  The -d argument to the
install command causes the directory to be created, so the directory's
absence is not an issue.

Rather than use the short conditional, I used a full conditional and it
seems to work.

   if [ -d $RUNDIR ]; then
  rm -rf $RUNDIR || return 1
   fi

-- 
apt-cacher-ng init script does not work with tmpfs /var/run directory
https://bugs.launchpad.net/bugs/623635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623635] Re: apt-cacher-ng init script does not work with tmpfs /var/run directory

2010-08-24 Thread GeekSmith

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/623635/+attachment/1516645/+files/Dependencies.txt

-- 
apt-cacher-ng init script does not work with tmpfs /var/run directory
https://bugs.launchpad.net/bugs/623635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs