atftpd install: cannot create directory ‘/var/log/atftpd.log’: File exists

Bug #1721528 reported by Bogdan Harjoc
10
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/atftpd.log’: File exists

I removed the /etc/default/atftp file before doing "apt remove atftpd; apt install atftpd" and the output is the same.

Revision history for this message
Bogdan Harjoc (harjoc-gmail) wrote :

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.

Revision history for this message
Bogdan Harjoc (harjoc-gmail) wrote :

Actually it's --verbose=5 not --verbose 5. The second form would use '5' as the tftp base dir.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in atftp (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.