Your message dated Wed, 24 Sep 2008 10:03:47 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing, rejected
has caused the Debian Bug report #461731,
regarding a small Perl script to set offlinemode option on and off
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
461731: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461731
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 0.1.9-1
Severity: wishlist

--- Please enter the report below this line. ---
Just in case someone is interested into, I post this little Perl script
I wrote to set on or off the offlinemode option and automatically
restart the server. It could be distributed in the
doc/apt-cacher-ng/examples/ dir, if you think it is useful.

Thank you for your great job,
Giovanni.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-3-686

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.it.debian.org 
  500 testing         security.debian.org 
  500 testing         ftp.it.debian.org 
  500 stable          wine.budgetdedicated.com 
  500 stable          ftp.it.debian.org 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-======================
adduser                              | 3.105
libbz2-1.0                           | 1.0.4-2
libc6                     (>= 2.7-1) | 2.7-6
libfuse2                    (>= 2.6) | 2.7.2-1
libgcc1                 (>= 1:4.2.1) | 1:4.3-20080116-1
libstdc++6                (>= 4.2.1) | 4.3-20080116-1
zlib1g         (>= 1:1.2.3.3.dfsg-1) | 1:1.2.3.3.dfsg-9
-- 
Giovanni Mascellani <[EMAIL PROTECTED]>
Pisa, Italy

Web: http://giomasce.altervista.org
SIP: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED] / [EMAIL PROTECTED]
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD  003F FCB0 BB5C 5F1F BF70)

Attachment: set_offline.pl
Description: Perl program

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Sorry,

after some consideration I decided not to include your script. Reason:
that's a specific solution for your needs but it could be developed
quickly and with less code by any good administrator, becoming more
comfortable. And I don't like rewriting files in /etc all the time when
there are easier and non-persistent solutions to change settings.

I would "solve" this problem by adding a 

if test "$M"; then DAEMON_OPTS="$DAEMON_OPTS offlinemode=$M" ; fi

to /etc/default/apt-cacher-ng and then call it with:

M=1 /etc/init.d/apt-cacher-ng restart
M=0 /etc/init.d/apt-cacher-ng restart

Or put those too calls into two shell scripts.

Regards,
Eduard.

-- 
Man muss bedenken, dass unter den Menschen gar viele sind, die 
doch auch etwas Bedeutendes sagen wollen, ohne produktiv zu sein, und 
da kommen die wunderlichsten Dinge an den Tag.
                -- Goethe, Maximen und Reflektionen, Nr. 60


--- End Message ---

Reply via email to