LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2016, 11:13 AM   #1
jcamez
LQ Newbie
 
Registered: Oct 2006
Location: Guaymas, Sonora, Mexico
Distribution: Slackware Stable
Posts: 23

Rep: Reputation: 1
rc.M warning in current


Has anyone seen this warning at boot??

" Enabled CPU frequency scaling governor: ondemand
/etc/rc.d/rc.M: line 169: [: too many arguments
Updating icon-theme.cache in /usr/share/icons/hicolor... "

Slackware current.

Thanks!!
 
Old 06-23-2016, 11:45 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,012

Rep: Reputation: Disabled
hi jcamez,

line 169 in rc.M contains
Code:
if [ -r ${theme_dir}/icon-theme.cache ]; then
the fact that you got a "too many arguments" executing that let me think that you have a directory with a space in its name in /usr/share/icons/, probably by installing a custom icon theme.

beside the fact that having directories with spaces in its name it's not generally a good idea on a unix system and that should be fixed in the first place (if I were you I would investigate a little), you could try modifying line 169 above in rc.M like this
Code:
if [ -r "${theme_dir}"/icon-theme.cache ]; then
and line 171 below too like this
Code:
/usr/bin/gtk-update-icon-cache -t -f "${theme_dir}" 1> /dev/null 2> /dev/null &

Last edited by ponce; 06-23-2016 at 11:46 AM.
 
2 members found this post helpful.
Old 06-23-2016, 12:18 PM   #3
jcamez
LQ Newbie
 
Registered: Oct 2006
Location: Guaymas, Sonora, Mexico
Distribution: Slackware Stable
Posts: 23

Original Poster
Rep: Reputation: 1
Hi Ponce!!

Thanks for taking the time to answer.

You are absolutely right. I had an icons folder with spaces in its name. Rename it and the warning went away.

I was thinking the problem was in rc.M so was looking in the wrong place.

Thanks again!!
 
  


Reply

Tags
boot err msg., current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] find: WARNING in -current kikinovak Slackware 2 12-04-2015 11:40 AM
udevd warning during boot on -current saxa Slackware 17 11-20-2015 08:51 PM
Warning! openssh-7.0p1 in -current has potentially incompatible changes allend Slackware 8 08-19-2015 02:30 PM
Warning to Slapt-get/Swaret users running Slackware-Current shepper Slackware 8 07-28-2006 03:45 AM
warning about latest current aaa_elflibs-10.1.0 xushi Slackware 2 01-25-2005 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration