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@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@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@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-unsubscr...@lists.sailfishos.or
> 
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to