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 310000 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 to use `hostname -s` instead of hardcoding localhost or using cut
hostname-s.patch (text/plain), 1.02 KB, created by
Adam Goode
on 2008-06-22 18:10:05 UTC
(
hide
)
Description:
Patch to use `hostname -s` instead of hardcoding localhost or using cut
Filename:
MIME Type:
Creator:
Adam Goode
Created:
2008-06-22 18:10:05 UTC
Size:
1.02 KB
patch
obsolete
>? hostname.patch >Index: ejabberd-ejabberdctl_fix.diff >=================================================================== >RCS file: /cvs/extras/rpms/ejabberd/F-9/ejabberd-ejabberdctl_fix.diff,v >retrieving revision 1.1 >diff -u -3 -p -r1.1 ejabberd-ejabberdctl_fix.diff >--- ejabberd-ejabberdctl_fix.diff 22 Jun 2008 16:11:06 -0000 1.1 >+++ ejabberd-ejabberdctl_fix.diff 22 Jun 2008 18:08:22 -0000 >@@ -5,7 +5,7 @@ > # define default environment variables > NODE=ejabberd > -HOST=localhost >-+HOST=`hostname | cut -d. -f1` >++HOST=`hostname -s` > ERLANG_NODE=$NODE@$HOST > -ROOTDIR=@rootdir@ > +ROOTDIR= >Index: ejabberd.init >=================================================================== >RCS file: /cvs/extras/rpms/ejabberd/F-9/ejabberd.init,v >retrieving revision 1.5 >diff -u -3 -p -r1.5 ejabberd.init >--- ejabberd.init 24 May 2008 18:14:55 -0000 1.5 >+++ ejabberd.init 22 Jun 2008 18:08:22 -0000 >@@ -17,7 +17,7 @@ > > . /etc/rc.d/init.d/functions > >-node=`hostname | cut -d. -f1` >+node=`hostname -s` > > start() { > echo -n $"Starting ejabberd: "
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