groupadd failure while writing changes to /etc/group
Solution 1
The solution in the end (inspired by @steeldriver) was to download this app from the play store because under Android KitKat you need to change the SELinux mode to permissive.
A combination of that and apt-get install selinux-policy-default
fixed the permission problems and LXDE now works great on my Sony Xperia Tablet Z
Solution 2
or you do in android terminal:
...$ su
...# setenforce 0
Related videos on Youtube
![Rich Andrews](https://i.stack.imgur.com/xKBJY.jpg?s=256&g=1)
Rich Andrews
Updated on September 18, 2022Comments
-
Rich Andrews almost 2 years
I have been following this guide on installing debian-kit on my Sony Xperia Tablet Z and the installation goes fine until I try to
apt-get install andromize
which fails with the errorgroupadd: failure while writing changes to /etc/group
. I also get the same message if I try to add a user withadduser
.I have partitioned my external SD card to 10gb FAT32 and 20GB ext2 and used the
mk-debian -i /dev/block/vold/179:37
which is the correct partition.If I look in
/etc/
I can see that there are additional files calledgroup-
andpasswd-
as well asgroup
andpasswd
but I have no idea if this is relevant.I'm logged in as root and the partition is loaded readwrite because all other apt-get installs work, it just fails on any that modify the users / groups.
ls -l /etc/group
returns the following...-rw-r--r--. 1 root root 476 Jul17 19:13 /etc/group
-
Admin almost 10 yearsDoesn't the dot at the end of the attributes list from ls indicate that the file has an SELinux ACL associated with it? See What does the dot mean at the end of -rw-r--r--.
-