Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable [CORE3658] #4008

Closed
firebird-issue-importer opened this issue Nov 11, 2011 · 7 comments

Comments

@firebird-issue-importer

Submitted by: @pavel-zotov

The following command, being issued WITHOUT specifying username and password:

./bin/fbsvcmgr service_mgr action_trace_start trc_name "p1" trc_cfg ./fbtrace_probe01.conf

-- displays only starting message ("Trace session ID nnn started") and no any other messages about activity are displayed.

Enabling logging services in trace config shows that FBSVCMGR connects in such case as 'firebird' rather than 'SYSDBA' - even when ISC_USER and ISC_PASSWORD are defined.

./bin/fbsvcmgr service_mgr action_trace_start trc_name "p1" trc_cfg ./fbtrace_probe01.conf

Trace session ID 24 started
2011-11-11T13:35:34.2800 (31731:0x7fc608043810) TRACE_INIT
SESSION_24 p1

2011-11-11T13:35:34.2800 (31731:0x7fc608043810) START_SERVICE
service_mgr, (Service 0x7fc60a1dccc0, firebird, internal)
"Start Trace Session"
-TRUSTED_SVC firebird -START -NAME p1 -CONFIG <services>
enabled true
log_services true
</services>
<database %[\\/](test123).fdb>
enabled true
log_filename /var/db/firebird/fbtrace_probe01.log
log_connections true
time_threshold 0
</database>

PS. 'firebird' in this case is the same name as OS user that I'm using to login in Linux

Commits: af885a1 dfa99f2 3fa13a4 17378e0 db80e18 FirebirdSQL/fbt-repository@2c74146

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 11, 2011

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 30, 2011

Modified by: @AlexPeshkoff

summary: FBSVCMGR connects to server as 'FIREBIRD' user rather than SYSDBA though ISC_USER is defined => FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 30, 2011

Commented by: @AlexPeshkoff

For FB3 make services pick up environment variables like database attach/create does. For older branches just fixed services manager utility.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 30, 2011

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 2.1.5 [ 10420 ]

Fix Version: 2.5.2 [ 10450 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 23, 2013

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 21, 2016

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants