atftpd install: cannot create directory ‘/var/log/atftpd.log’: File exists
Bug #1721528 reported by
Bogdan Harjoc
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
atftp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Just upgraded from 16.04 to 17.10 beta 2 and during the upgrade, atftpd fails the dpkg --configure step:
Setting up atftpd (0.7.git20120829-3) ...
mkdir: cannot create directory ‘/var/log/
I removed the /etc/default/atftp file before doing "apt remove atftpd; apt install atftpd" and the output is the same.
To post a comment you must log in.
Changing the OPTIONS line in /etc/default/atftpd from:
OPTIONS= "--tftpd- timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose 5 /tftpboot --logfile /var/log/ atftpd. log"
to:
OPTIONS= "--tftpd- timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose 5 --logfile /var/log/atftpd.log /tftpboot"
fixed the 'dpkg --configure atftpd' error.