[opensuse-factory] Any chance we can get rcsamba in 11.2?

Guys, One thing that has always been a pain with samba is that suse splits the init scripts for nmbd and smbd into separate scripts. Now this isn't a show-stopper by any stretch, but is there any chance we could get an rcsamba in 11.2 that would work on both? Some quick hack like the one I use would work fine: #!/bin/bash --norc usage() { [[ -n $1 ]] && echo -e "\n $1\n" echo -e " Usage: ${0##*/} {start, stop, restart, status}\n" exit 1 } [[ -z $1 ]] && usage "ERROR: No input provided" case $1 in start ) /usr/sbin/rcnmb start /usr/sbin/rcsmb start;; stop ) /usr/sbin/rcnmb stop /usr/sbin/rcsmb stop;; restart ) /usr/sbin/rcnmb restart /usr/sbin/rcsmb restart;; status ) /usr/sbin/rcnmb status /usr/sbin/rcsmb status;; * ) usage "ERROR: Invalid Input Provided" esac exit 0 The addition would not change anything in the way the daemons are handled with rcnmb and rcsmb presently, it would just offer the added convenience of an rcscript that would work on both. What say the powers that be? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org

On Tue, Oct 20, 2009 at 02:14:14AM -0500, David C. Rankin wrote:
One thing that has always been a pain with samba is that suse splits the init scripts for nmbd and smbd into separate scripts.
No, as this is a feature and not a bug. The separation of nmbd and smbd allows the user to en- or disable the nmb and smb services independently. Is this this needed in real world environments? Yes, it is needed. Or would you even start winbind with the same init script? Hey, let us re introduce /etc/rc.config with SAMBA_NMBD_START={yes,no,maybe,not_on_david_r_systems,not_on_monday} Something to laught needed at this early morning time? Check the package change log - maybe not the one from your the RPM db of your system but the one from the network:samba:STABLE repo samba.changes file in the openSUSE Build Service - and search for a change log hunk from Mon Sep 23 23:39:11 CEST 2002 ... - drop rcsamba More than seven years ago. A flash back from the good old times. :) IIRC it was Rudi who convinced or better enforced the correction. One service has to be controled by one init script. See this even as one more KISS rule.
Now this isn't a show-stopper by any stretch, but is there any chance we could get an rcsamba in 11.2 that would work on both? Some quick hack like the one I use would work fine:
No quick hack is needed. If YOU need this store it in ~/bin/ and be happy. Anyone else: Nothing to see here folks ... just keep moving please ... ;) Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany

On 20/10/09 05:35, Lars Müller wrote:
More than seven years ago. A flash back from the good old times. :)
heh.
Yes, my experience is that if you try to start more than one, it will eat your babies sooner or later, it is a bad idea(tm). -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org

On Tue, Oct 20, 2009 at 02:14:14AM -0500, David C. Rankin wrote:
One thing that has always been a pain with samba is that suse splits the init scripts for nmbd and smbd into separate scripts.
No, as this is a feature and not a bug. The separation of nmbd and smbd allows the user to en- or disable the nmb and smb services independently. Is this this needed in real world environments? Yes, it is needed. Or would you even start winbind with the same init script? Hey, let us re introduce /etc/rc.config with SAMBA_NMBD_START={yes,no,maybe,not_on_david_r_systems,not_on_monday} Something to laught needed at this early morning time? Check the package change log - maybe not the one from your the RPM db of your system but the one from the network:samba:STABLE repo samba.changes file in the openSUSE Build Service - and search for a change log hunk from Mon Sep 23 23:39:11 CEST 2002 ... - drop rcsamba More than seven years ago. A flash back from the good old times. :) IIRC it was Rudi who convinced or better enforced the correction. One service has to be controled by one init script. See this even as one more KISS rule.
Now this isn't a show-stopper by any stretch, but is there any chance we could get an rcsamba in 11.2 that would work on both? Some quick hack like the one I use would work fine:
No quick hack is needed. If YOU need this store it in ~/bin/ and be happy. Anyone else: Nothing to see here folks ... just keep moving please ... ;) Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany

On 20/10/09 05:35, Lars Müller wrote:
More than seven years ago. A flash back from the good old times. :)
heh.
Yes, my experience is that if you try to start more than one, it will eat your babies sooner or later, it is a bad idea(tm). -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Cristian Rodríguez
-
David C. Rankin
-
Lars Müller