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 593771 Details for
Bug 834603
Correct samba spec file for DC-enabled builds
[?]
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.
Proposed DC SysVinit control script
samba.init (text/plain), 1.74 KB, created by
Giuseppe Ragusa
on 2012-06-22 14:43:08 UTC
(
hide
)
Description:
Proposed DC SysVinit control script
Filename:
MIME Type:
Creator:
Giuseppe Ragusa
Created:
2012-06-22 14:43:08 UTC
Size:
1.74 KB
patch
obsolete
>#!/bin/sh ># ># samba Bring up/down samba service ># ># chkconfig: - 91 35 ># description: Starts and stops the Samba samba daemon \ ># used to provide SMB network services. ># ># pidfile: /var/run/samba/samba.pid ># config: /etc/samba/smb.conf >### BEGIN INIT INFO ># Provides: ># Should-Start: ># Short-Description: Bring up/down samba ># Description: Bring up/down samba >### END INIT INFO > ># Source function library. >. /etc/rc.d/init.d/functions > ># Avoid using root's TMPDIR >unset TMPDIR > ># Source networking configuration. >. /etc/sysconfig/network > >if [ -f /etc/sysconfig/samba ]; then > . /etc/sysconfig/samba >fi > ># Check that networking is up. >[ ${NETWORKING} = "no" ] && exit 1 > ># Check that smb.conf exists. >[ -f /etc/samba/smb.conf ] || exit 6 > >RETVAL=0 > > >start() { > echo -n $"Starting Samba services: " > daemon samba $SMBDOPTIONS > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && touch /var/lock/subsys/samba || \ > RETVAL=1 > return $RETVAL >} > >stop() { > echo -n $"Shutting down Samba services: " > killproc samba > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/samba > return $RETVAL >} > >restart() { > stop > start >} > >reload() { > echo -n $"Reloading smb.conf file: " > killproc samba -HUP > RETVAL=$? > echo > return $RETVAL >} > >rhstatus() { > status samba > return $? >} > > ># Allow status as non-root. >if [ "$1" = status ]; then > rhstatus > exit $? >fi > ># Check that we can write to it... so non-root users stop here >[ -w /etc/samba/smb.conf ] || exit 4 > > > >case "$1" in > start) > start > ;; > stop) > stop > ;; > restart) > restart > ;; > reload) > reload > ;; > status) > rhstatus > ;; > condrestart) > [ -f /var/lock/subsys/samba ] && restart || : > ;; > *) > echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}" > exit 2 >esac > >exit $?
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 Raw
Actions:
View
Attachments on
bug 834603
:
593770
|
593771
|
594194
|
595555
|
602237
|
602245
|
609612
|
609614
|
611674
|
613981
|
616403
|
620199
|
622289
|
945120
|
945127