Activity log for bug #1053391

Date Who What changed Old value New value Message
2012-09-20 13:08:53 Robie Basak bug added bug
2012-09-20 13:17:27 Robie Basak tags amd64 apport-bug precise amd64 apport-bug needs-upstream-forwarding precise
2012-09-20 13:18:50 Robie Basak tags amd64 apport-bug needs-upstream-forwarding precise amd64 apport-bug needs-upstream-report precise
2012-09-20 14:58:39 Robie Basak description If ipmipower gets EOF on stdin, then it fails with no output and an exit status of 1. Steps to reproduce: 1. Observe that this works: ipmipower -h <host ip> -u <username> -p <password> --stat 2. Observe that this fails: ipmipower -h <host ip> -u <username> -p <password> --stat </dev/null Expected behaviour: ipmipower is a command line tool. If it needs no input on stdin normally, then it should work regardless of what stdin is connected to. Actual behaviour: ipmipower fails when stdin is connected to /dev/null, such as when called from a well-behaved Unix daemon. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: freeipmi-tools 0.8.12-3ubuntu1 ProcVersionSignature: User Name 3.2.0-29.46-virtual 3.2.24 Uname: Linux 3.2.0-29-virtual x86_64 ApportVersion: 2.0.1-0ubuntu13 Architecture: amd64 Date: Thu Sep 20 13:00:57 2012 ProcEnviron: TERM=xterm LC_COLLATE=C LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: freeipmi UpgradeStatus: No upgrade log present (probably fresh install) If ipmipower gets EOF on stdin, then it fails with no output and an exit status of 1. Steps to reproduce: 1. Observe that this works: ipmipower -h <host ip> -u <username> -p <password> --stat 2. Observe that this fails: ipmipower -h <host ip> -u <username> -p <password> --stat </dev/null Expected behaviour: ipmipower is a command line tool. If it needs no input on stdin normally, then it should work regardless of what stdin is connected to. Actual behaviour: ipmipower fails when stdin is connected to /dev/null, such as when called from a well-behaved Unix daemon. Workaround: echo workaround | ipmipower -h <host ip> -u <username> -p <password> --stat # this works regardless of what stdin is connected to ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: freeipmi-tools 0.8.12-3ubuntu1 ProcVersionSignature: User Name 3.2.0-29.46-virtual 3.2.24 Uname: Linux 3.2.0-29-virtual x86_64 ApportVersion: 2.0.1-0ubuntu13 Architecture: amd64 Date: Thu Sep 20 13:00:57 2012 ProcEnviron:  TERM=xterm  LC_COLLATE=C  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: freeipmi UpgradeStatus: No upgrade log present (probably fresh install)
2012-09-20 15:42:27 Robie Basak bug task added maas
2012-09-20 15:54:42 Launchpad Janitor branch linked lp:~racb/maas/ipmipower-stdin-lp-1053391
2012-09-21 01:23:29 Julian Edwards maas: importance Undecided Critical
2012-09-21 01:23:30 Julian Edwards maas: status New In Progress
2012-09-21 01:23:40 Julian Edwards maas: assignee Robie Basak (racb)
2012-09-21 01:30:50 MAAS Lander maas: status In Progress Fix Committed
2012-10-01 09:05:49 Julian Edwards maas: status Fix Committed Fix Released
2012-11-01 10:25:52 Robie Basak freeipmi (Ubuntu): status New Triaged
2012-11-01 10:25:56 Robie Basak freeipmi (Ubuntu): importance Undecided Medium
2021-04-07 04:58:49 Utkarsh Gupta freeipmi (Ubuntu): status Triaged Incomplete