[Openstack-devel] Bug#708270: sftpcloudfs: fails to install noninteractively without /dev/tty

Andreas Beckmann anbe at debian.org
Tue May 14 17:47:48 UTC 2013


Package: sftpcloudfs
Version: 0.6.1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install.
These tests are done with DEBIAN_FRONTEND=noninteractive and
stdin=/dev/null.

Maintainer scripts run ssh-keygen, but that gets into a busy loop ...

lsof lists the following open file descriptors:

ssh-keyge 21160 root    0r  FIFO    0,8      0t0 2120247831 pipe
ssh-keyge 21160 root    1w  FIFO    0,8      0t0 2120215834 pipe
ssh-keyge 21160 root    2w  FIFO    0,8      0t0 2120215834 pipe
ssh-keyge 21160 root    3u   CHR    5,0      0t0 2120154555 /tmp/piupartss/tmpsOIXH7/dev/tty

strace shows:

[...]
rt_sigreturn(0x16)                      = -1 EINTR (Interrupted system call)
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = ? ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
rt_sigreturn(0x16)                      = -1 EINTR (Interrupted system call)
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = ? ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
rt_sigreturn(0x16)                      = -1 EINTR (Interrupted system call)
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = ? ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
[...]


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sftpcloudfs_0.6.1-1.log.gz
Type: application/x-gzip
Size: 9752 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20130514/9d7d77d6/attachment.bin>


More information about the Openstack-devel mailing list