What do you get when you do an "ls -lb /"?
This is a discussion on SuSEconfig error - Suse ; [OES 2 on SLES 10 SP1 (fully patched)] Hi, I posted this some time ago in a Novell newsgroup but without response... I have (had) the problem described in TID 3465100[1]. While troubleshooting I found that there is a weird ...
[OES 2 on SLES 10 SP1 (fully patched)]
Hi,
I posted this some time ago in a Novell newsgroup but without
response...
I have (had) the problem described in TID 3465100[1]. While
troubleshooting I found that there is a weird directory tree[2] in the
root of my server.
I straced[3] SuSEconfig and it looks like whenever it is run (either
manually in a shell or at the end of a GUI YaST reconfigure) it
creates this tree because "[m" is prepended to the "real" path.
The only usage for "[m" I know is an escape colour sequence.
Does anyone know how to troubleshoot or even fix this?
Thorsten
[1] http://www.novell.com/support/search.do?
cmd=displayKC&docType=kc&externalId=3465100
&sliceId=SAL_Public&dialogID=56728916&stateId=1%200%205552227
[2] [m/etc/opt/kde3/share/config/kdm
[3] strace snippet
access("[m//etc/opt/kde3/share/config/kdm", W_OK) = -1 ENOENT (No
such file or directory)
stat64("[m//etc/opt/kde3/share/config/kdm", 0xbff28394) = -1 ENOENT
(No such file or directory)
mkdir("[m", 0700) = 0
chdir("[m") = 0
access("[m//etc/opt/kde3/share/config/kdm", W_OK) = 0
stat64("[m//etc/opt/kde3/share/config/kdm/kdmrc", 0xbff036e8) = -1
ENOENT (No such file or directory)
open("[m/etc/SuSE-release", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
What do you get when you do an "ls -lb /"?
* Gary Gapinski (Mon, 25 Feb 2008 07:15:12 -0500)
> What do you get when you do an "ls -lb /"?
\033[m
Thorsten
Thorsten Kampe wrote:
> * Gary Gapinski (Mon, 25 Feb 2008 07:15:12 -0500)
>> What do you get when you do an "ls -lb /"?
>
> \033[m
Well, that isn't all that an ls -l would produce, but try deleting it.
cd /
if it is a directory,
rmdir *\[m
or if a file
rm *\[m
Of course, do not make a mistake with the "*\[m" string.
* Gary Gapinski (Tue, 26 Feb 2008 06:20:54 -0500)
> Thorsten Kampe wrote:
> > * Gary Gapinski (Mon, 25 Feb 2008 07:15:12 -0500)
> >> What do you get when you do an "ls -lb /"?
> >
> > \033[m
>
> Well, that isn't all that an ls -l would produce, but try deleting
> it.
I don't have a problem deleting this folder. The problem is that
SuSEconfig writes to
/\033[m/etc/opt/kde3/share/config/kdm/kdmrc instead of
/etc/opt/kde3/share/config/kdm/kdmrc
Thorsten
Thorsten Kampe wrote:
> I don't have a problem deleting this folder. The problem is that
> SuSEconfig writes to
>
> /\033[m/etc/opt/kde3/share/config/kdm/kdmrc instead of
> /etc/opt/kde3/share/config/kdm/kdmrc
Sorry, Thorsten. I had not properly read your posting.
I do not have an SLES SP1 system with KDE installed (nor with OES 2)
with which to try to duplicate.