This one time, at band camp, Lior Kaplan said:
> Stephen Gran wrote:
> > This one time, at band camp, Lior Kaplan said:
> > 
> >>When upgrading to clamav-base I got these errors: Can't exec
> >>"/tmp/clamav-base.config.47861": Permission denied at
> >>/usr/share/perl/5.8/IPC/Open3.pm line 168.  open2: exec of
> >>/tmp/clamav-base.config.47861 configure 0.86-1 failed at
> >>/usr/share/perl5/Debconf/ConfModule.pm line 44
> >>
> >>I can just guess that the temp file at the first error doesn't got the
> >>needed permissions. (<cinical>that was hard to figure (-:</cinical> )
> > 
> > 
> > Is /tmp mounted noexec?
> 
> Yes. I thought of that after I reported the bug.
> 
> I know not every user use it, but any change to have a fix which doesn't
> means mounting tmp without noexec?

No.  You can't mount the filesystem that scripts are going to be executed
in noexec, and expect to have it work.  There have been long discussions
about it, and the best recommendation I have heard so far is to remount
/tmp rw before installing a package or upgrading.  Since it's trivial to
work around a noexec /tmp anyway (think 'perl /tmp/rootme.pl'), it doesn't
seem to be worth the work to the debconf maintainers to work around it.
If you want to keep the bug open, I'll reassign it to debconf.  If you
feel that there are enough of these bugs already open on debconf, then
we can close it.  Just let me know.

Take care,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to