James Lee wrote:
> On my local machines I am modifying File.pm to open the file
> descriptor as read/write which fixes the problem (and works on a real
> Linux kernel too), however I'm not sure if this will affect any other
> operations of debconf, but as far as I can tell it will not.
> 
> On line 51 of File.pm change:
>     if (! open ($this->{_fh}, $this->{filename})) {
> to:
>     if (! open ($this->{_fh}, "+<", $this->{filename})) {

This seems reasonable.

> http://www.nexenta.org/diffs-gnusolaris/nexenta-delta-debconf.454083.diff
> - Nexentas diff (changes the lock type)

That patch seems wrong; using shared locking will defeat the purpose of
this lock and allow multiple concurrent readers of the file.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to