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 584347 Details for
Bug 456249
ypserv init scripts false dependency on domainname
[?]
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 moving domainname checking from ypserv to yppasswdd
bug456249.patch (text/plain), 1012 bytes, created by
Honza Horak
on 2012-05-14 11:55:28 UTC
(
hide
)
Description:
patch moving domainname checking from ypserv to yppasswdd
Filename:
MIME Type:
Creator:
Honza Horak
Created:
2012-05-14 11:55:28 UTC
Size:
1012 bytes
patch
obsolete
>diff --git a/ypserv-yppasswdd.init b/ypserv-yppasswdd.init >index cd32e18..623ddb0 100644 >--- a/ypserv-yppasswdd.init >+++ b/ypserv-yppasswdd.init >@@ -37,6 +37,14 @@ fi > RETVAL=0 > > start() { >+ DOMAINNAME=`domainname` >+ if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then >+ if [ -n "$NISDOMAIN" ]; then >+ action $"Setting NIS domain name $NISDOMAIN: " domainname $NISDOMAIN >+ else >+ exit 1 >+ fi >+ fi > echo -n $"Starting YP passwd service: " > daemon rpc.yppasswdd $YPPASSWDD_ARGS > RETVAL=$? >diff --git a/ypserv-ypserv.init b/ypserv-ypserv.init >index d8e0f8f..b946e88 100644 >--- a/ypserv-ypserv.init >+++ b/ypserv-ypserv.init >@@ -28,8 +28,6 @@ start() { > if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then > if [ -n "$NISDOMAIN" ]; then > action $"Setting NIS domain name $NISDOMAIN: " domainname $NISDOMAIN >- else >- exit 1 > fi > fi > echo -n $"Starting YP server services: "
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 456249
: 584347