トップ «前の日記(2004-11-01) 最新 次の日記(2004-11-03)» 編集 RDF

雄也の?日坊主日記


2004-11-02

_ [管理] Sarge へのアップグレード

kusanagi.j96.org を Woody から Sarge へアップグレードした. apt-line を woody から sarge に変えてから,

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

で問題なくアップグレードできた.所要時間はざっと 30 分ほどだった.

ちょっと迷いそうだったところを記載しておこう.

Preparing to replace libc6 2.2.5-11.5 (using .../libc6_2.3.2.ds1-18_i386.deb) ...

Name Service Switch has changed in the C Library: pre-installation question.

Running programs may not be able to do NSS lookups until they are restarted.
Some services can not accept all authentication after extracting glibc
package into your system.  This script automatically restarts some packages
for example ssh or telnetd, but other packages for example xdm
cannot restart because if it restarts automatically, then your X11 session
is disconnected.  So you have to logout and stop xdm; you have to
restart all such services after upgrading glibc with your hands.
Known packages that are needed to stop before installing glibc 2.3:
        xdm kdm gdm postgresql xscreensaver

This script does not detect services which need to stop.
If you want to stop upgrade for the present, please answer the below
question as No.

Do you want to upgrade glibc? [Y/n] y

...

Setting up libc6 (2.3.2.ds1-18) ...
Checking for services that may need to be restarted...done.

Name Service Switch has changed in the C Library: post-installation question.
Running programs may not be able to do NSS lookups until they are
restarted (for services such as ssh, this can affect your ability to
login).
Note: restarting sshd/telnetd should not affect any existing connections.

The services detected are: inetd apache postfix cron ssh

If other services begin to fail mysteriously after this upgrade,
it may be necessary to restart them too.  We strongly recommend
you to reboot your machine to avoid the NSS related trouble.

Do you wish to Restart Services? [Y/n] y

Restarting services possibly affected by the upgrade:
  inetd: stopping...starting...done.
  apache: stopping...starting...done.
  postfix: stopping...starting...done.
  cron: stopping...starting...done.
  ssh: stopping...starting...done.

Services restarted successfully.

...

Setting up base-passwd (3.5.7) ...

update-passwd has found some differences between your system accounts
and the current Debian defaults. It is advisable to allow update-passwd
to change your system; without those changes some packages might not work
correctly.  For more documentation on the Debian account policies please
see /usr/share/doc/base-passwd/README.

The list of proposed changes is:

Adding group "man" (12)
Adding group "sasl" (45)
Changing gid of sync from 100 (users) to 65534 (nogroup)
Changing gid of games from 100 (users) to 60 (games)
Changing gid of man from 100 (users) to 12 (man)
Changing GECOS of list from "SmartList" to "Mailing List Manager".
Changing home-directory of irc from /var to /var/run/ircd
Changing home-directory of nobody from /home to /nonexistent
Would commit 8 changes

It is highly recommended that you allow update-passwd to make these changes
(a backup file of modified files is made with the extension .org so you can
always restore the current settings).

May I update your system? [Y/n] y

_ [管理] Ruby 周り

tDiary を動かすために /usr/local/lib/site_ruby/1.8/ 周りが ごちゃごちゃしていたので,Ruby 1.8 用の deb パッケージを入れて整理した. うーん,すっきり,すっきり.

_ [管理] Postfix の移行

1.1.11-0.woody3 から 2.1.4-5 になった後で, transport_maps のアドレスに送信すると,

Nov  2 22:31:59 kusanagi postfix/smtpd[2536]: connect from kusanagi[127.0.0.1]
Nov  2 22:31:59 kusanagi postfix/smtpd[2536]: NOQUEUE: reject: RCPT from kusanagi[127.0.0.1]: 550 <abcdef at ml.j96.org>: Recipient address rejected: User unknown in local recipient table; from=<yuyaAT@ATj96.org> to=<abcdef at ml.j96.org> proto=ESMTP helo=<localhost>
Nov  2 22:31:59 kusanagi postfix/smtpd[2536]: lost connection after RCPT from kusanagi[127.0.0.1]
Nov  2 22:31:59 kusanagi postfix/smtpd[2536]: disconnect from kusanagi[127.0.0.1]

のように 550 拒否されてしまった.

Web を参考にして /etc/postfix/main.cf に

local_recipient_maps = 
fallback_transport = 

を追加することで送れるようになった.

参考


2004|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|
2006|05|
2007|04|05|09|10|11|
2008|04|05|08|10|11|
2009|02|03|04|05|06|07|08|09|10|11|
2010|02|03|04|07|10|
2011|04|08|
2012|02|10|
2014|05|06|08|
2018|03|
楽天で探す
楽天市場
キーワードから探す
楽天トラベル