[Bug 1283274] [NEW] Bogus configuration file prompt on upgrade to trusty

James Troup james.troup at canonical.com
Fri Feb 21 22:26:40 UTC 2014


Public bug reported:

While upgrading from saucy to trusty, I get asked about modifications
to a configuration file I know I haven't modified:

| Setting up ifupdown (0.7.47.2ubuntu1) ...
| 
| Configuration file '/etc/init.d/networking'
|  ==> Modified (by you or by a script) since installation.
|  ==> Package distributor has shipped an updated version.
|    What would you like to do about it ?  Your options are:
|     Y or I  : install the package maintainer's version
|     N or O  : keep your currently-installed version
|       D     : show the differences between the versions
|       Z     : start a shell to examine the situation
|  The default action is to keep your current version.
| *** networking (Y/I/N/O/D/Z) [default=N] ? d
| --- /etc/init.d/networking      2013-08-26 22:19:11.000000000 +0000
| +++ /etc/init.d/networking.dpkg-new     2013-11-14 21:19:15.000000000 +0000
| @@ -12,6 +12,7 @@
|  PATH="/sbin:/bin"
|  RUN_DIR="/run/network"
|  IFSTATE="$RUN_DIR/ifstate"
| +STATEDIR="$RUN_DIR/state"
| 
|  [ -x /sbin/ifup ] || exit 0
|  [ -x /sbin/ifdown ] || exit 0
| @@ -55,6 +56,9 @@
|             log_failure_msg "can't create $RUN_DIR"
|             exit 1
|         fi
| +       if ! chown root:netdev "$RUN_DIR" ; then
| +           log_warning_msg "can't chown $RUN_DIR"
| +       fi
|      fi
|      if [ ! -r "$IFSTATE" ] ; then
|         if ! :> "$IFSTATE" ; then
| @@ -163,7 +167,7 @@
|         process_options
| 
|         log_action_begin_msg "Reloading network interfaces configuration"
| -       state=$(cat /run/network/ifstate)
| +       state=$(ifquery --state)
|         ifdown -a --exclude=lo $verbose || true
|         if ifup --exclude=lo $state $verbose ; then
|             log_action_end_msg $?
|

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1283274

Title:
  Bogus configuration file prompt on upgrade to trusty

Status in “ifupdown” package in Ubuntu:
  New

Bug description:
  While upgrading from saucy to trusty, I get asked about modifications
  to a configuration file I know I haven't modified:

  | Setting up ifupdown (0.7.47.2ubuntu1) ...
  | 
  | Configuration file '/etc/init.d/networking'
  |  ==> Modified (by you or by a script) since installation.
  |  ==> Package distributor has shipped an updated version.
  |    What would you like to do about it ?  Your options are:
  |     Y or I  : install the package maintainer's version
  |     N or O  : keep your currently-installed version
  |       D     : show the differences between the versions
  |       Z     : start a shell to examine the situation
  |  The default action is to keep your current version.
  | *** networking (Y/I/N/O/D/Z) [default=N] ? d
  | --- /etc/init.d/networking      2013-08-26 22:19:11.000000000 +0000
  | +++ /etc/init.d/networking.dpkg-new     2013-11-14 21:19:15.000000000 +0000
  | @@ -12,6 +12,7 @@
  |  PATH="/sbin:/bin"
  |  RUN_DIR="/run/network"
  |  IFSTATE="$RUN_DIR/ifstate"
  | +STATEDIR="$RUN_DIR/state"
  | 
  |  [ -x /sbin/ifup ] || exit 0
  |  [ -x /sbin/ifdown ] || exit 0
  | @@ -55,6 +56,9 @@
  |             log_failure_msg "can't create $RUN_DIR"
  |             exit 1
  |         fi
  | +       if ! chown root:netdev "$RUN_DIR" ; then
  | +           log_warning_msg "can't chown $RUN_DIR"
  | +       fi
  |      fi
  |      if [ ! -r "$IFSTATE" ] ; then
  |         if ! :> "$IFSTATE" ; then
  | @@ -163,7 +167,7 @@
  |         process_options
  | 
  |         log_action_begin_msg "Reloading network interfaces configuration"
  | -       state=$(cat /run/network/ifstate)
  | +       state=$(ifquery --state)
  |         ifdown -a --exclude=lo $verbose || true
  |         if ifup --exclude=lo $state $verbose ; then
  |             log_action_end_msg $?
  |

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1283274/+subscriptions



More information about the foundations-bugs mailing list