Firmware upgrades on Dell servers failing
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Morten
  2. Wednesday, 23 December 2015
  3.  Subscribe via email
tmp folder issues
Rate this post:
  1. 23.12.2015 05:12:17
  2. # 1
Morten Accepted Answer
Posts: 99
Joined: 16.04.2014
0
Votes
Undo
Hello,

On our Dell servers running Cloudlinux we cannot upgrade the firmware because of writing permissions to tmp folder.

Doing a upgrade:
sh ./Power_Firmware_KCGDJ_LN_07.15.7F.BIN
/tmp/Power_Firmware_KCGDJ_LN_07.15.7F.BIN-593814-10472/spsetup.sh: line 723: ./dupdisneyinstall.sh: Permission denied
/tmp/Power_Firmware_KCGDJ_LN_07.15.7F.BIN-593814-10472/spsetup.sh: line 727: ./dupdisneyinstall.sh: Permission denied
/tmp/Power_Firmware_KCGDJ_LN_07.15.7F.BIN-593814-10472/spsetup.sh: line 1920: ./getSystemId: Permission denied
ldd: warning: you do not have execution permission for `./sputility.bin\'
Collecting inventory...
/tmp/Power_Firmware_KCGDJ_LN_07.15.7F.BIN-593814-10472/spsetup.sh: line 1155: ./psdup: Permission denied

Inventory collection failed.
-

On our CentOS servers it\'s working fine.
How can we get this fixed?
  1. 23.12.2015 07:12:35
  2. # 2
Igor Ghertesco Accepted Answer
Posts: 154
Joined: 07.08.2015
0
Votes
Undo
Hello,

This is very strange issue. Do you run the Power_Firmware_KCGDJ_LN_07.15.7F.BIN as root user? cloudLinux should not affect root user at all.

Also please make sure that /tmp is not mounted with noexec flag.
  1. 23.12.2015 08:12:40
  2. # 3
Morten Accepted Answer
Posts: 99
Joined: 16.04.2014
0
Votes
Undo
Yes, running as root user.
Have tried different firmware upgrades on different servers.

How would I check if it is mounted with noexec flag? Should it not be that? I think all servers are that as standard.
  1. 23.12.2015 08:12:54
  2. # 4
Igor Ghertesco Accepted Answer
Posts: 154
Joined: 07.08.2015
0
Votes
Undo
Hello,

Runnig # mount |grep tmp should return something like

/usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)

I\'m pretty sure that issue is related to noexec flag.
  1. 23.02.2016 06:02:00
  2. # 5
Chris Danks Accepted Answer
Posts: 2
Joined: 23.02.2016
0
Votes
Undo
hi

from experience running this:

mount -o remount,suid,exec /tmp

then

 update_firmware --yes

will fix the issue.   When it reboots, the mount will return back to its original state on /tmp

the linux dell vault for updating dell firmware is quite dated too, ie it still uses older firmwares for drac/nic's/lifecycle controller etc.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.