Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309954 Details for
Bug 452326
ejabberdctl runs as wrong user, wrong hostname
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that changes hostname and adds runuser
wireshark.out (text/plain), 691 bytes, created by
Bill McGonigle
on 2008-06-20 23:24:30 UTC
(
hide
)
Description:
Patch that changes hostname and adds runuser
Filename:
MIME Type:
Creator:
Bill McGonigle
Created:
2008-06-20 23:24:30 UTC
Size:
691 bytes
patch
obsolete
>--- /usr/sbin/ejabberdctl-dist 2008-06-20 18:50:18.000000000 -0400 >+++ /usr/sbin/ejabberdctl 2008-06-20 19:07:13.000000000 -0400 >@@ -9,7 +9,7 @@ > > # define default environment variables > NODE=ejabberd >-HOST=localhost >+HOST=`hostname | cut -d. -f1` > ERLANG_NODE=$NODE@$HOST > ROOTDIR= > EJABBERD_CONFIG_PATH=$ROOTDIR/etc/ejabberd/ejabberd.cfg >@@ -139,11 +139,13 @@ > # common control function > ctl () > { >+ /sbin/runuser -s /bin/bash - ejabberd -c " \ > erl \ > $NAME ejabberdctl \ > -noinput \ > -pa $EJABBERD_EBIN \ >- -s ejabberd_ctl -extra $ERLANG_NODE $@ >+ -s ejabberd_ctl -extra $ERLANG_NODE $@ \ >+ " > result=$? > case $result in > 0) :;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 452326
: 309954 |
310000
|
310205