Your message dated Sun, 8 Mar 2009 15:33:18 -0400
with message-id <20090308193318.gy25...@jamessan.com>
has caused the   report #517099,
regarding fish: sends schroot to sleep when exiting the chroot
to be marked as having been forwarded to the upstream software
author(s) Axel Liljencrantz <liljencra...@gmail.com>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
517099: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517099
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Axel,

If fish is used as the shell inside schroot[0], schroot is STOPped when
exiting fish to close the chroot.  The user then has to “fg” schroot to
make it continue its cleanup process.

Here's an strace of fish (1814) and schroot (1672) when exiting the
shell:

1814  waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED) = 
2044
1814  waitpid(-1, 0xbfb0cdf8, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
1814  rt_sigreturn(0x1)                 = 0
1814  rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], NULL, 8) = 0
1814  rt_sigprocmask(SIG_UNBLOCK, ~[RTMIN RT_1], NULL, 8) = 0
1814  ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo 
...}) = 0
1814  ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) 
= 0
1814  ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo 
...}) = 0
1814  fcntl64(3, F_SETFL, O_RDONLY)     = 0
1814  close(3)                          = 0
1814  exit_group(1)                     = ?
1672  <... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 1814
1672  --- SIGCHLD (Child exited) @ 0 (0) ---
1672  ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo 
...}) = 0
1672  ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) 
= ? ERESTARTSYS (To be restarted)
1672  --- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
1672  --- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
1672  ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) 
= ? ERESTARTSYS (To be restarted)

Performing the same with zsh (3535) as the shell inside schroot (3397)
results in the following:

3535  rt_sigaction(SIGINT, {0x80ace10, [], SA_INTERRUPT}, NULL, 8) = 0
3535  read(11, "# /etc/zsh/zlogout: system-wide ."..., 4096) = 58
3535  rt_sigaction(SIGINT, {0x80ace10, [], SA_INTERRUPT}, NULL, 8) = 0
3535  read(11, ""..., 4096)             = 0
3535  close(11)                         = 0
3535  munmap(0xb7fac000, 4096)          = 0
3535  brk(0x8a94000)                    = 0x8a94000
3535  ioctl(10, TIOCSPGRP, [3397])      = 0
3535  setpgid(0, 3397)                  = 0
3535  exit_group(0)                     = ?
3397  <... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 3535
3397  --- SIGCHLD (Child exited) @ 0 (0) ---
3397  ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo 
...}) = 0
3397  ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) 
= 0
3397  ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo 
...}) = 0

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@debian.org>

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to