Your message dated Fri, 24 Aug 2012 09:26:12 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#685742: network-manager: Add 
ability to disable network-manager to init script
has caused the Debian Bug report #685742,
regarding network-manager: Add ability to disable network-manager to init script
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.)


-- 
685742: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685742
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: network-manager
Version: 0.9.5.95-1
Severity: wishlist
Tags: patch

Dear Maintainer,

Unfortunately network-manager is required by gnome to be installed at the 
moment.
I am asking the Debian Gnome team if this can be fixed, but it might also
be nice to be able to disable network manager for systems which
are configured in different ways.

Please see my init file patch below

--- network-manager.init        2012-05-29 03:30:24.000000000 -0700
+++ /etc/init.d/network-manager 2012-08-23 23:48:04.000000000 -0700
@@ -27,7 +27,7 @@
 
 . /lib/lsb/init-functions
 
-test -f /etc/default/NetworkManager && . /etc/default/NetworkManager
+test -f /etc/default/network-manager && . /etc/default/network-manager
 
 #
 #      Function that starts the daemon/service.
@@ -48,6 +48,10 @@
 
 case "$1" in
   start)
+       if [ ! -z "$DISABLE" -a "$DISABLE" != 'false' ]; then
+               echo "$NAME disabled, not starting"
+               exit 0
+       fi
        log_daemon_msg "Starting $DESC" "$NAME"
        d_start
        case "$?" in


/etc/default/network-manager can contain the following:
chiestand@sagan:/etc/default$ cat network-manager 
#
#Settings for network-manager

#Uncomment to disable at startup
#DISABLE="true"

Thanks


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (350, 'testing-proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.6.0-1
ii  dpkg                   1.16.8
ii  isc-dhcp-client        4.2.2.dfsg.1-5
ii  libc6                  2.13-35
ii  libdbus-1-3            1.6.0-1
ii  libdbus-glib-1-2       0.100-1
ii  libgcrypt11            1.5.0-3
ii  libglib2.0-0           2.32.3-1
ii  libgnutls26            2.12.20-1
ii  libgudev-1.0-0         175-3.1
ii  libnl-3-200            3.2.7-4
ii  libnl-genl-3-200       3.2.7-4
ii  libnl-route-3-200      3.2.7-4
ii  libnm-glib4            0.9.5.95-1
ii  libnm-util2            0.9.5.95-1
ii  libpolkit-gobject-1-0  0.105-1
ii  libuuid1               2.20.1-5.1
ii  lsb-base               4.1+Debian7
ii  udev                   175-3.1
ii  wpasupplicant          1.0-2

Versions of packages network-manager recommends:
ii  crda          1.1.2-1
ii  dnsmasq-base  2.62-3
ii  iptables      1.4.14-3
pn  modemmanager  <none>
ii  policykit-1   0.105-1
ii  ppp           2.4.5-5.1+b1

Versions of packages network-manager suggests:
pn  avahi-autoipd  <none>

-- Configuration Files:
/etc/init.d/network-manager changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

On 24.08.2012 08:56, Chris Hiestand wrote:
> Package: network-manager
> Version: 0.9.5.95-1
> Severity: wishlist
> Tags: patch
> 
> Dear Maintainer,
> 
> Unfortunately network-manager is required by gnome to be installed at the 
> moment.
> I am asking the Debian Gnome team if this can be fixed, but it might also
> be nice to be able to disable network manager for systems which
> are configured in different ways.
> 
> Please see my init file patch below

Such ENABLE/DISABLE flags are bogus, so I'm not going to add such a patch.
Please use the interface that made for disabling sysv init services:
"update-rc.d network-manager disable"

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to