[SailfishDevel] sudo doesn't work in platform SDK
Erik Lundin
erik at lists.lun.nu
Fri Dec 23 20:58:02 UTC 2016
Thanks, Andrew, that was the problem! I had it installed in a folder in
my home directory, which is on an ecryptfs file system. When using the
default (/srv) instead, it seems to work. This should be added to "Known
Issues" in the article on the wiki.
/Erik
Den 2016-12-23 kl. 21:11, skrev Andrew Branson:
> Hi,
>
> Where's your sdk installed? I had a problem when I tried to install it in my home. It was an encrypted home which was mounted with nosetuid, which overrode the setuid flag on the sudo binary.
>
> Hope that helps,
>
> Andrew
>
> On Friday, 23 December 2016, Erik Lundin wrote:
>> 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
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.or
>
More information about the Devel
mailing list