Il giorno lun 9 ago 2021 alle ore 15:55 Lauri Kasanen <c...@gmx.com> ha scritto:
> Hi, > > Your logs show you're running a different binary. correct.txt and > dropbear.txt run the util-linux mount, and only uncorrect.txt runs > busybox mount. > > So it's not about SSH or the env, but looks like busybox mount just has > a different (wrong?) return code. > Hi Lauri, you are right the environment is different, so different binaries are called. Yes, the problem is related to mount exit status which is wrong. root@box:~# which mount /bin/mount root@box:~# ls -la /bin/mount lrwxrwxrwx 1 root root 12 Aug 9 17:52 /bin/mount -> busybox.suid root@box:~# mount -o remount,rw /mnt/sr0; echo $? 0 Thank you, -- Roberto A. Foglietta +39.349.33.30.697
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox