Atualmente estou atualizando meu all-new Linode server executando Debian 6 (Squeeze) para 7 (Wheezy) desta forma:
-
Atualizando o sistema atual:
sudo apt-get update && sudo apt-get upgrade
-
Substitua todas as ocorrências de 'squeeze' por 'wheezy' no arquivo /etc/apt/sources.list
-
Execução do processo de atualização:
sudo apt-get update && sudo apt-get dist-upgrade
Acontece que depois de emitir o último comando (como em # 3), durante o processo de atualização, me perguntam duas e apenas duas perguntas:
(1)
Configuration file '/etc/default/rcS'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
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.
*** rcS (Y/I/N/O/D/Z) [default=N] ?
UPDATE: Este é o diff de /etc/default/rcS
:
--- /etc/default/rcS 2011-11-25 23:11:55.000000000 +0000
+++ /etc/default/rcS.dpkg-new 2012-08-31 20:14:04.000000000 +0000
@@ -7,11 +7,18 @@
#
# This file belongs to the "initscripts" package.
-TMPTIME=0
-SULOGIN=no
-DELAYLOGIN=yes
-UTC=yes
-VERBOSE=no
-FSCKFIX=no
-RAMRUN=no
-RAMLOCK=no
+# delete files in /tmp during boot older than x days.
+# '0' means always, -1 or 'infinite' disables the feature
+#TMPTIME=0
+
+# spawn sulogin during boot, continue normal boot if not used in 30 seconds
+#SULOGIN=no
+
+# do not allow users to log in until the boot has completed
+#DELAYLOGIN=no
+
+# be more verbose during the boot process
+#VERBOSE=no
+
+# automatically repair filesystems with inconsistencies during boot
+#FSCKFIX=no
(2)
Configuration file '/etc/dhcp/dhclient.conf'
==> 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.
*** dhclient.conf (Y/I/N/O/D/Z) [default=N] ?
UPDATE: Este é o diff de /etc/dhcp/dhclient.conf
:
--- /etc/dhcp/dhclient.conf 2011-11-25 14:38:21.000000000 +0000
+++ /etc/dhcp/dhclient.conf.dpkg-new 2012-09-14 03:24:53.000000000 +0000
@@ -14,6 +14,7 @@
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
#send host-name "andare.fugue.com";
+send host-name = gethostname();
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
@@ -21,10 +22,8 @@
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
- rfc3442-classless-static-routes, ntp-servers,
- dhcp6.domain-search, dhcp6.fqdn,
- dhcp6.name-servers, dhcp6.sntp-servers;
-require subnet-mask, domain-name-servers, host-name;
+ rfc3442-classless-static-routes, ntp-servers;
+#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
Então, qual deve ter sido minha resposta em cada caso? Y ou N
OBSERVAÇÃO: Lembre-se de que é uma nova máquina virtual e que estou atualizando para o Wheezy logo após configurar o nome do host e o FQDN.