Attached is a small C program using the same type of code that dhclient.c uses demonstrating that the kernel should not be at fault.
$ cd /tmp
$ tar -zxvf ./bug-lp1197484.tar.gz
bug-lp1197484/
bug-lp1197484/lp1197484.c
bug-lp1197484/lp1197484.profile
bug-lp1197484/lp1197484.sh
bug-lp1197484/run.sh
$ cd ./bug-lp1197484
$ sh ./run.sh
[sudo] password for jamie:
argv[0]: ./lp1197484
argv[1]: lp1197484.sh
child: 7402
parent exiting
here
At this point, there are no denied messages and lp1197484.sh succeeds.
Attached is a small C program using the same type of code that dhclient.c uses demonstrating that the kernel should not be at fault. .tar.gz lp1197484. c lp1197484. profile lp1197484. sh run.sh
$ cd /tmp
$ tar -zxvf ./bug-lp1197484
bug-lp1197484/
bug-lp1197484/
bug-lp1197484/
bug-lp1197484/
bug-lp1197484/
$ cd ./bug-lp1197484
$ sh ./run.sh
[sudo] password for jamie:
argv[0]: ./lp1197484
argv[1]: lp1197484.sh
child: 7402
parent exiting
here
At this point, there are no denied messages and lp1197484.sh succeeds.