canonical-partner-dev team mailing list archive
-
canonical-partner-dev team
-
Mailing list archive
-
Message #00768
[Bug 853750] Re: Wrong owner on symlinks make IBM DB2's administrative fail
** Summary changed:
- Wrong owner on symlink make IBM DB2's administrative instance fail to start
+ Wrong owner on symlinks make IBM DB2's administrative fail
** Description changed:
On db2exc 9.7.4-0lucid3, the init script tries to start the administration instance by:
- su-ing to the admin instance user
- calling "db2admin", which is in ~/das/bin/db2admin, which is in the PATH
This fails with the message "-su: das/bin/db2admin: Permission denied".
Calling /opt/ibm/db2/V9.7/das/bin/db2admin does not fail.
- My guess is that it's because:
+ The kernel log reports "non-matching-uid symlink following attempted in sticky world-writable directory".
+ I think it's because:
- ~/das/bin is a symbolic link owned by root
- but ~/das has the sticky bit, so only root can follow the symbolic link
- Possible fixes :
- - install the symbolic link with the instance admin user as owner
- - OR calling /opt/ibm/db2/V9.7/das/bin/db2admin in the init script
- - OR adding /opt/ibm/db2/V9.7/das/bin/db2admin to the PATH for the admin instance user
+
+ The same problem exists for several other symbolic links in ~/das/: conv function java lib msg
+ So maybe the whole administration instance is not installed using the right UID ?
+
Lionel Sausin
--
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/853750
Title:
Wrong owner on symlinks make IBM DB2's administrative fail
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/db2exc/+bug/853750/+subscriptions
References