[SailfishDevel] sudo doesn't work in platform SDK

Erik Lundin erik at lists.lun.nu
Fri Dec 23 16:15:01 UTC 2016


Hello,

I'm trying to get going with the platform SDK, following
https://sailfishos.org/wiki/Platform_SDK_Installation, but sudo doesn't
seem to work. This is what I get when entering the SDK environment:

erik at zix:~/dev$ sfossdk
[sudo] password for erik:
Mounting system directories...
Mounting / as /parentroot
Mounting home directory: /home/erik
Entering chroot as erik
su: ignoring --preserve-environment, it's mutually exclusive with --login
Last login: Sun Dec 18 21:35:58 UTC 2016 on pts/1
PlatformSDK erik at zix:~/dev$ sudo ssu ar sdk
sudo: effective uid is not 0, is sudo installed setuid root?

sudo has the setuid flag, so I don't understand what the problem is.

PlatformSDK erik at zix:~/dev$ ls -l /usr/bin/sudo
-rwsr-xr-x 1 root root 123288 Aug 14  2013 /usr/bin/sudo

OS: Linux Mint 17.3.

/Erik


More information about the Devel mailing list