Hi Nish,

Thanks.  I was able to finally figure out to change TFTP_OPTIONS in
/etc/default/tftpd-hpa to include --ipv4 and startup worked.  With this
experience I would have preferred for ipv6 to be turned off by default.
And provide commented TCP_OPTIONS in the config file on how to turn on
ipv6.  Or if it's better to have ipv6 turned on by default, then provide
some commented info how to setup ipv4 only.

-Eli


On Tue, Mar 28, 2017 at 4:35 PM Nish Aravamudan <
nish.aravamu...@canonical.com> wrote:

> @Eli,
>
> Ah ok, yes, disabling IPv6 probably breaks some default configuration
> stuff -- maybe similar to
> https://bbs.archlinux.org/viewtopic.php?id=128725. I'm guessing you
> could disable ipv6 again and just properly configure tftpd-hpa.
>
> Marking as invalid.
>
> ** Changed in: tftp-hpa (Ubuntu)
>        Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1676122
>
> Title:
>   package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade:
>   subprocess installed post-installation script returned error exit
>   status 1
>
> Status in tftp-hpa package in Ubuntu:
>   Invalid
>
> Bug description:
>   I just installed and below is the output...
>
>   $ apt-cache search tftpd
>   tftpd-hpa - HPA's tftp server
>   atftpd - advanced TFTP server
>   libnet-tftpd-perl - Perl extension for Trivial File Transfer Protocol
> Server
>   tftpd - Trivial file transfer protocol server
>   uec-provisioning-tftpd - the UEC Provisioning TFTP server
>   [h2o@black:~]
>   $ sudo apt-get install tftpd-hpa
>   Reading package lists... Done
>   Building dependency tree
>   Reading state information... Done
>   Suggested packages:
>     pxelinux
>   The following NEW packages will be installed:
>     tftpd-hpa
>   0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
>   Need to get 39.0 kB of archives.
>   After this operation, 115 kB of additional disk space will be used.
>   Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 tftpd-hpa
> amd64 5.2+20150808-1ubuntu1 [39.0 kB]
>   Fetched 39.0 kB in 0s (119 kB/s)
>   Preconfiguring packages ...
>   Selecting previously unselected package tftpd-hpa.
>   (Reading database ... 269081 files and directories currently installed.)
>   Preparing to unpack .../tftpd-hpa_5.2+20150808-1ubuntu1_amd64.deb ...
>   Unpacking tftpd-hpa (5.2+20150808-1ubuntu1) ...
>   Processing triggers for systemd (229-4ubuntu16) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   ureadahead will be reprofiled on next reboot
>   Processing triggers for man-db (2.7.5-1) ...
>   Setting up tftpd-hpa (5.2+20150808-1ubuntu1) ...
>   Job for tftpd-hpa.service failed because the control process exited with
> error code. See "systemctl status tftpd-hpa.service" and "journalctl -xe"
> for details.
>   invoke-rc.d: initscript tftpd-hpa, action "start" failed.
>   ● tftpd-hpa.service - LSB: HPA's tftp server
>      Loaded: loaded (/etc/init.d/tftpd-hpa; bad; vendor preset: enabled)
>      Active: failed (Result: exit-code) since Sat 2017-03-25 23:03:20 PDT;
> 4ms ago
>        Docs: man:systemd-sysv-generator(8)
>     Process: 5005 ExecStart=/etc/init.d/tftpd-hpa start (code=exited,
> status=71)
>
>   Mar 25 23:03:20 black systemd[1]: Starting LSB: HPA's tftp server...
>   Mar 25 23:03:20 black tftpd-hpa[5005]:  * Starting HPA's tftpd in.tftpd
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Control process
> exited, code=ex...=71
>   Mar 25 23:03:20 black systemd[1]: Failed to start LSB: HPA's tftp server.
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Unit entered failed
> state.
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Failed with result
> 'exit-code'.
>   Hint: Some lines were ellipsized, use -l to show in full.
>   dpkg: error processing package tftpd-hpa (--configure):
>    subprocess installed post-installation script returned error exit
> status 1
>   Processing triggers for systemd (229-4ubuntu16) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   Errors were encountered while processing:
>    tftpd-hpa
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
>   [h2o@black:~]
>   $
>
>   ProblemType: Package
>   DistroRelease: Ubuntu 16.04
>   Package: tftpd-hpa 5.2+20150808-1ubuntu1
>   ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
>   Uname: Linux 4.4.0-66-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2.5
>   AptOrdering:
>    tftpd-hpa: Install
>    tftpd-hpa: Configure
>    NULL: ConfigurePending
>   Architecture: amd64
>   Date: Sat Mar 25 23:03:20 2017
>   ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
>   InstallationDate: Installed on 2017-02-19 (35 days ago)
>   InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
>   RelatedPackageVersions:
>    dpkg 1.18.4ubuntu1.1
>    apt  1.2.19
>   SourcePackage: tftp-hpa
>   Title: package tftpd-hpa 5.2+20150808-1ubuntu1 failed to
> install/upgrade: subprocess installed post-installation script returned
> error exit status 1
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1676122/+subscriptions
>

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

Title:
  package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to