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

2017-03-28 Thread Eli Pasetes
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: 

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

2017-03-28 Thread Nish Aravamudan
@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 a member of Ubuntu
Server Team, which is subscribed to tftp-hpa in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2017-03-28 Thread Nish Aravamudan
@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 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


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

2017-03-27 Thread Eli Pasetes
Hi Nish,

Output from journalctl -xe below.

Mar 27 18:07:28 black systemd[1]: Failed to start LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has failed.
-- 
-- The result is failed.
Mar 27 18:07:28 black systemd[1]: tftpd-hpa.service: Unit entered failed
state.
Mar 27 18:07:28 black systemd[1]: tftpd-hpa.service: Failed with result
'exit-code'.
Mar 27 18:07:28 black systemd[1]: Reloading.
Mar 27 18:07:28 black systemd[1]: apt-daily.timer: Adding 8h 46min
40.502667s random time.
Mar 27 18:07:28 black systemd[1]: snapd.refresh.timer: Adding 5h 56min
21.506091s random t
Mar 27 18:07:28 black systemd[1]: snapd.refresh.timer: Adding 3h 28min
30.408407s random t
Mar 27 18:07:28 black systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit acpid.service has finished starting up.
-- 
-- The start-up result is done.
Mar 27 18:07:28 black systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cups.service has finished starting up.
-- 
-- The start-up result is done.
Mar 27 18:07:30 black sudo[3987]: pam_unix(sudo:session): session closed
for user root
~



I then changed /etc/default/tftpd-hpa parm TFTP_ADDRESS="0.0.0.0:69" and
tried
sudo systemctl restart tftpd-hpa and
then  ...

$ journalctl -xe
Mar 27 18:14:21 black sudo[4845]: pam_unix(sudo:session): session opened
for user root by
Mar 27 18:14:21 black systemd[1]: Stopped LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has finished shutting down.
Mar 27 18:14:21 black systemd[1]: Starting LSB: HPA's tftp server...
-- Subject: Unit tftpd-hpa.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has begun starting up.
Mar 27 18:14:21 black tftpd-hpa[4848]:  * Starting HPA's tftpd in.tftpd
Mar 27 18:14:21 black in.tftpd[4861]: cannot open IPv6 socket, disable
IPv6: Address famil
Mar 27 18:14:21 black in.tftpd[4861]: Cannot set nonblock flag on socket:
Bad file descrip
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Control process
exited, code=exited s
Mar 27 18:14:21 black systemd[1]: Failed to start LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has failed.
-- 
-- The result is failed.
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Unit entered failed
state.
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Failed with result
'exit-code'.
Mar 27 18:14:21 black sudo[4845]: pam_unix(sudo:session): session closed
for user root
Mar 27 18:14:52 black wpa_supplicant[1487]: wlp3s0: WPA: Group rekeying
completed with ec:
Mar 27 18:14:55 black wpa_supplicant[1487]: wlp3s0: CTRL-EVENT-DISCONNECTED
bssid=ec:08:6b
Mar 27 18:14:55 black NetworkManager[1126]:   [1490663695.9158]
sup-iface[0x1bb0580,
Mar 27 18:14:55 black NetworkManager[1126]:   [1490663695.9355]
device (wlp3s0): sup
Mar 27 18:14:56 black NetworkManager[1126]:   [1490663696.0209]
device (wlp3s0): sup
Mar 27 18:14:58 black ntpd[1737]: Deleting interface #2 wlp3s0,
192.168.14.67#123, interfa
Mar 27 18:14:58 black ntpd[1737]: 23.239.24.67 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 208.75.89.4 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 38.229.71.1 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 96.126.100.203 local addr 192.168.14.67
-> 
Mar 27 18:14:58 black ntpd[1737]: 97.127.21.25 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 50.22.155.163 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 208.75.88.4 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 52.6.160.3 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 129.250.35.251 local addr 192.168.14.67
-> 
Mar 27 18:14:58 black ntpd[1737]: 66.85.74.226 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 66.7.96.2 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 66.135.44.92 local addr 192.168.14.67 ->

Mar 27 18:14:58 black ntpd[1737]: 138.68.46.177 local addr 192.168.14.67 ->

Mar 27 18:15:01 black CRON[4874]: pam_unix(cron:session): session opened
for user root by
Mar 27 18:15:01 black CRON[4875]: (root) CMD (command -v debian-sa1 >
/dev/null && debian-
Mar 27 18:15:01 black 

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

2017-03-27 Thread Nish Aravamudan
Hello and thank you for filing this bug report!

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.

Can you provide the output (unellipsized) from these commands?

** Changed in: tftp-hpa (Ubuntu)
   Status: New => Incomplete

-- 
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


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

2017-03-26 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
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