[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
I *think* this is a duplicate of bug #958704 , which was fixed in version 5.0.6-0ubuntu5 Can any of the affected users confirm that the final released precise version does not have the reported problem? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
I *think* this is a duplicate of bug #958704 , which was fixed in version 5.0.6-0ubuntu5 Can any of the affected users confirm that the final released precise version does not have the reported problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Dmitri, thanks for the response. Can you also do dpkg -l nis And show the output of status ypbind Also if its 'stop/waiting' then start ypbind and then show the output of 'cat /var/log/upstart/ypbind.log' Thanks!! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
@Clint: $ dpkg -l nis Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii nis3.17-32ubuntu3 clients and daemons for the Network Informat $ status ypbind ypbind start/running, process 857 $ sudo cat /var/log/upstart/ypbind.log $ $ sudo zcat /var/log/upstart/ypbind.log.*.gz | tail Binding to YP server .done Setting NIS domainname to: ifayp Binding to YP server .backgrounded Setting NIS domainname to: ifayp Binding to YP server done Setting NIS domainname to: ifayp Binding to YP server .backgrounded Setting NIS domainname to: ifayp Binding to YP server .backgrounded Binding to YP server .done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Thanks again. Thats very odd, as the autofs job should exit immediately when wait-for-state sees that ypbind is already running. I will spin up a precise VM here and see if I can reproduce. ** Changed in: autofs5 (Ubuntu) Status: Confirmed = In Progress ** Changed in: autofs5 (Ubuntu) Assignee: (unassigned) = Clint Byrum (clint-fewbar) ** Changed in: autofs5 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Dmitri, thanks for the response. Can you also do dpkg -l nis And show the output of status ypbind Also if its 'stop/waiting' then start ypbind and then show the output of 'cat /var/log/upstart/ypbind.log' Thanks!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
@Clint: $ dpkg -l nis Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii nis3.17-32ubuntu3 clients and daemons for the Network Informat $ status ypbind ypbind start/running, process 857 $ sudo cat /var/log/upstart/ypbind.log $ $ sudo zcat /var/log/upstart/ypbind.log.*.gz | tail Binding to YP server .done Setting NIS domainname to: ifayp Binding to YP server .backgrounded Setting NIS domainname to: ifayp Binding to YP server done Setting NIS domainname to: ifayp Binding to YP server .backgrounded Setting NIS domainname to: ifayp Binding to YP server .backgrounded Binding to YP server .done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Thanks again. Thats very odd, as the autofs job should exit immediately when wait-for-state sees that ypbind is already running. I will spin up a precise VM here and see if I can reproduce. ** Changed in: autofs5 (Ubuntu) Status: Confirmed = In Progress ** Changed in: autofs5 (Ubuntu) Assignee: (unassigned) = Clint Byrum (clint-fewbar) ** Changed in: autofs5 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: autofs5 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Hi Dmitri. Can you please include the output of grep autofs /var/log/syslog and if it exists, /var/log/upstart/autofs.log ? Thanks! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
@Clint Byrum: $ grep autofs /var/log/syslog | tail Mar 11 16:27:44 molveno kernel: [64449.010472] init: wait-for-state (autofs5ypbind) main process (19697) terminated with status 100 Mar 11 16:27:44 molveno kernel: [64449.020729] init: autofs pre-start process (19694) terminated with status 1 Mar 11 16:56:55 molveno kernel: [66196.495099] init: wait-for-state (autofs5ypbind) main process (21150) terminated with status 100 Mar 11 16:56:55 molveno kernel: [66196.500478] init: autofs pre-start process (21147) terminated with status 1 Mar 11 17:44:16 molveno kernel: [69031.679746] init: wait-for-state (autofs5ypbind) main process (22101) terminated with status 100 Mar 11 17:44:16 molveno kernel: [69031.686177] init: autofs pre-start process (22098) terminated with status 1 Mar 11 17:45:26 molveno kernel: [69101.285300] init: wait-for-state (autofs5ypbind) main process (22563) terminated with status 100 Mar 11 17:45:26 molveno kernel: [69101.290567] init: autofs pre-start process (22560) terminated with status 1 Mar 11 17:47:06 molveno kernel: [69201.474770] init: wait-for-state (autofs5ypbind) main process (23392) terminated with status 100 Mar 11 17:47:06 molveno kernel: [69201.481256] init: autofs pre-start process (23389) terminated with status 1 $ sudo cat /var/log/upstart/autofs.log | tail start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
I have just realised that despite all the error messages, the autofs system works and mounts the NFS filesystem just fine: $ ps -A | grep auto 9804 ?00:00:00 automount $ mount | grep nfs lirs10:/a/home/lirs10b/fedorov on /usr/users/fedorov type nfs (rw,addr=10.12.1.78) nevertheless: $ sudo dpkg --configure -a Setting up autofs5 (5.0.6-0ubuntu4) ... start: Job failed to start invoke-rc.d: initscript autofs, action start failed. dpkg: error processing autofs5 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: autofs5 Have I messed up my system somehow? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Ok, I can reproduce the bug any time now: $ sudo apt-get install autofs5 ... Setting up autofs5 (5.0.6-0ubuntu4) ... start: Job failed to start invoke-rc.d: initscript autofs, action start failed. dpkg: error processing autofs5 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: autofs5 E: Sub-process /usr/bin/dpkg returned an error code (1) What happens---It seems---is that autofs fails to start via start utility: $ sudo start autofs start: Job failed to start $ cd ~fedorov bash: cd: /usr/users/fedorov: No such file or directory However, if I manually start automount, everything seems to work just fine: $ sudo automount $ cd ~fedorov /usr/users/fedorov$ So the bug seems to be not in autofs5 but rather in Upstart, no? Should I mention also that the root filesystem on this box is on a raid0? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+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 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: autofs5 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Hi Dmitri. Can you please include the output of grep autofs /var/log/syslog and if it exists, /var/log/upstart/autofs.log ? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
@Clint Byrum: $ grep autofs /var/log/syslog | tail Mar 11 16:27:44 molveno kernel: [64449.010472] init: wait-for-state (autofs5ypbind) main process (19697) terminated with status 100 Mar 11 16:27:44 molveno kernel: [64449.020729] init: autofs pre-start process (19694) terminated with status 1 Mar 11 16:56:55 molveno kernel: [66196.495099] init: wait-for-state (autofs5ypbind) main process (21150) terminated with status 100 Mar 11 16:56:55 molveno kernel: [66196.500478] init: autofs pre-start process (21147) terminated with status 1 Mar 11 17:44:16 molveno kernel: [69031.679746] init: wait-for-state (autofs5ypbind) main process (22101) terminated with status 100 Mar 11 17:44:16 molveno kernel: [69031.686177] init: autofs pre-start process (22098) terminated with status 1 Mar 11 17:45:26 molveno kernel: [69101.285300] init: wait-for-state (autofs5ypbind) main process (22563) terminated with status 100 Mar 11 17:45:26 molveno kernel: [69101.290567] init: autofs pre-start process (22560) terminated with status 1 Mar 11 17:47:06 molveno kernel: [69201.474770] init: wait-for-state (autofs5ypbind) main process (23392) terminated with status 100 Mar 11 17:47:06 molveno kernel: [69201.481256] init: autofs pre-start process (23389) terminated with status 1 $ sudo cat /var/log/upstart/autofs.log | tail start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start start: Job failed to start -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
I have just realised that despite all the error messages, the autofs system works and mounts the NFS filesystem just fine: $ ps -A | grep auto 9804 ?00:00:00 automount $ mount | grep nfs lirs10:/a/home/lirs10b/fedorov on /usr/users/fedorov type nfs (rw,addr=10.12.1.78) nevertheless: $ sudo dpkg --configure -a Setting up autofs5 (5.0.6-0ubuntu4) ... start: Job failed to start invoke-rc.d: initscript autofs, action start failed. dpkg: error processing autofs5 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: autofs5 Have I messed up my system somehow? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 952340] Re: autofs5 fails to install: post-installation script returned error exit status 1
Ok, I can reproduce the bug any time now: $ sudo apt-get install autofs5 ... Setting up autofs5 (5.0.6-0ubuntu4) ... start: Job failed to start invoke-rc.d: initscript autofs, action start failed. dpkg: error processing autofs5 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: autofs5 E: Sub-process /usr/bin/dpkg returned an error code (1) What happens---It seems---is that autofs fails to start via start utility: $ sudo start autofs start: Job failed to start $ cd ~fedorov bash: cd: /usr/users/fedorov: No such file or directory However, if I manually start automount, everything seems to work just fine: $ sudo automount $ cd ~fedorov /usr/users/fedorov$ So the bug seems to be not in autofs5 but rather in Upstart, no? Should I mention also that the root filesystem on this box is on a raid0? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952340 Title: autofs5 fails to install: post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/952340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs