+       # Replace previous dual-stack syntax
+       # that fails to work if NIC is not available
+       # (LP: #1342580)
+       if [ "${TFTP_ADDRESS}" = "[::]:69" ]; then 
+               TFTP_ADDRESS=":69"
        fi

Please include a version guard in this, so that if the user insists on
setting the address to [::]:69, we aren't constantly rewriting it.
Compare the block of code immediately above:

        # Move from IPv4-only to dual-stack
        if [ "${TFTP_ADDRESS}" = "0.0.0.0:69" ] && \
         dpkg --compare-versions $2 lt 5.2-7ubuntu3; then
[...]

The change is ok other than that, but a version check should be included
as part of this SRU.

Rejecting the current upload; please reupload with the version check.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1342580

Title:
  tftpd-hpa doesn't start on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1342580/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to