Hi
Am 11.06.2016 um 13:56 schrieb Thomas Liske:
> tags 811417 moreinfo upstream
> thanks

> which version of apt-dater did you use?
0.9.0-8 0 from debian jessie
> 
>> Severity: important
>>
>> Dear Maintainer,
>> apt-dater reports an error after each upgrade for hosts, where
>> /etc/issue.net has multiple lines, like:
>>
>> $ cat /etc/issue.net
>> ********************
>> internal system: xyz
>> ********************
>>
>> Maybe it thinks the issue.net is an error message. One line issue.net
>> files work, even if its not the standard GNU/Linux Debian x.y line.
> 
> Those lines should not trigger anything. Could you please provide an
> `ls -lha` of the host's history directory, i.e.:
> 
> - ~/.local/share/apt-dater/history/$HOSTNAME:$SSHPORT/$TIMESTAMP/
> - /var/lib/apt-dater/history/$HOSTNAME:$SSHPORT/$TIMESTAMP/
-rwxr-xr-x  1 user user   69 Mai  4 18:21 command
-rw-r--r--  1 user user    0 Mai  4 18:35 failed
-rw-r--r--  1 user user  104 Mai  4 18:35 meta
-rw-r--r--  1 user user 2,2K Mai  4 18:35 timingfile
-rw-r--r--  1 user user  55K Mai  4 18:35 typescript


> If there is a file named 'failed' than there was an error on the
> remote site (connection problem, apt-get return code indicating an
> error etc.).
> 
> If there is no file named 'failed', please provide the output of
> 
> grep -aisPe '((?<!no )error|warning|fail)' typescript
I cannot get a usable output, because it contains a "dialog" (which
services do you want to restart), making grep output mostly garbage.

Opening it with vim i see no errors and the file looks like this:

Script started on Sa 11 Jun 2016 11:37:26 CEST
***
my issue.net
***

Reading package lists... 0
[...]
Connection to hostname closed.^M^M

Script done on Sa 11 Jun 2016 11:40:11 CEST

There is no error, but after the run, apt-dater has the prompt about
ignore, see log, ... like there were an error.

Are you sure you cannot reproduce? I tested it and adding / removing an
non-empty "/etc/issue.net" clearly triggers / removes the problem here.

Alex

Reply via email to