From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Description of problem: When a custom defined service is started by the clustermanager via script, a lot of signals including SIGUSR1 and SIGUSR2 are blocked. Programms relying on these signals will not work correctly. Version-Release number of selected component (if applicable): clumanager-1.2.16-1 How reproducible: Always Steps to Reproduce: 1. Install the screen package 2. create a cluster service unsing the attached test_script as user script. This scripts simply starts a shell in a screen session 3. start the service 4. attach to the session by entering "screen -r" 5. enter: trap ls 10 6. enter: kill -10 $$ Actual Results: Nothing happens. Expected Results: The content of the current direcotry should appear as it is if you start the screen session on the commansline by entering "test_script start" Additional info:
Created attachment 109179 [details] user script for service
Created attachment 109180 [details] test_script
Created attachment 109260 [details] Fixes problem This patch changes clusvcmgrd to correctly unblock all signals prior to starting the service script(s).
Note: The following are not Red Hat errata; they are test patches/packages. Patch which fixes this and other bugzillas: http://people.redhat.com/lhh/clumanager-1.2.23-0.4lhh.patch Packages which fix this and several other current outstanding bugzillas: http://people.redhat.com/lhh/clumanager-1.2.23-0.4lhh.i386.rpm http://people.redhat.com/lhh/clumanager-1.2.23-0.4lhh.src.rpm
1.2.23 packages have a bug which prevents IP addresses from properly starting in some cases. Consequently, I have fixed this problem and made a new test package: http://people.redhat.com/lhh/clumanager-1.2.24-0.1.i386.rpm http://people.redhat.com/lhh/clumanager-1.2.24-0.1.src.rpm
*** Bug 149059 has been marked as a duplicate of this bug. ***
Created attachment 111429 [details] Program from #149059 for testing
Verified with the sigtest program. It starts, and it fails over properly. Version clumanager-1.2.25-2. Scheduled for release RHEL3-U5.
*** Bug 153070 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-047.html
*** Bug 161060 has been marked as a duplicate of this bug. ***