bedrock man command error
by jr_bob_dobbs from LinuxQuestions.org on (#4SX1V)
bedrock. running bash from the devuan strata while booted in the devuan strata's init. man is installed.
Observe the following session
Code:bob@moonshadow:~ $ man man
strat: wrong cap_sys_chroot capability.
This may occur when using ptrace across stratum boundaries such as with
`strace` or `gdb`. To remedy this install strace/gdb/etc from same stratum
as the traced program and use `strat` to specify appropriate strace/gdb/etc.
man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=man(1) less -X
bob@moonshadow:~ $ which strace
/usr/bin/strace
bob@moonshadow:~ $ brl which strace
devuan
bob@moonshadow:~ $ which gdb
/bedrock/cross/pin/bin/gdb
bob@moonshadow:~ $ brl which gdb
devuan
bob@moonshadow:~ $ brl list
arch
bedrock
devuan
bob@moonshadow:~ $ # booted off devuan, using devuan bash
bob@moonshadow:~ $ strat devuan man man
strat: wrong cap_sys_chroot capability.
This may occur when using ptrace across stratum boundaries such as with
`strace` or `gdb`. To remedy this install strace/gdb/etc from same stratum
as the traced program and use `strat` to specify appropriate strace/gdb/etc.
man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=man(1) less -X
bob@moonshadow:~ $Root has the same problem.
I have no idea what is going on. Can someone explain?
Thank you.


Observe the following session
Code:bob@moonshadow:~ $ man man
strat: wrong cap_sys_chroot capability.
This may occur when using ptrace across stratum boundaries such as with
`strace` or `gdb`. To remedy this install strace/gdb/etc from same stratum
as the traced program and use `strat` to specify appropriate strace/gdb/etc.
man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=man(1) less -X
bob@moonshadow:~ $ which strace
/usr/bin/strace
bob@moonshadow:~ $ brl which strace
devuan
bob@moonshadow:~ $ which gdb
/bedrock/cross/pin/bin/gdb
bob@moonshadow:~ $ brl which gdb
devuan
bob@moonshadow:~ $ brl list
arch
bedrock
devuan
bob@moonshadow:~ $ # booted off devuan, using devuan bash
bob@moonshadow:~ $ strat devuan man man
strat: wrong cap_sys_chroot capability.
This may occur when using ptrace across stratum boundaries such as with
`strace` or `gdb`. To remedy this install strace/gdb/etc from same stratum
as the traced program and use `strat` to specify appropriate strace/gdb/etc.
man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=man(1) less -X
bob@moonshadow:~ $Root has the same problem.
I have no idea what is going on. Can someone explain?
Thank you.