base-config: late_command run with TMPDIR not world-writable
Bug #13034 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-config (Debian) |
Fix Released
|
Unknown
|
|||
base-config (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
Automatically imported from Debian bug report #295687 http://
Changed in base-config: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
severity 295687 serious
thanks
Peter Eisentraut wrote: config. 1141/clamav- c72.... config. 1141 has mode 0755, not 1777 like /tmp
> Starting ClamAV daemon: LibClamAV Error: cli_cvdload(): Can't create temporary directory /tmp/base-
> [...]
> invoke-rc.d: initscript clamav-daemon action "start" failed.
>
> Although clamav fails to tell why it can't create that directory, I'm pretty
> sure it is because /tmp/base-
> normally has. ClamAV runs as its own user, so it can't access the TMPDIR,
> where it tries to create its temporary directory.
There's no reason for base-config to need to set TMPDIR, and it seems
that this could break task installation and aptitude runs as well as
preseeded commands, so I consider this bug RC.
--
see shy jo