<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: &#8220;Service&#8221; Tool Available on Ubuntu 7.10</title>
	<atom:link href="http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:29:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dale</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-9687</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Wed, 30 Sep 2009 18:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-9687</guid>
		<description>service hails from IRIX, for the historians out there. Red Hat borrowed the chkconfig setup from ol&#039; SGI.  </description>
		<content:encoded><![CDATA[<p>service hails from IRIX, for the historians out there. Red Hat borrowed the chkconfig setup from ol&#039; SGI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-7726</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Thu, 15 Jan 2009 15:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-7726</guid>
		<description>&gt;I know that Red Hat’s classes make heavy 
&gt;use of their “service” command. IMNSHO, 
&gt;this is largely because they want people to
&gt; be used to it and not be comfortable with
&gt; other systems which don’t have it.

No, it just makes sense to use a service command. /etc/init.d ist just too cryptic. If you think it makes sense, then you are stuck in old UNIX dreams. Linux is not Unix anymore, lets move on. Linux differentiated itself from Unix for being simpler and easier to use, while at the same time not losing any power, that is what you call progress. 
I thought that the service command was a great idea by RedHat when I first saw it about 7 years ago. Now I have been using /etc/init.d on Debian for 5 and there was not one day where I found it lacking. 
service xzy restart  ist just more intiutive and human readable than /etc/init.d/xzy restart. 
There are some people that think that VI is very intuitive and that everybody should learn it, but I disagree. There is nothing that puts more newbie Linux users off than VI. VI is about 4535% more complicated than it is useful. It does not make sense to spend weeks in classes to learn how to use it, when you can get about 3 editors that do the same job easier and faster, having the &quot;magical&quot; features of menus built in and an intuitive GUI ;-)
If you are a VI crack, heck, use it, but don&#039;t inflict it on newbies, if you think that the typical Ubuntu user is interested in learning VI, you are mistaken.


&gt;However, the “service” command is really 
&gt;pretty useless. Instead of running “service

Aha, define useless? As useless as /etc/init.d/ ? It is the same. It is the same argument than you would say, instead of calling me by my last or first name, calling me by my social security number. That is also more direct, my name is after all only a alias for the SSN.
I don&#039;t have to explain to anybody that first and lastname are easier to remember than the SSN. The same holds true with the service command. 

&gt; foo reload” (for example), simply type in 
&gt;“/etc/init.d/foo reload”. Wow, that works 
&gt;just the same, but there are a few 
&gt;advantages:

1. It’s portable. Using “/etc/init.d/foo something” will work on Red Hat, SUSE, 

No, I don&#039;t think you should do that on RedHat or SuSE, because these distros are built to use the service command. It is an abstraction to the /etc/init.d thing and should be available on all systems. Of course not on the old Unixes, but they are dying out because of that, aren&#039;t they? Harsh worlds maybe, but on many unixes there is no progress anymore. Just sitting on the laurels and feeling good about being called UNIX. If you have ever compared TOP with HTOP, you will know what I mean. TOP is standard Unix, unchanged for aeons, no progress, still the old annoying errors (no way of seeing ALL tasks for example) and HTOP is a Linux invention (or BSD, beats me) and has &quot;revolutionary&quot; features like use of cursors, use of colors and intuitive usage that you need no RTFM for.

2. It’s less typing. You can use TAB (or 
Yes, that may be, but more thinking. Services are services. On any OS. /etc/init.d is not self explaining.

&gt;3. It doesn’t “lock you in” to a 
&gt;proprietary tool. OK, calling Red Hat’s 
&gt;“service” script proprietary isn’t exactly 

I am an expert in vendor lock-in and trust me, this here is not lock-in. Heck, no. We are talking about a trivial free tool. It is like saying that Linux uses VI to lock-in users, so they can never go back to Windows *grin*.. quite the oposite. VI is there to scare potential Linux users off and make them return to Windows. I know a few and have had the experience myself. VI is a P.O.S. program which does not even let you exit intuitively. You get trapped and sending it a sigterm or sigkill, acompanied with the swearing &quot;who the heck designed this ***** programm? what were they thinking?&quot; is the normal behaviour of newbie user. How are you supposed to know that the cryptic combination :q! will bail you out? Ever used that in any other program? 


&gt;The long and the short of all this is the 
&gt;one really should just learn and use the 
&gt;“portable habit” of typing “/etc/init.d/” 
&gt;instead of “service “. Christer, I would 

I disagree strongly. If you want to use it and teach it to your students, do so. I won&#039;t. I will further the use of service, because it makes sense!

Markus</description>
		<content:encoded><![CDATA[<p>&gt;I know that Red Hat’s classes make heavy<br />
&gt;use of their “service” command. IMNSHO,<br />
&gt;this is largely because they want people to<br />
&gt; be used to it and not be comfortable with<br />
&gt; other systems which don’t have it.</p>
<p>No, it just makes sense to use a service command. /etc/init.d ist just too cryptic. If you think it makes sense, then you are stuck in old UNIX dreams. Linux is not Unix anymore, lets move on. Linux differentiated itself from Unix for being simpler and easier to use, while at the same time not losing any power, that is what you call progress.<br />
I thought that the service command was a great idea by RedHat when I first saw it about 7 years ago. Now I have been using /etc/init.d on Debian for 5 and there was not one day where I found it lacking.<br />
service xzy restart  ist just more intiutive and human readable than /etc/init.d/xzy restart.<br />
There are some people that think that VI is very intuitive and that everybody should learn it, but I disagree. There is nothing that puts more newbie Linux users off than VI. VI is about 4535% more complicated than it is useful. It does not make sense to spend weeks in classes to learn how to use it, when you can get about 3 editors that do the same job easier and faster, having the &#8220;magical&#8221; features of menus built in and an intuitive GUI <img src='http://ubuntu-tutorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
If you are a VI crack, heck, use it, but don&#8217;t inflict it on newbies, if you think that the typical Ubuntu user is interested in learning VI, you are mistaken.</p>
<p>&gt;However, the “service” command is really<br />
&gt;pretty useless. Instead of running “service</p>
<p>Aha, define useless? As useless as /etc/init.d/ ? It is the same. It is the same argument than you would say, instead of calling me by my last or first name, calling me by my social security number. That is also more direct, my name is after all only a alias for the SSN.<br />
I don&#8217;t have to explain to anybody that first and lastname are easier to remember than the SSN. The same holds true with the service command. </p>
<p>&gt; foo reload” (for example), simply type in<br />
&gt;“/etc/init.d/foo reload”. Wow, that works<br />
&gt;just the same, but there are a few<br />
&gt;advantages:</p>
<p>1. It’s portable. Using “/etc/init.d/foo something” will work on Red Hat, SUSE, </p>
<p>No, I don&#8217;t think you should do that on RedHat or SuSE, because these distros are built to use the service command. It is an abstraction to the /etc/init.d thing and should be available on all systems. Of course not on the old Unixes, but they are dying out because of that, aren&#8217;t they? Harsh worlds maybe, but on many unixes there is no progress anymore. Just sitting on the laurels and feeling good about being called UNIX. If you have ever compared TOP with HTOP, you will know what I mean. TOP is standard Unix, unchanged for aeons, no progress, still the old annoying errors (no way of seeing ALL tasks for example) and HTOP is a Linux invention (or BSD, beats me) and has &#8220;revolutionary&#8221; features like use of cursors, use of colors and intuitive usage that you need no RTFM for.</p>
<p>2. It’s less typing. You can use TAB (or<br />
Yes, that may be, but more thinking. Services are services. On any OS. /etc/init.d is not self explaining.</p>
<p>&gt;3. It doesn’t “lock you in” to a<br />
&gt;proprietary tool. OK, calling Red Hat’s<br />
&gt;“service” script proprietary isn’t exactly </p>
<p>I am an expert in vendor lock-in and trust me, this here is not lock-in. Heck, no. We are talking about a trivial free tool. It is like saying that Linux uses VI to lock-in users, so they can never go back to Windows *grin*.. quite the oposite. VI is there to scare potential Linux users off and make them return to Windows. I know a few and have had the experience myself. VI is a P.O.S. program which does not even let you exit intuitively. You get trapped and sending it a sigterm or sigkill, acompanied with the swearing &#8220;who the heck designed this ***** programm? what were they thinking?&#8221; is the normal behaviour of newbie user. How are you supposed to know that the cryptic combination :q! will bail you out? Ever used that in any other program? </p>
<p>&gt;The long and the short of all this is the<br />
&gt;one really should just learn and use the<br />
&gt;“portable habit” of typing “/etc/init.d/”<br />
&gt;instead of “service “. Christer, I would </p>
<p>I disagree strongly. If you want to use it and teach it to your students, do so. I won&#8217;t. I will further the use of service, because it makes sense!</p>
<p>Markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonsjava</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3448</link>
		<dc:creator>jonsjava</dc:creator>
		<pubDate>Thu, 17 Jan 2008 22:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3448</guid>
		<description>I wish I would have known that. I wound up writing a simple script that simply added the /etc/init.d/ in front of what you were wanting to work w/. 
example:
service apache2 restart
that would run:
/etc/init.d/apache2 restart

I guess it does the same thing, but I would love to have all the other tools. Thanks for letting us know about this find.</description>
		<content:encoded><![CDATA[<p>I wish I would have known that. I wound up writing a simple script that simply added the /etc/init.d/ in front of what you were wanting to work w/.<br />
example:<br />
service apache2 restart<br />
that would run:<br />
/etc/init.d/apache2 restart</p>
<p>I guess it does the same thing, but I would love to have all the other tools. Thanks for letting us know about this find.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3064</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Sun, 25 Nov 2007 13:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3064</guid>
		<description>Thanks. I got my start with Fedora and got used to using the service command.</description>
		<content:encoded><![CDATA[<p>Thanks. I got my start with Fedora and got used to using the service command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasz</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3053</link>
		<dc:creator>Tomasz</dc:creator>
		<pubDate>Thu, 15 Nov 2007 13:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3053</guid>
		<description>As others noted, debian based distributions have invoke-rc.d which has the same role.

As for Lamont&#039;s second point: with shell completion it not much more typing. invo[TAB] po[TAB] r[TAB] and postresql is restarted.

I can see one more point for using service/invoke-rc.d. See, initscripts aren&#039;t guaranted to stay. upstart rules, D-Bus activation, Solaris SMF, daemontools, other init systems, they all do not have initscripts or have them modified. service/invoke-rc.d should be viewed as abstraction layer for them. Use &quot;service  somethin start&quot;. Do not choose between &quot;svcadm enable something&quot;, &quot;/etc/init.d/something start&quot;, &quot;/etc/rc.d/rc.something start&quot;, &quot;dbus-send com.ubuntu.upstart.Start something&quot;, &quot;svc -o /service/something&quot; or billion other methods .</description>
		<content:encoded><![CDATA[<p>As others noted, debian based distributions have invoke-rc.d which has the same role.</p>
<p>As for Lamont&#8217;s second point: with shell completion it not much more typing. invo[TAB] po[TAB] r[TAB] and postresql is restarted.</p>
<p>I can see one more point for using service/invoke-rc.d. See, initscripts aren&#8217;t guaranted to stay. upstart rules, D-Bus activation, Solaris SMF, daemontools, other init systems, they all do not have initscripts or have them modified. service/invoke-rc.d should be viewed as abstraction layer for them. Use &#8220;service  somethin start&#8221;. Do not choose between &#8220;svcadm enable something&#8221;, &#8220;/etc/init.d/something start&#8221;, &#8220;/etc/rc.d/rc.something start&#8221;, &#8220;dbus-send com.ubuntu.upstart.Start something&#8221;, &#8220;svc -o /service/something&#8221; or billion other methods .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3054</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Wed, 14 Nov 2007 23:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3054</guid>
		<description>Thanks for this. I always missed the redhat way of restarting service.</description>
		<content:encoded><![CDATA[<p>Thanks for this. I always missed the redhat way of restarting service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Smith</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3059</link>
		<dc:creator>Jakob Smith</dc:creator>
		<pubDate>Wed, 14 Nov 2007 22:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3059</guid>
		<description>Thanks for a very useful post. I&#039;ve become used to the service command from Mandriva/PCLinuxOS and have wondered what to do here in Ubuntu.</description>
		<content:encoded><![CDATA[<p>Thanks for a very useful post. I&#8217;ve become used to the service command from Mandriva/PCLinuxOS and have wondered what to do here in Ubuntu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lamont Peterson</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3056</link>
		<dc:creator>Lamont Peterson</dc:creator>
		<pubDate>Wed, 14 Nov 2007 17:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3056</guid>
		<description>I know that Red Hat&#039;s classes make heavy use of their &quot;service&quot; command. IMNSHO, this is largely because they want people to be used to it and not be comfortable with other systems which don&#039;t have it.

However, the &quot;service&quot; command is really pretty useless.  Instead of running &quot;service foo reload&quot; (for example), simply type in &quot;/etc/init.d/foo reload&quot;. Wow, that works just the same, but there are a few advantages:

1.  It&#039;s portable.  Using &quot;/etc/init.d/foo something&quot; will work on Red Hat, SUSE, Solaris, (Open&#124;Free&#124;Net)BSD, AIX, IRIX, HP-UX, zOS, UNICOS, etc., etc., etc. In other words, every UNIX and UNIX-like OS I&#039;ve ever run into.

2.  It&#039;s less typing. You can use TAB (or ESC, ESC, depending on your shell) completion to save keystrokes and to find filenames that differ a little from one system to the next.

3.  It doesn&#039;t &quot;lock you in&quot; to a proprietary tool. OK, calling Red Hat&#039;s &quot;service&quot; script proprietary isn&#039;t exactly a fair characterization. For a long time, they&#039;ve been the only ones who had it, but there is a similar implementation now available on SUSE Linux Enterprise Server and now Ubuntu. They&#039;re doing that to help people make the transition from Red Hat a little more easily.

The long and the short of all this is the one really should just learn and use the &quot;portable habit&quot; of typing &quot;/etc/init.d/&quot; instead of &quot;service &quot;. Christer, I would hope that you would do that in your Red Hat classes, too. Trust me when I say that your students will appreciate that approach.</description>
		<content:encoded><![CDATA[<p>I know that Red Hat&#8217;s classes make heavy use of their &#8220;service&#8221; command. IMNSHO, this is largely because they want people to be used to it and not be comfortable with other systems which don&#8217;t have it.</p>
<p>However, the &#8220;service&#8221; command is really pretty useless.  Instead of running &#8220;service foo reload&#8221; (for example), simply type in &#8220;/etc/init.d/foo reload&#8221;. Wow, that works just the same, but there are a few advantages:</p>
<p>1.  It&#8217;s portable.  Using &#8220;/etc/init.d/foo something&#8221; will work on Red Hat, SUSE, Solaris, (Open|Free|Net)BSD, AIX, IRIX, HP-UX, zOS, UNICOS, etc., etc., etc. In other words, every UNIX and UNIX-like OS I&#8217;ve ever run into.</p>
<p>2.  It&#8217;s less typing. You can use TAB (or ESC, ESC, depending on your shell) completion to save keystrokes and to find filenames that differ a little from one system to the next.</p>
<p>3.  It doesn&#8217;t &#8220;lock you in&#8221; to a proprietary tool. OK, calling Red Hat&#8217;s &#8220;service&#8221; script proprietary isn&#8217;t exactly a fair characterization. For a long time, they&#8217;ve been the only ones who had it, but there is a similar implementation now available on SUSE Linux Enterprise Server and now Ubuntu. They&#8217;re doing that to help people make the transition from Red Hat a little more easily.</p>
<p>The long and the short of all this is the one really should just learn and use the &#8220;portable habit&#8221; of typing &#8220;/etc/init.d/&#8221; instead of &#8220;service &#8220;. Christer, I would hope that you would do that in your Red Hat classes, too. Trust me when I say that your students will appreciate that approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus Runesson</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3061</link>
		<dc:creator>Magnus Runesson</dc:creator>
		<pubDate>Wed, 14 Nov 2007 16:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3061</guid>
		<description>The differens between /etc/init.d and service is that service sets all environment variables as they are when calling the init-scripts at boot.

When doing /etc/init.d you may inherit some variables from the shell you call it from</description>
		<content:encoded><![CDATA[<p>The differens between /etc/init.d and service is that service sets all environment variables as they are when calling the init-scripts at boot.</p>
<p>When doing /etc/init.d you may inherit some variables from the shell you call it from</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LaGrange</title>
		<link>http://ubuntu-tutorials.com/2007/11/13/service-tool-available-on-ubuntu-710/#comment-3055</link>
		<dc:creator>LaGrange</dc:creator>
		<pubDate>Wed, 14 Nov 2007 11:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=503#comment-3055</guid>
		<description>&quot;–status-all does nothing on Debian&quot;
And sadly it can&#039;t do anything. Upstart FTW?</description>
		<content:encoded><![CDATA[<p>&#8220;–status-all does nothing on Debian&#8221;<br />
And sadly it can&#8217;t do anything. Upstart FTW?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/6 queries in 0.004 seconds using disk: basic
Object Caching 313/314 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-02-09 19:04:09 -->
