Issue 57935 - do not read /etc/adabasrc for OpenOffice.org
Summary: do not read /etc/adabasrc for OpenOffice.org
Status: REOPENED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-15 14:15 UTC by pavel
Modified: 2017-05-20 11:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2005-11-15 14:15:04 UTC
OpenOffice.org startup scripts is reading /etc/adabasrc:

# read database entries for Adabas D
if [ -f /etc/adabasrc ]; then
  . /etc/adabasrc
fi

-> remove it.
Comment 1 pavel 2005-11-20 16:51:12 UTC
.
Comment 2 pavel 2005-12-04 19:40:36 UTC
Adabas removed for OOo in pj45.
Comment 3 pavel 2005-12-19 17:08:36 UTC
verified.
Comment 4 pavel 2006-12-06 11:47:30 UTC
.
Comment 5 NoOp 2012-05-26 20:10:36 UTC
Reopen Please.

$ cat /opt/openoffice.org3/program/versionrc
[Version]
AllLanguages=en-US
buildid=340m1(Build:9590)
ExtensionUpdateURL=http://updateexte.services.openoffice.org/ExtensionUpdateService/check.Update
OOOBaseVersion=3.4
ProductBuildid=9590
ProductMajor=340
ProductMinor=1
ProductSource=AOO340
Revision=1327774
UpdateID=OpenOffice.org_3_en-US
UpdateURL=http://update38.services.openoffice.org/ProductUpdateService/check.Update?pkgfmt=deb
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; BundledLanguages=${AllLanguages})

(deb install)

From $ strace /opt/openoffice.org3/program/soffice:
read(3, "/usr/lib/jvm/java-6-openjdk/jre/"..., 128) = 128
read(3, "jdk/jre/lib/i386\n", 128)      = 17
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6449
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64("/etc/adabasrc", 0xbfa880a0)     = -1 ENOENT (No such file or directory)


And from the soffice shell:
# read database entries for Adabas D
if [ -f /etc/adabasrc ]; then
  . /etc/adabasrc
fi
Comment 7 Andrea Pescetti 2012-05-26 20:32:10 UTC
By the way, there are still a lot of references to Adabas D in the code, as one can see using the OpenGrok instance:

http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/desktop/scripts/soffice.sh
(and related search)

but I don't know if any of them are still relevant.
Comment 8 Marcus 2017-05-20 11:31:41 UTC
Reset assigne to the default "issues@openoffice.apache.org".