An other tweak:

#!/bin/sh
set -x; exec 2>>/tmp/hdparm.txtset -x; exec 2>>/tmp/hdparm.txtset -x; exec 
2>>/tmp/hdparm.txt
set -e
....

the first change was as #4

reapplied the #2 debugging:

 sudo sed -i '2 s_^_set -x; exec 2>/tmp/hdparm.txt_' /lib/udev/hdparm
[sudo] password for oem: 

oem@u64:~$ sudo udevadm trigger --action=add /sys/block/sda --verbose

/sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sda
/sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1
/sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3
/sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4
/sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5
/sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6


** Attachment added: "hdparm.txtset"
   
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1568474/+attachment/4632306/+files/hdparm.txtset

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568474

Title:
  Process '/lib/udev/hdparm' failed with exit code 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1568474/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to