Comment 1 for bug 1451002

Revision history for this message
Gert van Dijk (gertvdijk) wrote :

I discovered that apt-dater is completely broken in the current state. Even with a valid XML host configuration file as generated, e.g.

<hosts>
  <group name="Localnet">
    <host name="localhost" comment="Edit ~/.config/apt-dater/hosts.xml!"/>
  </group>
</hosts>

It will not be able to use that host:

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

Also when adding hosts with their FQDN:

  <group name="test servers">
    <host name="srv1.test.domain.tld" />
  </group>

Script started, file is /home/gert/.local/share/apt-dater/history/srv1.test.domain.tld:0/1430677527-19897/typescript
ssh: Could not resolve hostname (null): Name or service not known

also when manually overriding the ssh hostname with ssh-host="srv1.test.domain.tld", it doesn't work still with the same error message.

The only viable option I see is downgrading apt-dater to 1.0.1 stable or 0.9.0.