Package: apt-dater
Version: 1.0.1+git20150119-1
Severity: serious

apt-dater by default sets an empty (commented out) options file. after
adding hosts, all connections failed because the commands were like this
(transcript's command file):

    "/usr/bin/ssh" "(null)" "-l" "chrysn" "hephaistos.amsuess.com"

with typescripts like that:

    ssh: Could not resolve hostname (null): Name or service not known

after checking the lib/cmd script in the source coe and setting all the
per-host settings, it turned out that the "(null)" comes from the
$AD_SSH_OPTFLAGS variable there.

setting <ssh opt-cmd-flags="-t"/>  (or any other value) in apt-dater.xml
works around the issue, but that should really not be necessary, and
opt-cmd-flags should be initialized to "" instead of "(null)". (or,
better, to -t, depending on how essential it is, but it seems like it).


best regards
chrysn


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apt-dater depends on:
ii  libc6           2.19-13
ii  libglib2.0-0    2.42.1-1
ii  libncursesw5    5.9+20140913-1+b1
ii  libpopt0        1.16-10
ii  libtcl8.5       8.5.17-1
ii  libtinfo5       5.9+20140913-1+b1
ii  libxml2         2.9.2+dfsg1-1+b1
ii  lockfile-progs  0.1.17
ii  openssh-client  1:6.7p1-3
ii  screen          4.2.1-3

apt-dater recommends no packages.

Versions of packages apt-dater suggests:
ii  apt-dater-host  1.0.0-2
ii  xsltproc        1.1.28-2+b2

-- no debconf information

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

Attachment: signature.asc
Description: Digital signature

Reply via email to