Re: [gentoo-user] Re: hdparm and baselayout

2006-08-19 Thread Daniel Pielmeier

Benno Schulenberg schrieb:
It is specifically checking for the No medium found message.  To 
be able to do that, the hdparm script should set LC_ALL=C itself.  
Time to report a bug.


okay it's here:

http://bugs.gentoo.org/show_bug.cgi?id=144407
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-19 Thread Daniel Pielmeier
Thanks to all who helped me with this issue, especially Richard who lead 
me to this bug.


Daniel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Andrew Frink
Daniel,I think there are some settings in /etc/conf.d/hdparm that control if just hard disks or both get options changed. AndrewP.S. I'm not at my Linux box so I can't say for sure 
On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:
Doesn't anybody have a clue?Or did anyone receive this message, because i heard of messages whichget lost on this list!Thanks,Daniel2006/8/17, Daniel Pielmeier 
[EMAIL PROTECTED]: Hi all, it seems that the configuration of /etc/conf.d/hdparm has changed. With the new baselayout i only get my harddiscs configured by the hdparm
 init-script, but not my dvdrom-devices starting the hdparm init-script gives me: /etc/init.d/hdparm start * Running hdparm on /dev/hda ... [ ok ] * Running hdparm on /dev/hdb ... [ ok ]
 here are my settings from /etc/conf.d/hdparm hda_args=-A1 -X70 -d1 -u1 -m16 -a64 hdb_args=-A1 -X69 -d1 -u1 -m16 -a64 hdc_args=-d1 -u1 -a256 -E8
 hdd_args=$hdc_args Does anybody know how i have to change my configuration? Or is this a problem with the new baselayout? Thanks Daniel
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Dale
Andrew Frink wrote:
 Daniel,
 I think there are some settings in /etc/conf.d/hdparm that control if
 just hard disks or both get  options changed. 

 Andrew
 P.S. I'm not at my Linux box so I can't say for sure

 On 8/18/06, *Daniel Pielmeier* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Doesn't anybody have a clue?
 Or did anyone receive this message, because i heard of messages which
 get lost on this list!

 Thanks,

 Daniel

 2006/8/17, Daniel Pielmeier  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]:
  Hi all,
 
  it seems that the configuration of /etc/conf.d/hdparm has changed.
 
  With the new baselayout i only get my harddiscs configured by
 the hdparm
  init-script, but not my dvdrom-devices
 
  starting the hdparm init-script gives me:
 
  /etc/init.d/hdparm start
  * Running hdparm on /dev/hda ... [ ok ]
  * Running hdparm on /dev/hdb ... [ ok ]
 
  here are my settings from /etc/conf.d/hdparm
 
  hda_args=-A1 -X70 -d1 -u1 -m16 -a64
  hdb_args=-A1 -X69 -d1 -u1 -m16 -a64
  hdc_args=-d1 -u1 -a256 -E8
  hdd_args=$hdc_args
 
  Does anybody know how i have to change my configuration? Or is
 this a
  problem with the new baselayout?
 
  Thanks
 
  Daniel
 
 
 --
 gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list




Just in case his is different, this is what mine says:

 # /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

 # You can either set hdparm arguments for each drive using hdX_args,
 # discX_args, cdromX_args and genericX_args, e.g.
 #
 # hda_args=-d1 -X66
 # disc1_args=-d1
 # cdrom0_args=-d1

 # or you can set options for all PATA drives
 pata_all_args=-d1

 # or you can set options for all SATA drives
 sata_all_args=

 # or, you can set hdparm options for all drives
 all_args=

So you can set CD's, pata and sata drives separately.  So you are correct.

Dale

:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Andrew Frink wrote:

Daniel,
I think there are some settings in /etc/conf.d/hdparm that control if
just hard disks or both get  options changed. 


Andrew
P.S. I'm not at my Linux box so I can't say for sure


Dale schrieb:

Just in case his is different, this is what mine says:


# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args=-d1 -X66
# disc1_args=-d1
# cdrom0_args=-d1

# or you can set options for all PATA drives
pata_all_args=-d1

# or you can set options for all SATA drives
sata_all_args=

# or, you can set hdparm options for all drives
all_args=


So you can set CD's, pata and sata drives separately.  So you are correct.

Dale

:-)  :-)



so when my settings are correct, why doesn't the hdparm init-script 
apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Dale
Daniel Pielmeier wrote:
 Andrew Frink wrote:
 Daniel,
 I think there are some settings in /etc/conf.d/hdparm that control if
 just hard disks or both get  options changed.
 Andrew
 P.S. I'm not at my Linux box so I can't say for sure

 Dale schrieb:
 Just in case his is different, this is what mine says:

 snip

 # or, you can set hdparm options for all drives
 all_args=

 So you can set CD's, pata and sata drives separately.  So you are
 correct.

 Dale

 :-)  :-)


 so when my settings are correct, why doesn't the hdparm init-script
 apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd

Good question.  I don't use hdparm since mine are fast without it.  It
should work though.  You may want to make sure the all_args= line is
commented out.  May be that it is using that since it is the last line
it reads.

Not real sure though.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Good question.  I don't use hdparm since mine are fast without it.  It
should work though.  You may want to make sure the all_args= line is
commented out.  May be that it is using that since it is the last line
it reads.

Not real sure though.

Dale

:-)  :-)



hmm i have commented all out, only my settings listed below are not 
commented


 hda_args=-A1 -X70 -d1 -u1 -m16 -a64
 hdb_args=-A1 -X69 -d1 -u1 -m16 -a64
 hdc_args=-d1 -u1 -a256 -E8
 hdd_args=$hdc_args
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

so when my settings are correct, why doesn't the hdparm init-script
apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd


Try adding set -x at the top of the hdparm init script, and then
'stop' and 'start' it.  The trace output from the 'start' may be
interesting to look at.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Richard Fish schrieb:

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

so when my settings are correct, why doesn't the hdparm init-script
apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd


Try adding set -x at the top of the hdparm init script, and then
'stop' and 'start' it.  The trace output from the 'start' may be
interesting to look at.

-Richard


Here is the output of /etc/init.d/hdparm start:

For /dev/hdc and /dev/hdd it says that there is no medium present, but 
is this required for running hdparm on this devices?



/etc/init.d/hdparm start


+ [[ -z start stop restart ]]
+ shift
+ [[ 1 -lt 1 ]]
+ for arg in '$*'
+ case ${arg} in
+ retval=0
+ for arg in '$*'
+ case ${arg} in
+ svc_start
+ local x= y= retval=0 startinactive=
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_started hdparm
+ test_service_state hdparm started
+ [[ -z hdparm ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/hdparm
+ [[ -L /var/lib/init.d/started/hdparm ]]
+ [[ ! -e /var/lib/init.d/started/hdparm ]]
+ rm -f /var/lib/init.d/started/hdparm
+ return 1
+ service_inactive hdparm
+ test_service_state hdparm inactive
+ [[ -z hdparm ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/hdparm
+ [[ -L /var/lib/init.d/inactive/hdparm ]]
+ [[ ! -e /var/lib/init.d/inactive/hdparm ]]
+ rm -f /var/lib/init.d/inactive/hdparm
+ return 1
+ mark_service_starting hdparm
+ [[ -z hdparm ]]
+ ln -sn /etc/init.d/hdparm /var/lib/init.d/starting/hdparm
+ [[ -f /var/lib/init.d/started/hdparm ]]
+ [[ -f /var/lib/init.d/inactive/hdparm ]]
+ return 0
+ trap svc_quit INT QUIT TSTP
+ service_message 'Service hdparm starting'
+ [[ no != \y\e\s ]]
+ return
+ broken hdparm
+ check_dependency broken hdparm
+ [[ -z broken ]]
+ [[ -z hdparm ]]
+ local x myservice deps
+ [[ hdparm == \-\t ]]
+ myservice=hdparm
+ get_dep_info hdparm
+ [[ -z hdparm ]]
+ local myservice=hdparm
+ [[ hdparm == '' ]]
++ get_service_index hdparm 0
++ [[ -z hdparm ]]
++ [[ -z 0 ]]
++ local x myservice=hdparm index=0
++ [[ -n 0 ]]
++ [[ 0 -gt 0 ]]
++ (( x=1 ))
++ (( x=49 ))
++ index=10
++ [[ hdparm == \d\b\u\s ]]
++ (( x++  ))
++ (( x=49 ))
++ index=20
++ [[ hdparm == \e\s\o\u\n\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=30
++ [[ hdparm == \f\i\r\e\s\t\a\r\t\e\r ]]
++ (( x++  ))
++ (( x=49 ))
++ index=40
++ [[ hdparm == \g\p\m ]]
++ (( x++  ))
++ (( x=49 ))
++ index=50
++ [[ hdparm == \h\a\l\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=60
++ [[ hdparm == \n\e\t\.\e\t\h\0 ]]
++ (( x++  ))
++ (( x=49 ))
++ index=70
++ [[ hdparm == \n\e\t\.\l\o ]]
++ (( x++  ))
++ (( x=49 ))
++ index=80
++ [[ hdparm == \h\d\p\a\r\m ]]
++ echo 80
++ return 0
+ rc_index=80
+ rc_mtime=1155931102
+ rc_name=hdparm
+ rc_ineed=
+ rc_needsme=
+ rc_iuse=
+ rc_usesme=
+ rc_ibefore='bootmisc local'
+ rc_iafter=checkroot
+ rc_broken=
+ rc_mtime=1155931102
+ return 0
+ deps=rc_broken
+ [[ -z '' ]]
+ return 1
+ local ib_save=
+ unset IN_BACKGROUND
+ [[ 0 == \0 ]]
+ [[ '' != \y\e\s ]]
++ ineed hdparm
++ check_dependency ineed hdparm
++ [[ -z ineed ]]
++ [[ -z hdparm ]]
++ local x myservice deps
++ [[ hdparm == \-\t ]]
++ myservice=hdparm
++ get_dep_info hdparm
++ [[ -z hdparm ]]
++ local myservice=hdparm
++ [[ hdparm == \h\d\p\a\r\m ]]
++ [[ -n 1155931102 ]]
++ return 0
++ deps=rc_ineed
++ [[ -z '' ]]
++ return 1
++ valid_iuse hdparm
++ valid_i use hdparm
++ local mylevel=boot x= valid=
++ [[ use != \a\f\t\e\r ]]
++ [[ use != \u\s\e ]]
++ [[ -f /var/lib/init.d/softlevel ]]
++ mylevel=default
+++ iuse hdparm
+++ check_dependency iuse hdparm
+++ [[ -z iuse ]]
+++ [[ -z hdparm ]]
+++ local x myservice deps
+++ [[ hdparm == \-\t ]]
+++ myservice=hdparm
+++ get_dep_info hdparm
+++ [[ -z hdparm ]]
+++ local myservice=hdparm
+++ [[ hdparm == \h\d\p\a\r\m ]]
+++ [[ -n 1155931102 ]]
+++ return 0
+++ deps=rc_iuse
+++ [[ -z '' ]]
+++ return 1
++ echo ''
++ return 0
+ local 'startupservices= '
+ local netservices=
++ dolisting '/etc/runlevels/boot/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/boot/net.*'
++ [[ /etc/runlevels/boot/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\b\o\o\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/boot/net.lo ]]
++ [[ ! -d /etc/runlevels/boot/net.lo ]]
++ [[ -L /etc/runlevels/boot/net.lo ]]
+++ ls /etc/runlevels/boot/net.lo
++ mylist=' /etc/runlevels/boot/net.lo'
++ echo ' /etc/runlevels/boot/net.lo'
++ dolisting '/etc/runlevels/default/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/default/net.*'
++ [[ /etc/runlevels/default/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\d\e\f\a\u\l\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/default/net.eth0 ]]
++ [[ ! -d /etc/runlevels/default/net.eth0 ]]
++ [[ -L /etc/runlevels/default/net.eth0 ]]
+++ ls /etc/runlevels/default/net.eth0
++ mylist=' /etc/runlevels/default/net.eth0'
++ echo ' /etc/runlevels/default/net.eth0'
++ dolisting '/var/lib/init.d/coldplugged/net.*'
++ 

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
after i took a more cleary look at the messages i found out that hdparm 
did not work on boot up and when i try to start/stop the init-script by 
using sudo, but when i log in as root and run the script it shows me:


/etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]
* Running hdparm on /dev/hdc ... [ ok ]
* Running hdparm on /dev/hdd ... [ ok ]

what could be the reason for this?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

For /dev/hdc and /dev/hdd it says that there is no medium present, but
is this required for running hdparm on this devices?


No, the init script handles this case...in fact it did run hdparm for
hdc and hdd.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Richard Fish schrieb:

Are you starting hdparm in the boot or default runlevel (rc-update
-s)?  If at boot, it may be that some modules haven't been loaded yet,
so you don't actually have hdc/hdd.


it starts in default runlevel, but i think with the new baselayout it 
starts ealier then before.


for the tests i have done before i did not reboot, so i think eyery 
modules are already started.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

Richard Fish schrieb:
 Are you starting hdparm in the boot or default runlevel (rc-update
 -s)?  If at boot, it may be that some modules haven't been loaded yet,
 so you don't actually have hdc/hdd.

it starts in default runlevel, but i think with the new baselayout it
starts ealier then before.


Hmm, possible.  I just noticed that it has a before bootmisc
dependancy, so it is going to start very early on.  In fact, bootmisc
is considered a CRITICAL_SERVICE by /sbin/rc, so that means hdparm
is going to start at the same time as filesystems are mounted and
modules are loaded.  I don't know if previous versions of hdparm had
this same thing or not.

I think you can either file a bug about the dependancy on bootmisc
that causes hdparm to start too early, hack the init script yourself
to remove it, or reconfigure your kernel to include the drivers for
your CD-ROMs statically, not as modules.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

Before i fill a bug i will check if removing the bootmisc dependency
will solve the problem. I don't think so because when the system has
booted completely a restart of the service doesn't work either.
The thing that irritates me is, when i run it directly as root it works
but not on system startup and when using sudo.


Sorry, I missed the 'doesn't work under sudo' part.

Can you post the output with the set -x option when run under sudo?

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Sorry, I missed the 'doesn't work under sudo' part.

Can you post the output with the set -x option when run under sudo?


okay here comes something strange

[EMAIL PROTECTED] ~ $ LC_ALL=de_DE.utf8
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm stop
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]

[EMAIL PROTECTED] ~ $ LC_ALL=en_US
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm stop
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]
* Running hdparm on /dev/hdc ... [ ok ]
* Running hdparm on /dev/hdd ... [ ok ]

it seems when i set the locale to en_US it works when i set it to 
de_DE.utf8 it fails




output with LC_ALL=de_DE.utf8


sudo /etc/init.d/hdparm start
+ [[ -z start stop restart ]]
+ shift
+ [[ 1 -lt 1 ]]
+ for arg in '$*'
+ case ${arg} in
+ retval=0
+ for arg in '$*'
+ case ${arg} in
+ svc_start
+ local x= y= retval=0 startinactive=
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_started hdparm
+ test_service_state hdparm started
+ [[ -z hdparm ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/hdparm
+ [[ -L /var/lib/init.d/started/hdparm ]]
+ [[ ! -e /var/lib/init.d/started/hdparm ]]
+ rm -f /var/lib/init.d/started/hdparm
+ return 1
+ service_inactive hdparm
+ test_service_state hdparm inactive
+ [[ -z hdparm ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/hdparm
+ [[ -L /var/lib/init.d/inactive/hdparm ]]
+ [[ ! -e /var/lib/init.d/inactive/hdparm ]]
+ rm -f /var/lib/init.d/inactive/hdparm
+ return 1
+ mark_service_starting hdparm
+ [[ -z hdparm ]]
+ ln -sn /etc/init.d/hdparm /var/lib/init.d/starting/hdparm
+ [[ -f /var/lib/init.d/started/hdparm ]]
+ [[ -f /var/lib/init.d/inactive/hdparm ]]
+ return 0
+ trap svc_quit INT QUIT TSTP
+ service_message 'Service hdparm starting'
+ [[ no != \y\e\s ]]
+ return
+ broken hdparm
+ check_dependency broken hdparm
+ [[ -z broken ]]
+ [[ -z hdparm ]]
+ local x myservice deps
+ [[ hdparm == \-\t ]]
+ myservice=hdparm
+ get_dep_info hdparm
+ [[ -z hdparm ]]
+ local myservice=hdparm
+ [[ hdparm == '' ]]
++ get_service_index hdparm 0
++ [[ -z hdparm ]]
++ [[ -z 0 ]]
++ local x myservice=hdparm index=0
++ [[ -n 0 ]]
++ [[ 0 -gt 0 ]]
++ (( x=1 ))
++ (( x=49 ))
++ index=10
++ [[ hdparm == \d\b\u\s ]]
++ (( x++  ))
++ (( x=49 ))
++ index=20
++ [[ hdparm == \e\s\o\u\n\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=30
++ [[ hdparm == \f\i\r\e\s\t\a\r\t\e\r ]]
++ (( x++  ))
++ (( x=49 ))
++ index=40
++ [[ hdparm == \g\p\m ]]
++ (( x++  ))
++ (( x=49 ))
++ index=50
++ [[ hdparm == \h\a\l\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=60
++ [[ hdparm == \n\e\t\.\e\t\h\0 ]]
++ (( x++  ))
++ (( x=49 ))
++ index=70
++ [[ hdparm == \n\e\t\.\l\o ]]
++ (( x++  ))
++ (( x=49 ))
++ index=80
++ [[ hdparm == \h\d\p\a\r\m ]]
++ echo 80
++ return 0
+ rc_index=80
+ rc_mtime=1155938159
+ rc_name=hdparm
+ rc_ineed=
+ rc_needsme=
+ rc_iuse=
+ rc_usesme=
+ rc_ibefore='bootmisc local'
+ rc_iafter=checkroot
+ rc_broken=
+ rc_mtime=1155938159
+ return 0
+ deps=rc_broken
+ [[ -z '' ]]
+ return 1
+ local ib_save=
+ unset IN_BACKGROUND
+ [[ 0 == \0 ]]
+ [[ '' != \y\e\s ]]
++ ineed hdparm
++ check_dependency ineed hdparm
++ [[ -z ineed ]]
++ [[ -z hdparm ]]
++ local x myservice deps
++ [[ hdparm == \-\t ]]
++ myservice=hdparm
++ get_dep_info hdparm
++ [[ -z hdparm ]]
++ local myservice=hdparm
++ [[ hdparm == \h\d\p\a\r\m ]]
++ [[ -n 1155938159 ]]
++ return 0
++ deps=rc_ineed
++ [[ -z '' ]]
++ return 1
++ valid_iuse hdparm
++ valid_i use hdparm
++ local mylevel=boot x= valid=
++ [[ use != \a\f\t\e\r ]]
++ [[ use != \u\s\e ]]
++ [[ -f /var/lib/init.d/softlevel ]]
++ mylevel=default
+++ iuse hdparm
+++ check_dependency iuse hdparm
+++ [[ -z iuse ]]
+++ [[ -z hdparm ]]
+++ local x myservice deps
+++ [[ hdparm == \-\t ]]
+++ myservice=hdparm
+++ get_dep_info hdparm
+++ [[ -z hdparm ]]
+++ local myservice=hdparm
+++ [[ hdparm == \h\d\p\a\r\m ]]
+++ [[ -n 1155938159 ]]
+++ return 0
+++ deps=rc_iuse
+++ [[ -z '' ]]
+++ return 1
++ echo ''
++ return 0
+ local 'startupservices= '
+ local netservices=
++ dolisting '/etc/runlevels/boot/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/boot/net.*'
++ [[ /etc/runlevels/boot/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\b\o\o\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/boot/net.lo ]]
++ [[ ! -d /etc/runlevels/boot/net.lo ]]
++ [[ -L /etc/runlevels/boot/net.lo ]]
+++ ls /etc/runlevels/boot/net.lo
++ mylist=' /etc/runlevels/boot/net.lo'
++ echo ' /etc/runlevels/boot/net.lo'
++ dolisting '/etc/runlevels/default/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/default/net.*'
++ [[ /etc/runlevels/default/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\d\e\f\a\u\l\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/default/net.eth0 ]]
++ [[ ! -d 

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
so i think it is not a problem between sudo and root, for root my 
default locale is en_US for me as normal user it is de_DE.utf8 so it 
seems to be a problem with the locales

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Benno Schulenberg
Daniel Pielmeier wrote:
 + [[ /etc/init.d/hdparm: line 122: /dev/hdc: Kein Medium gefunden
 == *\:\ \N\o\ \m\e\d\i\u\m\ \f\o\u\n\d ]]
 [...]
 + [[ /etc/init.d/hdparm: line 122: /dev/hdd: Kein Medium gefunden
 == *\:\ \N\o\ \m\e\d\i\u\m\ \f\o\u\n\d ]]

It is specifically checking for the No medium found message.  To 
be able to do that, the hdparm script should set LC_ALL=C itself.  
Time to report a bug.

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list