[Buildroot] Buildroot RFS Login Question

Poole, Donald R. drpoole at swri.org
Thu Feb 9 15:16:53 UTC 2012


On 2/9/12 2:04 AM, "Peter Korsgaard" <jacmet at uclibc.org> wrote:


>>>>>> "Donald" == Poole, Donald R <drpoole at swri.org> writes:
>
>Hi,
>
> >> If you extract the tarball to your nfsroot as root, yes (or use one of
> >> the other filesystem outputs). You are not trying to use output/target
> >> directly, are you?
>
> Donald> No, I am not. After I create an ext3 filesystem on my SD card
> Donald> (sudo mkfs.ext3 /dev/sdc1 in my case) and mount the newly
> Donald> create filesystem (sudo mount /dev/sdc1 /path/to/mount/point)
> Donald> is do a "sudo tar -xvf rootfs.tar -C /path/to/mount/point".
> Donald> So, when that is all said and done, my filesystem is indeed
> Donald> owned by root, but the setuid bit for /bin/busybox was not set.
>
>Setuid is handled by the device table. Do you have
>
>BR2_ROOTFS_DEVICE_TABLE="target/generic/device_table.txt"
>
>In your Buildroot .config?
>
>-- 
>Bye, Peter Korsgaard

Hmm, interestingly I do have that in my .config.  Why would it have failed
to execute the Setuid in this case?

Donald R. Poole, Jr.
Research Engineer
Voice: 210.522.3131 | Fax: 210.522.4931
Tactical Networks & Communications (tacticalnetworks.swri.org)
Southwest Research Institute (SwRI)



More information about the buildroot mailing list