Modify

Opened 4 years ago

#15819 new defect

Build system assumes /tmp does not use noexec mount option

Reported by: bob.deblier@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: other Version: Trunk
Keywords: build tmp security noexec Cc:

Description

Building an image that includes a package which has a preinst script will fail if /tmp is mounted with the noexec flag.

Example found in 'make V=s' output on a system with /tmp mounted with noexec option:
Installing openssh-client-utils (6.6p1-1) to root...
Installing openssh-client (6.6p1-1) to root...
sh: /tmp/opkg-xI14yc/openssh-client-X9gm4r/preinst: Permission denied
Installing openssh-client (6.6p1-1) to root...
sh: /tmp/opkg-xI14yc/openssh-client-X9gm4r/preinst: Permission denied
Installing openssh-keygen (6.6p1-1) to root...

This is a problem that should be either be fixed or documented as a caveat in the Wiki.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.