This should be considered a bug in DUP.  It should be easily resolvable by 
allowing users to customizing the temporary working directory; e.g. using an 
environment variable.


> -----Original Message-----
> From: [email protected] [mailto:linux-poweredge-
> [email protected]] On Behalf Of Thibaut Pouzet
> Sent: Monday, October 24, 2016 3:47 AM
> To: [email protected]
> Subject: Re: [Linux-PowerEdge] Upgrading firmware under CentOS7
> 
> 
> Le 21/10/2016 à 17:57, Davide Ferrari a écrit :
> 
> 
>       Hello,
> 
> 
>       CentOS7 comes with /tmp with no exec permissions by default, but all
> Dell furmware upgrade pacakges uses /tmp as the default (and
> uncustomizable) path to unpack and execute the actual FW upgrade binary
> blob. Is there any official way to do it properly without remounting /tmp
> with "exec" (or replacing /tmp with /var/tmp in the bash wrapper code
> inside the package)?
> 
> 
>       Thanks
> 
> 
>       --
> 
>       Davide Ferrari
> 
>       Senior Systems Engineer
> 
> 
> 
> 
>       _______________________________________________
>       Linux-PowerEdge mailing list
>       [email protected] <mailto:[email protected]>
>       https://lists.us.dell.com/mailman/listinfo/linux-poweredge
> 
> Hi,
> 
> Not that I've heard of sorry. I do this and this works just fine : before
> launching the update, I run :
> sudo mount -o remount,exec /tmp
> 
> Once I'm done :
> sudo mount -o remount,noexec /tmp
> 
> I'm not aware of any other magical solution
> 
> Cheers
> 
> 
> --
> Thibaut Pouzet
> Lyra Network
> Expert Sécurité
> (+33) 5 31 22 40 08
> www.lyra-network.com <http://www.lyra-network.com>


_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Reply via email to