stop cups starting at boot - Slackware

This is a discussion on stop cups starting at boot - Slackware ; I'm currently never using cups, I have no printer, so I would like to stop slackware from loading it at every boot. The file /etc/rc.d/rc.cupsd is already set to be not executable. but cupsd is still being loaded at every ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 31

Thread: stop cups starting at boot

  1. stop cups starting at boot

    I'm currently never using cups, I have no printer, so I would like to stop
    slackware from loading it at every boot. The file /etc/rc.d/rc.cupsd is
    already set to be not executable. but cupsd is still being loaded at every
    boot.

  2. Re: stop cups starting at boot

    On Sat, 07 Jun 2008 14:35:40 +0000, heavytull wrote:

    > I'm currently never using cups, I have no printer, so I would like to
    > stop slackware from loading it at every boot. The file
    > /etc/rc.d/rc.cupsd is already set to be not executable. but cupsd is
    > still being loaded at every boot.


    try rc.cups. This is the file being used in rc.M.



    --
    Peter

  3. Re: stop cups starting at boot

    On Sat, 07 Jun 2008 14:35:40 +0000, heavytull wrote:

    > I'm currently never using cups, I have no printer, so I would like to stop
    > slackware from loading it at every boot. The file /etc/rc.d/rc.cupsd is
    > already set to be not executable. but cupsd is still being loaded at every
    > boot.


    There isn't any "rc.cupsd" in /etc/rc.d. The proper file name is
    "rc.cups". Make that non-executable and cups will not start at boot.


    --
    "Ubuntu" -- an African word, meaning "Slackware is too hard for me".
    Now filtering out all posts originating from Google Groups.
    The Usenet Improvement Project: http://improve-usenet.org


  4. Re: stop cups starting at boot

    heavytull wrote:

    > I'm currently never using cups, I have no printer, so I would like to stop
    > slackware from loading it at every boot. The file /etc/rc.d/rc.cupsd is
    > already set to be not executable. but cupsd is still being loaded at every
    > boot.



    chmod -x /etc/rc.d/rc.cups


    --
    Davide Consonni

  5. Re: stop cups starting at boot

    heavytull wrote:

    > I'm currently never using cups, I have no printer, so I would like to
    > stop slackware from loading it at every boot.


    Run < pkgtool > select < Setup > uncomment < Cups >
    --
    Two Ravens
    "...hit the squirrel..."

  6. Re: stop cups starting at boot

    On Sat, 07 Jun 2008 14:48:23 +0000, Peter wrote:

    > On Sat, 07 Jun 2008 14:35:40 +0000, heavytull wrote:
    >
    >> I'm currently never using cups, I have no printer, so I would like to
    >> stop slackware from loading it at every boot. The file
    >> /etc/rc.d/rc.cupsd is already set to be not executable. but cupsd is
    >> still being loaded at every boot.

    >
    > try rc.cups. This is the file being used in rc.M.


    ouch! I made a mistake, I meant rc.cups
    this file is already set as non-executable, but cups is still being loaded
    at boot.
    There are directories rc0.d, rc1.d, rc2.d... in /etc/rc.d/ in each wich
    there is a file K00cups set as executable. does anyone know why there are
    those directories and why there's an active cups loading script in it?

  7. Re: stop cups starting at boot

    On Sat, 14 Jun 2008 14:40:08 +0000, heavytull wrote:

    > There are directories rc0.d, rc1.d, rc2.d... in /etc/rc.d/ in each wich
    > there is a file K00cups set as executable. does anyone know why there are
    > those directories and why there's an active cups loading script in it?


    Those are used for a Sys V type init sequence... make the file
    /etc/rc.sysvinit non-executable to stop those from being used.


    --
    "Ubuntu" -- an African word, meaning "Slackware is too hard for me".
    Now filtering out all posts originating from Google Groups.
    The Usenet Improvement Project: http://improve-usenet.org


  8. Re: stop cups starting at boot

    heavytull wrote:
    > there is a file K00cups set as executable. does anyone know why there are
    > those directories and why there's an active cups loading script in it?


    K00 is the "kill" script for cups (the corresponding startup script
    would be Scups) and both should be symbolic links TO
    the rc.cups script you already made non-executable (essentially
    the S one uses it with a "start" argument and the K one does it
    again with the "stop" argument during shutdown).
    --
    ************************************************** ******************
    ** Eef Hartman, Delft University of Technology, dept. EWI/TW **
    ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
    ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
    ************************************************** ******************

  9. Re: stop cups starting at boot

    On Sat, 14 Jun 2008 19:46:34 -0500, Dan C wrote:

    > On Sat, 14 Jun 2008 14:40:08 +0000, heavytull wrote:
    >
    >> There are directories rc0.d, rc1.d, rc2.d... in /etc/rc.d/ in each wich
    >> there is a file K00cups set as executable. does anyone know why there
    >> are those directories and why there's an active cups loading script in
    >> it?

    >
    > Those are used for a Sys V type init sequence... make the file
    > /etc/rc.sysvinit non-executable to stop those from being used.


    this would ruin many things

  10. Re: stop cups starting at boot

    On Mon, 16 Jun 2008 19:47:34 +0000, heavytull wrote:

    >>> There are directories rc0.d, rc1.d, rc2.d... in /etc/rc.d/ in each wich
    >>> there is a file K00cups set as executable. does anyone know why there
    >>> are those directories and why there's an active cups loading script in
    >>> it?


    >> Those are used for a Sys V type init sequence... make the file
    >> /etc/rc.sysvinit non-executable to stop those from being used.


    > this would ruin many things


    Not really, at least on a "normal" Slack installation, in which these Sys
    V inits are not even used. They are only there for "aftermarket" stuff
    which most folks don't ever install. The rc.sysvinit file is
    non-executable on all my Slackware systems, and things are fine.


    --
    "Bother!" said Pooh, as he slipped his date a Purple Microdot.


  11. Re: stop cups starting at boot

    Dan C wrote:
    > On Mon, 16 Jun 2008 19:47:34 +0000, heavytull wrote:
    >
    >>>> There are directories rc0.d, rc1.d, rc2.d... in /etc/rc.d/ in each wich
    >>>> there is a file K00cups set as executable. does anyone know why there
    >>>> are those directories and why there's an active cups loading script in
    >>>> it?

    >
    >>> Those are used for a Sys V type init sequence... make the file
    >>> /etc/rc.sysvinit non-executable to stop those from being used.

    >
    >> this would ruin many things

    >
    > Not really, at least on a "normal" Slack installation, in which these Sys
    > V inits are not even used. They are only there for "aftermarket" stuff
    > which most folks don't ever install. The rc.sysvinit file is
    > non-executable on all my Slackware systems, and things are fine.


    And if K00cups files of symlinks exist in the /etc/rc?.d directories
    that would be an indication that a version of cups is, or has been,
    installed that is not part of the slackware distribution.

    Could it be such ab 'alien' cups that is loaded during your boot
    process?

    Try something like: grep -R cups /etc/rc*.d
    to find all lines in your startup scripts that reference 'cups' somehow.


    Regards,

    Kees.

    --
    Kees Theunissen.

  12. Re: stop cups starting at boot

    On Mon, 16 Jun 2008, Dan C wrote:
    > On Mon, 16 Jun 2008 19:47:34 +0000, heavytull wrote:
    >>>> There are directories rc0.d, rc1.d, rc2.d... in /etc/rc.d/ in each wich
    >>>> there is a file K00cups set as executable. does anyone know why there
    >>>> are those directories and why there's an active cups loading script in
    >>>> it?

    >
    >>> Those are used for a Sys V type init sequence... make the file
    >>> /etc/rc.sysvinit non-executable to stop those from being used.

    >
    >> this would ruin many things

    >
    > Not really, at least on a "normal" Slack installation, in which these Sys
    > V inits are not even used. They are only there for "aftermarket" stuff
    > which most folks don't ever install. The rc.sysvinit file is
    > non-executable on all my Slackware systems, and things are fine.


    heavytull does not run a standard system, and has trouble relating
    what he has done or why he did it (- check his posting history).
    I think he may also have some difficulty with the english language.

    I'd take a wild-ass guess that he has at some point, installed a
    non-slackware version of cups, which populated the otherwise empty
    /etc/rc.d/rc[0123456].d set. Who knows? Prior experience has
    shown me that myself I am unable to offer much help to this one.

    nonetheless, something like this:

    find /etc/rc.d -type f | xargs grep -i cups

    should provide a clue as to which files might need to be
    disabled (edited, chmod'd, removed, whatever).

    HTH
    --
    William Hunt, Portland Oregon USA

  13. Re: stop cups starting at boot

    On Mon, 16 Jun 2008 15:52:21 -0700, William Hunt wrote:

    > heavytull does not run a standard system, and has trouble relating what
    > he has done or why he did it (- check his posting history).

    I'm running a standard slackware now since slack12.0;

    at the begging I installed slackware I installed many non tgz software. I
    installed once an updated version of cups, but later with slack 11.0 i
    removed it (cd /"src dir of the new cups", make uninstall, it should have
    removed cups)


    > I think he
    > may also have some difficulty with the english language.
    >

    I'm not English native;

    > I'd take a wild-ass guess that he has at some point, installed a
    > non-slackware version of cups, which populated the otherwise empty
    > /etc/rc.d/rc[0123456].d set. Who knows?

    well done!
    I probably posted stg about that at that time, maybe you have seen it.


    > Prior experience has shown me
    > that myself I am unable to offer much help to this one.
    >

    me?
    ok, I learnt quite a lot since then, it's been quite long I'm not
    installing stuff like that. When I need to install some, I first check
    whether there is a slack package somewhere on slackbuild.org.
    anyway, I never update slackware original packages before their official
    realease of a new slackware.

    So you can try again to help, i think.

    > nonetheless, something like this:
    >
    > find /etc/rc.d -type f | xargs grep -i cups
    >

    ok i did, it seems that rc.M is loading cups!
    look below

    $ find /etc/rc.d -type f | xargs grep -i cups
    /etc/rc.d/rc.cups:# "$Id: cups.sh.in 6649 2007-07-11 21:46:42Z mike $"
    /etc/rc.d/rc.cups:# Startup/shutdown script for the Common UNIX Printing
    System (CUPS).
    /etc/rc.d/rc.cups:# file is missing or damaged, see the license at
    "http://www.cups.org/".
    /etc/rc.d/rc.cups:# Printing System (CUPS).
    /etc/rc.d/rc.cups:# PROVIDE: cups
    /etc/rc.d/rc.cups: if test "${CUPS:=-YES-}" = "-NO-"; then
    /etc/rc.d/rc.cups:# cause cupsd to set TempDir to a user's temporary
    directory instead
    /etc/rc.d/rc.cups:# See if the CUPS server (cupsd) is running...
    /etc/rc.d/rc.cups: pid=`ps -e | awk '{if (match($4, ".*/cupsd
    $") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc.cups: pid=`ps -e | nawk '{if (match($4, ".*/cupsd
    $") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc.cups: pid=`ps -e | awk '{if (match($6, ".*/cupsd
    $") || $6 == "cupsd") print $1}'`
    /etc/rc.d/rc.cups: pid=`ps -e | awk '{if (match($5, ".*/cupsd
    $") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc.cups: pid=`ps ax | awk '{if (match($5, ".*/cupsd
    $") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc.cups:# Start or stop the CUPS server based upon the first
    argument to the script.
    /etc/rc.d/rc.cups: if $IS_ON cups; then
    /etc/rc.d/rc.cups: /usr/sbin/cupsd
    /etc/rc.d/rc.cups: $ECHO "cups:
    unable to $1 scheduler."
    /etc/rc.d/rc.cups: $ECHO "cups: ${1}ed scheduler."
    /etc/rc.d/rc.cups: $ECHO "cups: stopped scheduler."
    /etc/rc.d/rc.cups: echo "cups: scheduler is running."
    /etc/rc.d/rc.cups: echo "cups: scheduler is not
    running."
    /etc/rc.d/rc.cups: echo "Starting CUPS Server"
    /etc/rc.d/rc.cups: echo "Starting CUPS Server"
    /etc/rc.d/rc.cups: echo "Usage: cups {reload|restart|start|
    status|stop}"
    /etc/rc.d/rc.cups:# End of "$Id: cups.sh.in 6649 2007-07-11 21:46:42Z mike
    $".
    /etc/rc.d/rc.M:# Start the print spooling system. This will usually be
    LPRng (lpd) or CUPS.
    /etc/rc.d/rc.M:if [ -x /etc/rc.d/rc.cups ]; then
    /etc/rc.d/rc.M: # Start CUPS:
    /etc/rc.d/rc.M: /etc/rc.d/rc.cups start
    grep: /etc/rc.d/rc.wireless.conf: Permission denied
    /etc/rc.d/init.d/cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike $"
    /etc/rc.d/init.d/cups:# Startup/shutdown script for the Common UNIX
    Printing System (CUPS).
    /etc/rc.d/init.d/cups:# Attn: CUPS Licensing Information
    /etc/rc.d/init.d/cups:# EMail: cups-info@cups.org
    /etc/rc.d/init.d/cups:# WWW: http://www.cups.org
    /etc/rc.d/init.d/cups:# Printing System (CUPS).
    /etc/rc.d/init.d/cups:# PROVIDE: cups
    /etc/rc.d/init.d/cups: if test "${CUPS:=-YES-}" = "-NO-"; then
    /etc/rc.d/init.d/cups:# cause cupsd to set TempDir to a user's temporary
    directory instead
    /etc/rc.d/init.d/cups:# See if the CUPS server (cupsd) is running...
    /etc/rc.d/init.d/cups: pid=`ps -e | awk '{if (match($4, ".*/cupsd
    $") || $4 == "cupsd") print $1}'`
    /etc/rc.d/init.d/cups: pid=`ps -e | nawk '{if (match($4, ".*/cupsd
    $") || $4 == "cupsd") print $1}'`
    /etc/rc.d/init.d/cups: pid=`ps -e | awk '{if (match($6, ".*/cupsd
    $") || $6 == "cupsd") print $1}'`
    /etc/rc.d/init.d/cups: pid=`ps -e | awk '{if (match($5, ".*/cupsd
    $") || $5 == "cupsd") print $1}'`
    /etc/rc.d/init.d/cups: pid=`ps ax | awk '{if (match($5, ".*/cupsd
    $") || $5 == "cupsd") print $1}'`
    /etc/rc.d/init.d/cups:# Start or stop the CUPS server based upon the first
    argument to the script.
    /etc/rc.d/init.d/cups: if $IS_ON cups; then
    /etc/rc.d/init.d/cups: /usr/sbin/cupsd
    /etc/rc.d/init.d/cups: $ECHO "cups:
    unable to $1 scheduler."
    /etc/rc.d/init.d/cups: $ECHO "cups: ${1}ed scheduler."
    /etc/rc.d/init.d/cups: $ECHO "cups: stopped scheduler."
    /etc/rc.d/init.d/cups: echo "cups: scheduler is running."
    /etc/rc.d/init.d/cups: echo "cups: scheduler is not
    running."
    /etc/rc.d/init.d/cups: echo "Usage: cups {reload|restart|start|
    status|stop}"
    /etc/rc.d/init.d/cups:# End of "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z
    mike $".
    /etc/rc.d/rc0.d/K00cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    $"
    /etc/rc.d/rc0.d/K00cups:# Startup/shutdown script for the Common UNIX
    Printing System (CUPS).
    /etc/rc.d/rc0.d/K00cups:# Attn: CUPS Licensing Information
    /etc/rc.d/rc0.d/K00cups:# EMail: cups-info@cups.org
    /etc/rc.d/rc0.d/K00cups:# WWW: http://www.cups.org
    /etc/rc.d/rc0.d/K00cups:# Printing System (CUPS).
    /etc/rc.d/rc0.d/K00cups:# PROVIDE: cups
    /etc/rc.d/rc0.d/K00cups: if test "${CUPS:=-YES-}" = "-NO-";
    then
    /etc/rc.d/rc0.d/K00cups:# cause cupsd to set TempDir to a user's temporary
    directory instead
    /etc/rc.d/rc0.d/K00cups:# See if the CUPS server (cupsd) is running...
    /etc/rc.d/rc0.d/K00cups: pid=`ps -e | awk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc0.d/K00cups: pid=`ps -e | nawk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc0.d/K00cups: pid=`ps -e | awk '{if (match($6,
    ".*/cupsd$") || $6 == "cupsd") print $1}'`
    /etc/rc.d/rc0.d/K00cups: pid=`ps -e | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc0.d/K00cups: pid=`ps ax | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc0.d/K00cups:# Start or stop the CUPS server based upon the
    first argument to the script.
    /etc/rc.d/rc0.d/K00cups: if $IS_ON cups; then
    /etc/rc.d/rc0.d/K00cups: /usr/sbin/cupsd
    /etc/rc.d/rc0.d/K00cups: $ECHO
    "cups: unable to $1 scheduler."
    /etc/rc.d/rc0.d/K00cups: $ECHO "cups: ${1}ed
    scheduler."
    /etc/rc.d/rc0.d/K00cups: $ECHO "cups: stopped
    scheduler."
    /etc/rc.d/rc0.d/K00cups: echo "cups: scheduler is
    running."
    /etc/rc.d/rc0.d/K00cups: echo "cups: scheduler is
    not running."
    /etc/rc.d/rc0.d/K00cups: echo "Usage: cups {reload|restart|
    start|status|stop}"
    /etc/rc.d/rc0.d/K00cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    14:29:53Z mike $".
    /etc/rc.d/rc2.d/S99cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    $"
    /etc/rc.d/rc2.d/S99cups:# Startup/shutdown script for the Common UNIX
    Printing System (CUPS).
    /etc/rc.d/rc2.d/S99cups:# Attn: CUPS Licensing Information
    /etc/rc.d/rc2.d/S99cups:# EMail: cups-info@cups.org
    /etc/rc.d/rc2.d/S99cups:# WWW: http://www.cups.org
    /etc/rc.d/rc2.d/S99cups:# Printing System (CUPS).
    /etc/rc.d/rc2.d/S99cups:# PROVIDE: cups
    /etc/rc.d/rc2.d/S99cups: if test "${CUPS:=-YES-}" = "-NO-";
    then
    /etc/rc.d/rc2.d/S99cups:# cause cupsd to set TempDir to a user's temporary
    directory instead
    /etc/rc.d/rc2.d/S99cups:# See if the CUPS server (cupsd) is running...
    /etc/rc.d/rc2.d/S99cups: pid=`ps -e | awk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc2.d/S99cups: pid=`ps -e | nawk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc2.d/S99cups: pid=`ps -e | awk '{if (match($6,
    ".*/cupsd$") || $6 == "cupsd") print $1}'`
    /etc/rc.d/rc2.d/S99cups: pid=`ps -e | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc2.d/S99cups: pid=`ps ax | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc2.d/S99cups:# Start or stop the CUPS server based upon the
    first argument to the script.
    /etc/rc.d/rc2.d/S99cups: if $IS_ON cups; then
    /etc/rc.d/rc2.d/S99cups: /usr/sbin/cupsd
    /etc/rc.d/rc2.d/S99cups: $ECHO
    "cups: unable to $1 scheduler."
    /etc/rc.d/rc2.d/S99cups: $ECHO "cups: ${1}ed
    scheduler."
    /etc/rc.d/rc2.d/S99cups: $ECHO "cups: stopped
    scheduler."
    /etc/rc.d/rc2.d/S99cups: echo "cups: scheduler is
    running."
    /etc/rc.d/rc2.d/S99cups: echo "cups: scheduler is
    not running."
    /etc/rc.d/rc2.d/S99cups: echo "Usage: cups {reload|restart|
    start|status|stop}"
    /etc/rc.d/rc2.d/S99cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    14:29:53Z mike $".
    /etc/rc.d/rc3.d/S99cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    $"
    /etc/rc.d/rc3.d/S99cups:# Startup/shutdown script for the Common UNIX
    Printing System (CUPS).
    /etc/rc.d/rc3.d/S99cups:# Attn: CUPS Licensing Information
    /etc/rc.d/rc3.d/S99cups:# EMail: cups-info@cups.org
    /etc/rc.d/rc3.d/S99cups:# WWW: http://www.cups.org
    /etc/rc.d/rc3.d/S99cups:# Printing System (CUPS).
    /etc/rc.d/rc3.d/S99cups:# PROVIDE: cups
    /etc/rc.d/rc3.d/S99cups: if test "${CUPS:=-YES-}" = "-NO-";
    then
    /etc/rc.d/rc3.d/S99cups:# cause cupsd to set TempDir to a user's temporary
    directory instead
    /etc/rc.d/rc3.d/S99cups:# See if the CUPS server (cupsd) is running...
    /etc/rc.d/rc3.d/S99cups: pid=`ps -e | awk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc3.d/S99cups: pid=`ps -e | nawk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc3.d/S99cups: pid=`ps -e | awk '{if (match($6,
    ".*/cupsd$") || $6 == "cupsd") print $1}'`
    /etc/rc.d/rc3.d/S99cups: pid=`ps -e | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc3.d/S99cups: pid=`ps ax | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc3.d/S99cups:# Start or stop the CUPS server based upon the
    first argument to the script.
    /etc/rc.d/rc3.d/S99cups: if $IS_ON cups; then
    /etc/rc.d/rc3.d/S99cups: /usr/sbin/cupsd
    /etc/rc.d/rc3.d/S99cups: $ECHO
    "cups: unable to $1 scheduler."
    /etc/rc.d/rc3.d/S99cups: $ECHO "cups: ${1}ed
    scheduler."
    /etc/rc.d/rc3.d/S99cups: $ECHO "cups: stopped
    scheduler."
    /etc/rc.d/rc3.d/S99cups: echo "cups: scheduler is
    running."
    /etc/rc.d/rc3.d/S99cups: echo "cups: scheduler is
    not running."
    /etc/rc.d/rc3.d/S99cups: echo "Usage: cups {reload|restart|
    start|status|stop}"
    /etc/rc.d/rc3.d/S99cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    14:29:53Z mike $".
    /etc/rc.d/rc5.d/S99cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    $"
    /etc/rc.d/rc5.d/S99cups:# Startup/shutdown script for the Common UNIX
    Printing System (CUPS).
    /etc/rc.d/rc5.d/S99cups:# Attn: CUPS Licensing Information
    /etc/rc.d/rc5.d/S99cups:# EMail: cups-info@cups.org
    /etc/rc.d/rc5.d/S99cups:# WWW: http://www.cups.org
    /etc/rc.d/rc5.d/S99cups:# Printing System (CUPS).
    /etc/rc.d/rc5.d/S99cups:# PROVIDE: cups
    /etc/rc.d/rc5.d/S99cups: if test "${CUPS:=-YES-}" = "-NO-";
    then
    /etc/rc.d/rc5.d/S99cups:# cause cupsd to set TempDir to a user's temporary
    directory instead
    /etc/rc.d/rc5.d/S99cups:# See if the CUPS server (cupsd) is running...
    /etc/rc.d/rc5.d/S99cups: pid=`ps -e | awk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc5.d/S99cups: pid=`ps -e | nawk '{if (match($4,
    ".*/cupsd$") || $4 == "cupsd") print $1}'`
    /etc/rc.d/rc5.d/S99cups: pid=`ps -e | awk '{if (match($6,
    ".*/cupsd$") || $6 == "cupsd") print $1}'`
    /etc/rc.d/rc5.d/S99cups: pid=`ps -e | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc5.d/S99cups: pid=`ps ax | awk '{if (match($5,
    ".*/cupsd$") || $5 == "cupsd") print $1}'`
    /etc/rc.d/rc5.d/S99cups:# Start or stop the CUPS server based upon the
    first argument to the script.
    /etc/rc.d/rc5.d/S99cups: if $IS_ON cups; then
    /etc/rc.d/rc5.d/S99cups: /usr/sbin/cupsd
    /etc/rc.d/rc5.d/S99cups: $ECHO
    "cups: unable to $1 scheduler."
    /etc/rc.d/rc5.d/S99cups: $ECHO "cups: ${1}ed
    scheduler."
    /etc/rc.d/rc5.d/S99cups: $ECHO "cups: stopped
    scheduler."
    /etc/rc.d/rc5.d/S99cups: echo "cups: scheduler is
    running."
    /etc/rc.d/rc5.d/S99cups: echo "cups: scheduler is
    not running."
    /etc/rc.d/rc5.d/S99cups: echo "Usage: cups {reload|restart|
    start|status|stop}"
    /etc/rc.d/rc5.d/S99cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    14:29:53Z mike $".
    /etc/rc.d/rc.M.bak:# Start the print spooling system. This will usually
    be LPRng (lpd) or CUPS.
    /etc/rc.d/rc.M.bak:if [ -x /etc/rc.d/rc.cups ]; then
    /etc/rc.d/rc.M.bak: # Start CUPS:
    /etc/rc.d/rc.M.bak: /etc/rc.d/rc.cups start
    grep: /etc/rc.d/rc.wireless.conf~: Permission denied
    /etc/rc.d/rc.hplip:# Note, this script file must start before cupsd.
    /etc/rc.d/rc.hplip:# For chkconfig the HPLIP priority (ie: 50) must be
    less the cupsd
    /etc/rc.d/rc.hplip:# For LSB install_initd the cups script file should
    have "hplip" in the
    /etc/rc.d/rc.hplip:# killall -HUP cupsd
    grep: /etc/rc.d/rc.wireless.conf.new~: Permission denied

    > should provide a clue as to which files might need to be disabled
    > (edited, chmod'd, removed, whatever).
    >
    > HTH



  14. Re: stop cups starting at boot

    On Tue, 17 Jun 2008 18:59:26 +0000, heavytull wrote:

    >> find /etc/rc.d -type f | xargs grep -i cups


    > ok i did, it seems that rc.M is loading cups!
    > look below


    Dude.

    If you would just do what I already suggested, it should stop cups from
    loading. Here it is again:

    (As root):
    chmod 644 /etc/rc.d/rc.cups
    chmod 644 /etc/rc.d/rc.sysvinit

    That's it. Then just reboot. Done.


    --
    "Bother!" said Pooh, as he put Spanish Fly in Christopher Robin's drink.


  15. Re: stop cups starting at boot

    On Tue, 17 Jun 2008, heavytull wrote:
    > On Mon, 16 Jun 2008 15:52:21 -0700, William Hunt wrote:
    >> heavytull does not run a standard system, and has trouble relating what
    >> he has done or why he did it (- check his posting history).

    > I'm running a standard slackware now since slack12.0;


    ummm, NO, you are NOT running a standard slackware system.
    it is NOT standard slackware to have any files in the sysvinit
    directories /etc/rc.d/rc[123456].d/ directories. It is NOT
    standard slackware to have a /etc/rc.d/init.d/ directory.

    >
    > at the begging I installed slackware I installed many non tgz software. I
    > installed once an updated version of cups, but later with slack 11.0 i
    > removed it (cd /"src dir of the new cups", make uninstall, it should have
    > removed cups)


    The evidence seems to show that your 'uninstall' did not work,
    leaving you with the problems you now face: a boogered-up set
    of startup scripts.


    >
    >> I think he
    >> may also have some difficulty with the english language.

    > I'm not English native;


    We can try to work around that. But your english is still
    better than any other language I speak :*)

    >
    >> I'd take a wild-ass guess that he has at some point, installed a
    >> non-slackware version of cups, which populated the otherwise empty
    >> /etc/rc.d/rc[0123456].d set. Who knows?

    > well done!
    > I probably posted stg about that at that time, maybe you have seen it.


    No.

    >
    >> Prior experience has shown me
    >> that myself I am unable to offer much help to this one.
    >>

    > me?
    > ok, I learnt quite a lot since then, it's been quite long I'm not
    > installing stuff like that. When I need to install some, I first check
    > whether there is a slack package somewhere on slackbuild.org.
    > anyway, I never update slackware original packages before their official
    > realease of a new slackware.
    > So you can try again to help, i think.
    >> nonetheless, something like this:
    >> find /etc/rc.d -type f | xargs grep -i cups
    >>

    > ok i did, it seems that rc.M is loading cups!
    > look below


    Look again, this time more carefully: don't you see all the
    files in /etc/rc.d/rc[123456].d/ and /etc/rc.d/init.d/ ????

    ---NONE--- of those files are standard slackware.
    ---ANY--- of those files could be causing your symptoms.

    Dan C. gave you good advice - use it.
    If Dan C's advice leads to any unexpected side-effects,
    then it is easily reversed with a 'chmod a-x', so there
    is little risk. --IF-- it causes unexpected side-effects,
    then your /etc/rc.d/ is even more non-standard and even more
    screwed up than you have already told us.


    I repeat, follow Dan C's advice.


    >
    > $ find /etc/rc.d -type f | xargs grep -i cups
    > /etc/rc.d/rc.cups:# "$Id: cups.sh.in 6649 2007-07-11 21:46:42Z mike $"
    > /etc/rc.d/rc.cups:# Startup/shutdown script for the Common UNIX Printing
    > System (CUPS).
    > /etc/rc.d/rc.cups:# file is missing or damaged, see the license at
    > "http://www.cups.org/".
    > /etc/rc.d/rc.cups:# Printing System (CUPS).
    > /etc/rc.d/rc.cups:# PROVIDE: cups
    > /etc/rc.d/rc.cups: if test "${CUPS:=-YES-}" = "-NO-"; then
    > /etc/rc.d/rc.cups:# cause cupsd to set TempDir to a user's temporary
    > directory instead
    > /etc/rc.d/rc.cups:# See if the CUPS server (cupsd) is running...
    > /etc/rc.d/rc.cups: pid=`ps -e | awk '{if (match($4, ".*/cupsd
    > $") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc.cups: pid=`ps -e | nawk '{if (match($4, ".*/cupsd
    > $") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc.cups: pid=`ps -e | awk '{if (match($6, ".*/cupsd
    > $") || $6 == "cupsd") print $1}'`
    > /etc/rc.d/rc.cups: pid=`ps -e | awk '{if (match($5, ".*/cupsd
    > $") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc.cups: pid=`ps ax | awk '{if (match($5, ".*/cupsd
    > $") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc.cups:# Start or stop the CUPS server based upon the first
    > argument to the script.
    > /etc/rc.d/rc.cups: if $IS_ON cups; then
    > /etc/rc.d/rc.cups: /usr/sbin/cupsd
    > /etc/rc.d/rc.cups: $ECHO "cups:
    > unable to $1 scheduler."
    > /etc/rc.d/rc.cups: $ECHO "cups: ${1}ed scheduler."
    > /etc/rc.d/rc.cups: $ECHO "cups: stopped scheduler."
    > /etc/rc.d/rc.cups: echo "cups: scheduler is running."
    > /etc/rc.d/rc.cups: echo "cups: scheduler is not
    > running."
    > /etc/rc.d/rc.cups: echo "Starting CUPS Server"
    > /etc/rc.d/rc.cups: echo "Starting CUPS Server"
    > /etc/rc.d/rc.cups: echo "Usage: cups {reload|restart|start|
    > status|stop}"
    > /etc/rc.d/rc.cups:# End of "$Id: cups.sh.in 6649 2007-07-11 21:46:42Z mike
    > $".
    > /etc/rc.d/rc.M:# Start the print spooling system. This will usually be
    > LPRng (lpd) or CUPS.
    > /etc/rc.d/rc.M:if [ -x /etc/rc.d/rc.cups ]; then
    > /etc/rc.d/rc.M: # Start CUPS:
    > /etc/rc.d/rc.M: /etc/rc.d/rc.cups start
    > grep: /etc/rc.d/rc.wireless.conf: Permission denied
    > /etc/rc.d/init.d/cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike $"
    > /etc/rc.d/init.d/cups:# Startup/shutdown script for the Common UNIX
    > Printing System (CUPS).
    > /etc/rc.d/init.d/cups:# Attn: CUPS Licensing Information
    > /etc/rc.d/init.d/cups:# EMail: cups-info@cups.org
    > /etc/rc.d/init.d/cups:# WWW: http://www.cups.org
    > /etc/rc.d/init.d/cups:# Printing System (CUPS).
    > /etc/rc.d/init.d/cups:# PROVIDE: cups
    > /etc/rc.d/init.d/cups: if test "${CUPS:=-YES-}" = "-NO-"; then
    > /etc/rc.d/init.d/cups:# cause cupsd to set TempDir to a user's temporary
    > directory instead
    > /etc/rc.d/init.d/cups:# See if the CUPS server (cupsd) is running...
    > /etc/rc.d/init.d/cups: pid=`ps -e | awk '{if (match($4, ".*/cupsd
    > $") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/init.d/cups: pid=`ps -e | nawk '{if (match($4, ".*/cupsd
    > $") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/init.d/cups: pid=`ps -e | awk '{if (match($6, ".*/cupsd
    > $") || $6 == "cupsd") print $1}'`
    > /etc/rc.d/init.d/cups: pid=`ps -e | awk '{if (match($5, ".*/cupsd
    > $") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/init.d/cups: pid=`ps ax | awk '{if (match($5, ".*/cupsd
    > $") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/init.d/cups:# Start or stop the CUPS server based upon the first
    > argument to the script.
    > /etc/rc.d/init.d/cups: if $IS_ON cups; then
    > /etc/rc.d/init.d/cups: /usr/sbin/cupsd
    > /etc/rc.d/init.d/cups: $ECHO "cups:
    > unable to $1 scheduler."
    > /etc/rc.d/init.d/cups: $ECHO "cups: ${1}ed scheduler."
    > /etc/rc.d/init.d/cups: $ECHO "cups: stopped scheduler."
    > /etc/rc.d/init.d/cups: echo "cups: scheduler is running."
    > /etc/rc.d/init.d/cups: echo "cups: scheduler is not
    > running."
    > /etc/rc.d/init.d/cups: echo "Usage: cups {reload|restart|start|
    > status|stop}"
    > /etc/rc.d/init.d/cups:# End of "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z
    > mike $".
    > /etc/rc.d/rc0.d/K00cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    > $"
    > /etc/rc.d/rc0.d/K00cups:# Startup/shutdown script for the Common UNIX
    > Printing System (CUPS).
    > /etc/rc.d/rc0.d/K00cups:# Attn: CUPS Licensing Information
    > /etc/rc.d/rc0.d/K00cups:# EMail: cups-info@cups.org
    > /etc/rc.d/rc0.d/K00cups:# WWW: http://www.cups.org
    > /etc/rc.d/rc0.d/K00cups:# Printing System (CUPS).
    > /etc/rc.d/rc0.d/K00cups:# PROVIDE: cups
    > /etc/rc.d/rc0.d/K00cups: if test "${CUPS:=-YES-}" = "-NO-";
    > then
    > /etc/rc.d/rc0.d/K00cups:# cause cupsd to set TempDir to a user's temporary
    > directory instead
    > /etc/rc.d/rc0.d/K00cups:# See if the CUPS server (cupsd) is running...
    > /etc/rc.d/rc0.d/K00cups: pid=`ps -e | awk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc0.d/K00cups: pid=`ps -e | nawk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc0.d/K00cups: pid=`ps -e | awk '{if (match($6,
    > ".*/cupsd$") || $6 == "cupsd") print $1}'`
    > /etc/rc.d/rc0.d/K00cups: pid=`ps -e | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc0.d/K00cups: pid=`ps ax | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc0.d/K00cups:# Start or stop the CUPS server based upon the
    > first argument to the script.
    > /etc/rc.d/rc0.d/K00cups: if $IS_ON cups; then
    > /etc/rc.d/rc0.d/K00cups: /usr/sbin/cupsd
    > /etc/rc.d/rc0.d/K00cups: $ECHO
    > "cups: unable to $1 scheduler."
    > /etc/rc.d/rc0.d/K00cups: $ECHO "cups: ${1}ed
    > scheduler."
    > /etc/rc.d/rc0.d/K00cups: $ECHO "cups: stopped
    > scheduler."
    > /etc/rc.d/rc0.d/K00cups: echo "cups: scheduler is
    > running."
    > /etc/rc.d/rc0.d/K00cups: echo "cups: scheduler is
    > not running."
    > /etc/rc.d/rc0.d/K00cups: echo "Usage: cups {reload|restart|
    > start|status|stop}"
    > /etc/rc.d/rc0.d/K00cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    > 14:29:53Z mike $".
    > /etc/rc.d/rc2.d/S99cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    > $"
    > /etc/rc.d/rc2.d/S99cups:# Startup/shutdown script for the Common UNIX
    > Printing System (CUPS).
    > /etc/rc.d/rc2.d/S99cups:# Attn: CUPS Licensing Information
    > /etc/rc.d/rc2.d/S99cups:# EMail: cups-info@cups.org
    > /etc/rc.d/rc2.d/S99cups:# WWW: http://www.cups.org
    > /etc/rc.d/rc2.d/S99cups:# Printing System (CUPS).
    > /etc/rc.d/rc2.d/S99cups:# PROVIDE: cups
    > /etc/rc.d/rc2.d/S99cups: if test "${CUPS:=-YES-}" = "-NO-";
    > then
    > /etc/rc.d/rc2.d/S99cups:# cause cupsd to set TempDir to a user's temporary
    > directory instead
    > /etc/rc.d/rc2.d/S99cups:# See if the CUPS server (cupsd) is running...
    > /etc/rc.d/rc2.d/S99cups: pid=`ps -e | awk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc2.d/S99cups: pid=`ps -e | nawk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc2.d/S99cups: pid=`ps -e | awk '{if (match($6,
    > ".*/cupsd$") || $6 == "cupsd") print $1}'`
    > /etc/rc.d/rc2.d/S99cups: pid=`ps -e | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc2.d/S99cups: pid=`ps ax | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc2.d/S99cups:# Start or stop the CUPS server based upon the
    > first argument to the script.
    > /etc/rc.d/rc2.d/S99cups: if $IS_ON cups; then
    > /etc/rc.d/rc2.d/S99cups: /usr/sbin/cupsd
    > /etc/rc.d/rc2.d/S99cups: $ECHO
    > "cups: unable to $1 scheduler."
    > /etc/rc.d/rc2.d/S99cups: $ECHO "cups: ${1}ed
    > scheduler."
    > /etc/rc.d/rc2.d/S99cups: $ECHO "cups: stopped
    > scheduler."
    > /etc/rc.d/rc2.d/S99cups: echo "cups: scheduler is
    > running."
    > /etc/rc.d/rc2.d/S99cups: echo "cups: scheduler is
    > not running."
    > /etc/rc.d/rc2.d/S99cups: echo "Usage: cups {reload|restart|
    > start|status|stop}"
    > /etc/rc.d/rc2.d/S99cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    > 14:29:53Z mike $".
    > /etc/rc.d/rc3.d/S99cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    > $"
    > /etc/rc.d/rc3.d/S99cups:# Startup/shutdown script for the Common UNIX
    > Printing System (CUPS).
    > /etc/rc.d/rc3.d/S99cups:# Attn: CUPS Licensing Information
    > /etc/rc.d/rc3.d/S99cups:# EMail: cups-info@cups.org
    > /etc/rc.d/rc3.d/S99cups:# WWW: http://www.cups.org
    > /etc/rc.d/rc3.d/S99cups:# Printing System (CUPS).
    > /etc/rc.d/rc3.d/S99cups:# PROVIDE: cups
    > /etc/rc.d/rc3.d/S99cups: if test "${CUPS:=-YES-}" = "-NO-";
    > then
    > /etc/rc.d/rc3.d/S99cups:# cause cupsd to set TempDir to a user's temporary
    > directory instead
    > /etc/rc.d/rc3.d/S99cups:# See if the CUPS server (cupsd) is running...
    > /etc/rc.d/rc3.d/S99cups: pid=`ps -e | awk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc3.d/S99cups: pid=`ps -e | nawk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc3.d/S99cups: pid=`ps -e | awk '{if (match($6,
    > ".*/cupsd$") || $6 == "cupsd") print $1}'`
    > /etc/rc.d/rc3.d/S99cups: pid=`ps -e | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc3.d/S99cups: pid=`ps ax | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc3.d/S99cups:# Start or stop the CUPS server based upon the
    > first argument to the script.
    > /etc/rc.d/rc3.d/S99cups: if $IS_ON cups; then
    > /etc/rc.d/rc3.d/S99cups: /usr/sbin/cupsd
    > /etc/rc.d/rc3.d/S99cups: $ECHO
    > "cups: unable to $1 scheduler."
    > /etc/rc.d/rc3.d/S99cups: $ECHO "cups: ${1}ed
    > scheduler."
    > /etc/rc.d/rc3.d/S99cups: $ECHO "cups: stopped
    > scheduler."
    > /etc/rc.d/rc3.d/S99cups: echo "cups: scheduler is
    > running."
    > /etc/rc.d/rc3.d/S99cups: echo "cups: scheduler is
    > not running."
    > /etc/rc.d/rc3.d/S99cups: echo "Usage: cups {reload|restart|
    > start|status|stop}"
    > /etc/rc.d/rc3.d/S99cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    > 14:29:53Z mike $".
    > /etc/rc.d/rc5.d/S99cups:# "$Id: cups.sh.in 5118 2006-02-16 14:29:53Z mike
    > $"
    > /etc/rc.d/rc5.d/S99cups:# Startup/shutdown script for the Common UNIX
    > Printing System (CUPS).
    > /etc/rc.d/rc5.d/S99cups:# Attn: CUPS Licensing Information
    > /etc/rc.d/rc5.d/S99cups:# EMail: cups-info@cups.org
    > /etc/rc.d/rc5.d/S99cups:# WWW: http://www.cups.org
    > /etc/rc.d/rc5.d/S99cups:# Printing System (CUPS).
    > /etc/rc.d/rc5.d/S99cups:# PROVIDE: cups
    > /etc/rc.d/rc5.d/S99cups: if test "${CUPS:=-YES-}" = "-NO-";
    > then
    > /etc/rc.d/rc5.d/S99cups:# cause cupsd to set TempDir to a user's temporary
    > directory instead
    > /etc/rc.d/rc5.d/S99cups:# See if the CUPS server (cupsd) is running...
    > /etc/rc.d/rc5.d/S99cups: pid=`ps -e | awk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc5.d/S99cups: pid=`ps -e | nawk '{if (match($4,
    > ".*/cupsd$") || $4 == "cupsd") print $1}'`
    > /etc/rc.d/rc5.d/S99cups: pid=`ps -e | awk '{if (match($6,
    > ".*/cupsd$") || $6 == "cupsd") print $1}'`
    > /etc/rc.d/rc5.d/S99cups: pid=`ps -e | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc5.d/S99cups: pid=`ps ax | awk '{if (match($5,
    > ".*/cupsd$") || $5 == "cupsd") print $1}'`
    > /etc/rc.d/rc5.d/S99cups:# Start or stop the CUPS server based upon the
    > first argument to the script.
    > /etc/rc.d/rc5.d/S99cups: if $IS_ON cups; then
    > /etc/rc.d/rc5.d/S99cups: /usr/sbin/cupsd
    > /etc/rc.d/rc5.d/S99cups: $ECHO
    > "cups: unable to $1 scheduler."
    > /etc/rc.d/rc5.d/S99cups: $ECHO "cups: ${1}ed
    > scheduler."
    > /etc/rc.d/rc5.d/S99cups: $ECHO "cups: stopped
    > scheduler."
    > /etc/rc.d/rc5.d/S99cups: echo "cups: scheduler is
    > running."
    > /etc/rc.d/rc5.d/S99cups: echo "cups: scheduler is
    > not running."
    > /etc/rc.d/rc5.d/S99cups: echo "Usage: cups {reload|restart|
    > start|status|stop}"
    > /etc/rc.d/rc5.d/S99cups:# End of "$Id: cups.sh.in 5118 2006-02-16
    > 14:29:53Z mike $".
    > /etc/rc.d/rc.M.bak:# Start the print spooling system. This will usually
    > be LPRng (lpd) or CUPS.
    > /etc/rc.d/rc.M.bak:if [ -x /etc/rc.d/rc.cups ]; then
    > /etc/rc.d/rc.M.bak: # Start CUPS:
    > /etc/rc.d/rc.M.bak: /etc/rc.d/rc.cups start
    > grep: /etc/rc.d/rc.wireless.conf~: Permission denied
    > /etc/rc.d/rc.hplip:# Note, this script file must start before cupsd.
    > /etc/rc.d/rc.hplip:# For chkconfig the HPLIP priority (ie: 50) must be
    > less the cupsd
    > /etc/rc.d/rc.hplip:# For LSB install_initd the cups script file should
    > have "hplip" in the
    > /etc/rc.d/rc.hplip:# killall -HUP cupsd
    > grep: /etc/rc.d/rc.wireless.conf.new~: Permission denied
    >
    >> should provide a clue as to which files might need to be disabled
    >> (edited, chmod'd, removed, whatever).
    >>
    >> HTH

    >
    >


    --
    William Hunt, Portland Oregon USA

  16. Re: stop cups starting at boot

    William Hunt wrote:
    > On Tue, 17 Jun 2008, heavytull wrote:
    >> On Mon, 16 Jun 2008 15:52:21 -0700, William Hunt wrote:
    >>> heavytull does not run a standard system, and has trouble relating what
    >>> he has done or why he did it (- check his posting history).

    >> I'm running a standard slackware now since slack12.0;

    >
    > ummm, NO, you are NOT running a standard slackware system.
    > it is NOT standard slackware to have any files in the sysvinit
    > directories /etc/rc.d/rc[123456].d/ directories. It is NOT
    > standard slackware to have a /etc/rc.d/init.d/ directory.
    >

    Don't be too sure about this last claim:

    kees@lankhmar:~$ cd /var/log/packages/
    kees@lankhmar:/var/log/packages$ grep '^etc/rc\.d/init\.d' *
    sysvinit-functions-8.53-i486-2:etc/rc.d/init.d/
    sysvinit-functions-8.53-i486-2:etc/rc.d/init.d/README.functions
    sysvinit-functions-8.53-i486-2:etc/rc.d/init.d/functions

    (Checked this on Slackware 12.0 and 12.1. The output was identical
    in both cases.)

    But a standard Slackware cups package certainly won't install any
    component in /etc/rc.d/init.d or /etc/rc.d/rc[123456].d

    [ ... snip ... ]

    > Look again, this time more carefully: don't you see all the
    > files in /etc/rc.d/rc[123456].d/ and /etc/rc.d/init.d/ ????
    >
    > ---NONE--- of those files are standard slackware.
    > ---ANY--- of those files could be causing your symptoms.
    >
    > Dan C. gave you good advice - use it.
    > If Dan C's advice leads to any unexpected side-effects,
    > then it is easily reversed with a 'chmod a-x', so there
    > is little risk. --IF-- it causes unexpected side-effects,
    > then your /etc/rc.d/ is even more non-standard and even more
    > screwed up than you have already told us.


    As your current intention is to run a standard Slackware system there
    is probably no useful content at all in those directories, other than
    /etc/rc.d/init.d/README.functions and rc.d/init.d/functions, but only
    leftovers from formerly experiments. These leftovers only cause trouble.

    First follow Dan C's advice. If there are no side-effects then you
    might want to cleanup those directories.
    The easy way to cleanup is:
    -- first (as root): rm -rf /etc/rc.d/int.d /etc/rc.d/rc?.d
    -- after that either uninstall or reinstall sysvinit-functions to keep
    your directory structure consistent with the installed packages.



    Regards,

    Kees.

    --
    Kees Theunissen.

  17. Re: stop cups starting at boot

    On Wed, 18 Jun 2008, Kees Theunissen wrote:
    > William Hunt wrote:
    >> On Tue, 17 Jun 2008, heavytull wrote:
    >>> On Mon, 16 Jun 2008 15:52:21 -0700, William Hunt wrote:

    [...]
    >> ummm, NO, you are NOT running a standard slackware system.
    >> it is NOT standard slackware to have any files in the sysvinit
    >> directories /etc/rc.d/rc[123456].d/ directories. It is NOT
    >> standard slackware to have a /etc/rc.d/init.d/ directory.
    >>

    > Don't be too sure about this last claim:
    > kees@lankhmar:~$ cd /var/log/packages/
    > kees@lankhmar:/var/log/packages$ grep '^etc/rc\.d/init\.d' *
    > sysvinit-functions-8.53-i486-2:etc/rc.d/init.d/
    > sysvinit-functions-8.53-i486-2:etc/rc.d/init.d/README.functions
    > sysvinit-functions-8.53-i486-2:etc/rc.d/init.d/functions


    well oopsydoodle - you're right, my bad :*)
    I guess i'll have to give the OP a full refund now. :*)


    [...]
    > First follow Dan C's advice. If there are no side-effects then you
    > might want to cleanup those directories.
    > The easy way to cleanup is:
    > -- first (as root): rm -rf /etc/rc.d/int.d /etc/rc.d/rc?.d
    > -- after that either uninstall or reinstall sysvinit-functions to keep
    > your directory structure consistent with the installed packages.
    >
    > Regards,
    > Kees.


    We can hope so :*)

    BW,
    --
    William Hunt, Portland Oregon USA

  18. Re: stop cups starting at boot

    On Wed, 18 Jun 2008 12:46:17 -0700, William Hunt wrote:


    > ummm, NO, you are NOT running a standard slackware system. it is NOT
    > standard slackware to have any files in the sysvinit directories
    > /etc/rc.d/rc[123456].d/ directories. It is NOT standard slackware to
    > have a /etc/rc.d/init.d/ directory.
    >

    as minded by someone else, the /etc/rc.d/rc.init is part of slackware,
    even the latest.
    I said that i was running a standard slackware, but i shoould have said
    "To my knowledge I'm running a standard slackware"
    I removed (with -rf) the etc/rc.d/rc?.d directories.


    >
    > The evidence seems to show that your 'uninstall' did not work, leaving
    > you with the problems you now face: a boogered-up set of startup
    > scripts.
    >
    >

    now I remember, actually there was no uninstall option in the cups
    Makefile. I posted a question for how to remove cups from an install from
    fresh sources, someone told me to just remove the stuff in /usr/local/cups
    i think. but i didn't remove anything in /etc/rc.d/;


    >



    >> ok i did, it seems that rc.M is running cups! look below

    >
    > Look again, this time more carefully:

    yes actually /etc/rc.d/rc.M doesn't load cups since my /etc/rc.d/rc.cups
    is not set for execution.


    > don't you see all the files in
    > /etc/rc.d/rc[123456].d/ and /etc/rc.d/init.d/ ????
    >
    > ---NONE--- of those files are standard slackware. ---ANY--- of those
    > files could be causing your symptoms.

    yes there are files set with the x flag on. As long as there is not script
    calling them they shouldn't be loaded. I would prefer find which file is
    loading them.
    >
    > Dan C. gave you good advice

    I don't like blind advises.
    The /etc/rc.d/rc.sysvinit script is provided with the standard slackware
    with the x flag on, so I prefer leave it as is! I want to understand what
    is the problem.
    Maybe this file was running those rc?.d/S* exec files!! now I removed all
    rc?.d files, I will see whether cups is still being loaded at next boot,
    if not then something is clearer to me.
    Studying the rc.sysvinit file is the 'straight forward' solution, but i'm
    a bit lazy now, I don't feel like it.

    the last thing:
    DanC has an aweful record of trollness on these groups. I personally found
    that he allways opts for blind solutions. One may probably have less
    problems by always using the standard rules, yes! But ME, I want to
    understand the OS I'm running. Problems come, I try to solve.


  19. Re: stop cups starting at boot

    In alt.os.linux.slackware, heavytull wrote:

    > On Wed, 18 Jun 2008 12:46:17 -0700, William Hunt wrote:
    >
    >
    >> ummm, NO, you are NOT running a standard slackware system. it is NOT
    >> standard slackware to have any files in the sysvinit directories
    >> /etc/rc.d/rc[123456].d/ directories. It is NOT standard slackware to
    >> have a /etc/rc.d/init.d/ directory.


    Actually, it is. At least since Slackware 12.0 (Slackware 11.0 lacked the
    directory)
    ~ $ cat /etc/slackware-version && ls -R /etc/rc.d/
    Slackware 12.0.0
    /etc/rc.d/:
    init.d rc.K rc.alsa rc.gpm rc.inet1.conf rc.local
    [snip]

    /etc/rc.d/init.d:
    README.functions functions

    ~ $ cat /etc/rc.d/init.d/README.functions

    If you're reading this in /etc/init.d/, Slackware's real init directory is
    /etc/rc.d/. Maybe you already knew this, but it never hurts to say. :-)

    This script was taken from Fedora (and is presumably licensed under the
    GPL).
    While I don't see Slackware init scripts making much use of it (but use it
    if you wish), some third party init scripts (such as for commercial
    software designed to run on Red Hat based systems) expect this script and
    use it in their own init scripts, so it's a good idea to make it available
    here.

    These functions are provided solely for commercial (or other) software
    that expects to find "Red Hat-isms". I wouldn't use them to write new
    init scripts (personally), but if you've had experience with them in the
    past and like them, by all means feel free.

    It's planned to continue support for them.

    Does that help?

    > as minded by someone else, the /etc/rc.d/rc.init is part of slackware,
    > even the latest.


    I can't (yet) vouch for Slackware 12.1, but Slackware 12.0 does /not/
    use /etc/rc.d/rc.init (nor, as I recall, has any Slackware previous)
    ~ $ cat /etc/slackware-version ; ls /etc/rc.d/rc.i*
    Slackware 12.0.0
    /etc/rc.d/rc.inet1 /etc/rc.d/rc.inet2 /etc/rc.d/rc.ip_forward
    /etc/rc.d/rc.inet1.conf /etc/rc.d/rc.inetd
    Perhaps you confuse /etc/rc.d/rc.inetd with /etc/rc.d/rc.init?

    [snip]
    --
    Lew Pitcher

    Master Codewright & JOAT-in-training | Registered Linux User #112576
    http://pitcher.digitalfreehold.ca/ | GPG public key available by request
    ---------- Slackware - Because I know what I'm doing. ------



  20. Re: stop cups starting at boot

    On 2008-06-20, heavytull wrote:

    >> Dan C. gave you good advice


    > I don't like blind advises.


    "Blind" advice? What the **** does that mean. It was the correct
    solution to your problem, and if you know better, you wouldn't be asking
    such basic questions.

    > The /etc/rc.d/rc.sysvinit script is provided with the standard slackware
    > with the x flag on, so I prefer leave it as is! I want to understand what
    > is the problem.


    I told you what the "problem" was. It isn't really a problem at all.
    There are several other init scripts that are executable by default, but
    I doubt you need them, either. Do you leave rc.yp, or rc.wireless, or
    rc.nfsd set to executable? It may not hurt anything to leave them like
    that, but they are probably not needed, at least on a "normal" desktop.

    As far as "understanding the problem", that was explained to you also.
    You will NOT hurt anything by having rc.sysvinit being non-executable.
    Why in gawd's name don't you just ****ing try it, and see that your CUPS
    is not started? How ****ing hard is that?

    > Maybe this file was running those rc?.d/S* exec files!! now I removed all
    > rc?.d files, I will see whether cups is still being loaded at next boot,
    > if not then something is clearer to me.


    You'll remove all kinds of rc.d files, but you won't change one single
    file to non-executable??? What kind of sense does that make? Damn.


    > DanC has an aweful record of trollness on these groups.


    Bull****.

    > I personally found that he allways opts for blind solutions.


    What the **** is a "blind solution"? You aren't making much sense.

    > One may probably have less problems by always using the standard rules,
    > yes! But ME, I want to understand the OS I'm running.


    That's exactly what my advice/solution was meant to do for you.

    > Problems come, I try to solve.


    And yet you don't want to listen to the answers given to you. Why the
    **** did you ask, if you wanted to solve it by yourself?



    --
    "Ubuntu" - an African word, meaning "Slackware is too hard for me".

+ Reply to Thread
Page 1 of 2 1 2 LastLast