On Mon, 15 Jul 2002, Ian Firla wrote: > > On Mon, 15 Jul 2002, Feeley wrote: > > > On Mon, 15 Jul 2002, Ian Firla wrote: > > > > > > > > On Mon, 15 Jul 2002, Taylor, ForrestX wrote: > > > > > > > John Dalbec wrote: > > > > > Is it feasible to change the hostname and IP address of a system without > > > > > rebooting it? What services would need to be restarted? > > > > > Thanks, > > > > > John Dalbec > > > > > > > > Yes. > > > > > > > > /sbin/service network restart > > > > > > You should be stopping and restarting services via /etc/init.d > > > > That's what /sbin/service does. It's an interface to the /etc/init.d > > stuff. > > Not to start a holy war here, but the idea is that with the Linux > Standards Base (http://www.linuxbase.org/) is all about. > > I use redhat and debian extensively in various environments, it's nice to > know where things are. I'm afraid that: > > ls /sbin/service on a debian box returns: > > ls: /sbin/service: No such file or directory
With all due respect to you and the LSB, this is a redhat support list. The answer was correct and appropriate, given the environment being run, and the forum in which the question was asked. > Indeed, until recently, one could only find init.d on redhat under > /etc/rc.d/init.d while I'm not privy to redhat's policies, it does seem > that they've moved to LSB standardised locations for more and more crucial > stuff. > > /sbin/service will like remain a symlink in redhat for some time to come > but it makes sense, if someone is just learning the system, to use the > location that's no accepted as "standard". /sbin/service isn't a symlink...it's a script...and for the sake of argument, the "SERVICEDIR=" variable in that script points to /etc/init.d. It just saves you the hassle of having to traverse to the directory, in question, or having to type in the full path to the init script in question. _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
