[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#746496: general: Package upgrade scripts partly fail when /tmp is noexec



Package: general
Severity: normal

Dear Maintainer,

When /tmp is configured as noexec (for example /tmp in RAM), some scripts
fail on package update.
For example, updating kernel package try to execute scripts in /tmp and in
/etc/kernel/xxx
The first fail (in /tmp), while the other is successful (under /etc/kernel).

This doesn't fail the upgrade globally, just these scripts (for which
execution is prevented by the system) fail.

This doesn't seem to long-term affect the system, but it's not easy for a user
to understand which are the consequences of the scripts failure.

Maybe no package install or upgrade should try to exec scripts under /tmp.

Thanks for considering this suggestion.

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: