On 20/10/08 at 13:07 +0000, martin quinson wrote:
> package nws
> close 502763
> thanks
> 
> Le dimanche 19 octobre 2008 à 15:38 +0200, Lucas Nussbaum a écrit :
> > Package: nws
> > Version: 2.13-6.1
> > Severity: serious
> > User: [EMAIL PROTECTED]
> > Usertags: piuparts-20081019 piuparts
> > 
> > Hi,
> > 
> > During tests using piuparts of all packages in lenny,
> > I ran into the following problem:
> [...]
> > >   Errors were encountered while processing:
> > >    nws
> > >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > ucf blocks, reading on stdin, without displaying anything:
> > Setting up nws (2.13-6.1) ...
> > <BLOCKS>
> 
> It does not block for ever, it displays that at the end:
> Creating config file /etc/nws.conf with new version
> Starting the NWS family on arthur: nameserver memory sensor.
> 1224507448 28858 Error: register.c:529 ConnectToHost: connect to
> arthur.loria.fr:8060 failed
> 1224507448 28858 Error: host_protocol.c:1130 HostNameServerInfo:
> couldn't talk to arthur.loria.fr:8060
> 1224507452 28858 Error: register.c:529 ConnectToHost: connect to
> arthur.loria.fr:8060 failed
> 1224507452 28858 Error: host_protocol.c:1104 GetHostInfo: couldn't talk
> to arthur.loria.fr:8060
> 1224507452 28858 Error: nws_api.c:609 GetNameServer: failed to get
> HOST_TEST
> Unable to contact sensor arthur.loria.fr:8060
> failed.
> 1224507456 28867 Error: register.c:529 ConnectToHost: connect to
> arthur.loria.fr:8060 failed
> 1224507456 28867 Error: host_protocol.c:1130 HostNameServerInfo:
> couldn't talk to arthur.loria.fr:8060
> 1224507460 28867 Error: register.c:529 ConnectToHost: connect to
> arthur.loria.fr:8060 failed
> 1224507460 28867 Error: host_protocol.c:1104 GetHostInfo: couldn't talk
> to arthur.loria.fr:8060
> 1224507460 28867 Error: nws_api.c:609 GetNameServer: failed to get
> HOST_TEST
> Unable to contact sensor arthur.loria.fr:8060
> failed.
> 
> Make sure that your chroot can route messages to itself, and it will
> help the process.
> # echo "127.0.1.1 arthur.loria.fr" >> /etc/hosts
> 
> Thanks for testing anyway,

Hi Martin,

I'm really not sure that this is the issue.

When I install nws in a chroot (not inside piuparts), ucf still blocks.
And apparently, it's not temporary: strace it it shows:
Process 3936 attached - interrupt to quit
[ Process PID=3936 runs in 32 bit mode. ]
read(0, "azazazazazazaazazaz\n"..., 128) = 20
write(2, "/usr/share/debconf/confmodule: li"..., 95) = 95
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(255)                         = ?
Process 3936 detached

(so it stays blocked on read(0) until I enter something.

Apparently it's when it does:
+ rm -f /var/lib/nws/local.conf.md5sum
+ ucf /var/lib/nws/local.conf /etc/nws.conf
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |

Attachment: signature.asc
Description: Digital signature

Reply via email to