Skip to contentSkip to conversation

chattr not found?

DISCUSSION Jaap de Jong 2 participants 4 messages Jan 14, 2011 – Jan 17, 2011

lore
Share & tools
lore
#0 lore raw

Hi All!

for some reason chattr is linked to chattr.e2fsprogs instead of ../usr/bin/chattr.e2fsprogs

# ls -l /bin/chattr*
lrwxrwxrwx 1 root root   16 2011-01-14 10:37 /bin/chattr -> chattr.e2fsprogs
# ls -l /usr/bin/chattr*
-rwxr-xr-x 1 root root 7304 2010-12-10 01:12 /usr/bin/chattr.e2fsprogs

I have no time to investigate this.
Look simple...

Regards,
Jaap de Jong

#1 lore raw
Quoted 5 lines · Jaap de Jong

Hi All!

for some reason chattr is linked to chattr.e2fsprogs instead of ../usr/bin/chattr.e2fsprogs

Quoted 8 lines
# ls -l /bin/chattr*
lrwxrwxrwx 1 root root 16 2011-01-14 10:37 /bin/chattr -> chattr.e2fsprogs
# ls -l /usr/bin/chattr*
-rwxr-xr-x 1 root root 7304 2010-12-10 01:12 /usr/bin/chattr.e2fsprogs

I have no time to investigate this.
Look simple...

I'm pushing a fix for this now, thanks for the report.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#2 lore raw

Tim,

Thanks!
But...
at boot I get:

update-alternatives: Error: cannot register alternative chattr to
/usr/bin/chattr since it is already registered to /bin/chattr

Not a big deal, I guess...

Jaap

Quoted 16 lines · Tom Rini
Quoted 5 lines · Jaap de Jong

Hi All!

for some reason chattr is linked to chattr.e2fsprogs instead of ../usr/bin/chattr.e2fsprogs

Quoted 8 lines
# ls -l /bin/chattr*
lrwxrwxrwx 1 root root 16 2011-01-14 10:37 /bin/chattr ->  chattr.e2fsprogs
# ls -l /usr/bin/chattr*
-rwxr-xr-x 1 root root 7304 2010-12-10 01:12 /usr/bin/chattr.e2fsprogs

I have no time to investigate this.
Look simple...

I'm pushing a fix for this now, thanks for the report.

#3 lore raw
Quoted 10 lines · Jaap de Jong

Tim,

Thanks!
But...
at boot I get:

update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr

Not a big deal, I guess...

This looks like a busybox bug since on my real system I see it in /usr/bin/chattr. Eric?

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation