[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#702061: debian-installer: rdate fails without -o



Package: debian-installer
Version: 20130211

(I hope the version is correct - I don't know how to find it from the
installer. I used the wheezy RC1 installer from:
  http://cdimage.debian.org/cdimage/wheezy_di_rc1/i386/iso-cd/debian-wheezy-DI-rc1-i386-netinst.iso
)

The installer (at least the netinst image) contains /usr/bin/rdate, but
trying to use it from the installer shell gives an error:

~ # rdate 1.2.3.4
rdate: 1.2.3.4: Servname not supported for ai_socktype

This is presumably because there is no /etc/services file in the
installer. Running:

~ # echo 'time 37/tcp' >/etc/services

makes rdate work (then it tries to connect to 1.2.3.4 TCP port 37).

Also, specifying the port manually with "rdate -o 37 1.2.3.4" works.

So this bug could be fixed by adding such a dummy /etc/services (or the
real one).


Reply to: