9.04 boot process hangs when using clamav-freshclam with pam_mount

Bug #374067 reported by Guenter Bartsch
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: clamav-freshclam

Description: Ubuntu 9.04
Release: 9.04

clamav-freshclam:
  Installed: (none)
  Candidate: 0.95.1+dfsg-1ubuntu1.2
  Version table:
     0.95.1+dfsg-1ubuntu1.2 0
        500 http://de.archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     0.95.1+dfsg-1ubuntu1 0
        500 http://de.archive.ubuntu.com jaunty/main Packages

when clamav-freshclam is installed and there exists an entry in /etc/security/pam_mount.conf.xml boot process will hang because freshclam will try a su which triggers a cifs password request. boot process will continue if a password is entered.

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 374067] [NEW] 9.04 boot process hangs when using clamav-freshclam with pam_mount

What would you propose clamav-freshclam do differently?

Revision history for this message
Guenter Bartsch (guenter-bartsch) wrote :

scott, thanks for looking into this.

i am not sure whether this can be solved inside clamav-freshclam, i suspect this to be more of a bad interaction between clamav, pam and pam_mount. anyway it would be great if this could be resolved in a way that does not cause the boot process to hang (after all, no other service in the whole init sequence runs into this problem, that's why i reported the bug against freshclam).

i have no deeper knowledge about that freshclam is trying to do and why, but i was thinking along the lines of either switching id without triggering the pam_mount or a change in the way priviledges are gained and dropped in the first place so su-ing would'nt be necessary - just my rough guess, again, i have not digged deeper into the issue.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Debian has a fix for this that we ought to be able to get into Karmic.

Changed in clamav (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Are you running freshclam as a daemon?

Revision history for this message
DaveM (davidmartin-ntlworld) wrote : Re: [Bug 374067] Re: 9.04 boot process hangs when using clamav-freshclam with pam_mount

Scott

The answer was "no"...

I've since done a fresh install of Ubuntu 9.04 onto a clean disk and
don't have this problem any more. Perhaps it was some old configuration
files.

Version 0.95.2+dfsg-4ubuntu1.2 of clamav, clamav-base, clamav-freshclam
and libclamav6 are installed.

Regards,
Dave

Scott Kitterman wrote:
> Are you running freshclam as a daemon?
>
>

Revision history for this message
DaveM (davidmartin-ntlworld) wrote :

Scott

The answer was "no"...

I've since done a fresh install of Ubuntu 9.04 onto a clean disk and
don't have this problem any more. Perhaps it was some old configuration
files.

Version 0.95.2+dfsg-4ubuntu1.2 of clamav, clamav-base, clamav-freshclam
and libclamav6 are installed.

Regards,
Dave

Scott Kitterman wrote:
> Are you running freshclam as a daemon?
>
>

Revision history for this message
Scott Kitterman (kitterman) wrote :

It turns out the potential fix was only relevant if you'd been running it as a daemon.

Changed in clamav (Ubuntu):
status: Confirmed → New
Revision history for this message
Thierry Carrez (ttx) wrote :

Can you reproduce the problem with lucid or maverick ?

Changed in clamav (Ubuntu):
status: New → Incomplete
Revision history for this message
Guenter Bartsch (guenter-bartsch) wrote :

Doesn't seem to happen in Lucid Lynx anymore

Revision history for this message
Thierry Carrez (ttx) wrote :

Thanks Guenter ! Closing as FixReleased then.

Changed in clamav (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.