Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The newest Arch still doesn't work with 2.1.1. #986

Closed
llllllllqq opened this issue Aug 21, 2018 · 15 comments
Closed

The newest Arch still doesn't work with 2.1.1. #986

llllllllqq opened this issue Aug 21, 2018 · 15 comments

Comments

@llllllllqq
Copy link

llllllllqq commented Aug 21, 2018

Old issue here. #971
After 2.1.1's fix, arch is still not work, even cannot start ssh, dbus.
ldoutput.log
Here is log.
Maybe solution editing nsswitch mentioned in #971 is not a proper way.
Please recheck it. Thanks a lot.

@meefik
Copy link
Owner

meefik commented Aug 21, 2018

You must reinstall or reconfigure the container.

@llllllllqq
Copy link
Author

@meefik I've already made a fresh install.

@meefik
Copy link
Owner

meefik commented Aug 21, 2018

Please put here your /etc/group

@llllllllqq
Copy link
Author

llllllllqq commented Aug 21, 2018

root:x:0:root
user:x:1000:
aid_system:x:1000:user,root
aid_radio:x:1001:user,root
aid_bluetooth:x:1002:user,root
aid_graphics:x:1003:user,root
aid_input:x:1004:user,root
aid_audio:x:1005:user,root
aid_camera:x:1006:user,root
aid_log:x:1007:user,root
aid_compass:x:1008:user,root
aid_mount:x:1009:user,root
aid_wifi:x:1010:user,root
aid_adb:x:1011:user,root
aid_install:x:1012:user,root
aid_media:x:1013:user,root
aid_dhcp:x:1014:user,root
aid_sdcard_rw:x:1015:user,root
aid_vpn:x:1016:user,root
aid_keystore:x:1017:user,root
aid_usb:x:1018:user,root
aid_drm:x:1019:user,root
aid_available:x:1020:user,root
aid_gps:x:1021:user,root
aid_media_rw:x:1023:user,root
aid_mtp:x:1024:user,root
aid_drmrpc:x:1026:user,root
aid_nfc:x:1027:user,root
aid_sdcard_r:x:1028:user,root
aid_clat:x:1029:user,root
aid_loop_radio:x:1030:user,root
aid_media_drm:x:1031:user,root
aid_package_info:x:1032:user,root
aid_sdcard_pics:x:1033:user,root
aid_sdcard_av:x:1034:user,root
aid_sdcard_all:x:1035:user,root
aid_logd:x:1036:user,root
aid_shared_relro:x:1037:user,root
aid_shell:x:2000:user,root
aid_cache:x:2001:user,root
aid_diag:x:2002:user,root
aid_net_bt_admin:x:3001:user,root
aid_net_bt:x:3002:user,root
aid_inet:x:3003:user,root
aid_net_raw:x:3004:user,root
aid_net_admin:x:3005:user,root
aid_net_bw_stats:x:3006:user,root
aid_net_bw_acct:x:3007:user,root
aid_net_bt_stack:x:3008:user,root
usbmux:x:140:

ps. even ssh fail, but vnc works fine.
ps2. all the RED X is :x:

@meefik
Copy link
Owner

meefik commented Aug 21, 2018

Ok, I will deal with the problem.

@meefik
Copy link
Owner

meefik commented Aug 22, 2018

Fixed in version 2.1.1-239

@meefik meefik closed this as completed Aug 22, 2018
@llllllllqq
Copy link
Author

llllllllqq commented Aug 23, 2018

@meefik The 2.1.1(240) version still doesn't work. ssh/dbus of a fresh install Arch start fail.
ldoutput.log
/etc/group is the same as above.

@llllllllqq
Copy link
Author

llllllllqq commented Aug 23, 2018

I upgrade the app from googleplay, and in app, i click install and wait for complete reinstall.
(I have not reinstalled the app itself)

@meefik
Copy link
Owner

meefik commented Aug 23, 2018

Can you put here your latest /etc/group?

@llllllllqq
Copy link
Author

root:x:0:root
user:x:1000:
aid_system:x:1000:user,root
aid_radio:x:1001:user,root
aid_bluetooth:x:1002:user,root
aid_graphics:x:1003:user,root
aid_input:x:1004:user,root
aid_audio:x:1005:user,root
aid_camera:x:1006:user,root
aid_log:x:1007:user,root
aid_compass:x:1008:user,root
aid_mount:x:1009:user,root
aid_wifi:x:1010:user,root
aid_adb:x:1011:user,root
aid_install:x:1012:user,root
aid_media:x:1013:user,root
aid_dhcp:x:1014:user,root
aid_sdcard_rw:x:1015:user,root
aid_vpn:x:1016:user,root
aid_keystore:x:1017:user,root
aid_usb:x:1018:user,root
aid_drm:x:1019:user,root
aid_available:x:1020:user,root
aid_gps:x:1021:user,root
aid_media_rw:x:1023:user,root
aid_mtp:x:1024:user,root
aid_drmrpc:x:1026:user,root
aid_nfc:x:1027:user,root
aid_sdcard_r:x:1028:user,root
aid_clat:x:1029:user,root
aid_loop_radio:x:1030:user,root
aid_media_drm:x:1031:user,root
aid_package_info:x:1032:user,root
aid_sdcard_pics:x:1033:user,root
aid_sdcard_av:x:1034:user,root
aid_sdcard_all:x:1035:user,root
aid_logd:x:1036:user,root
aid_shared_relro:x:1037:user,root
aid_shell:x:2000:user,root
aid_cache:x:2001:user,root
aid_diag:x:2002:user,root
aid_net_bt_admin:x:3001:user,root
aid_net_bt:x:3002:user,root
aid_inet:x:3003:user,root
aid_net_raw:x:3004:user,root
aid_net_admin:x:3005:user,root
aid_net_bw_stats:x:3006:user,root
aid_net_bw_acct:x:3007:user,root
aid_net_bt_stack:x:3008:user,root
usbmux:x:140:

@meefik
Copy link
Owner

meefik commented Aug 23, 2018

I can't reproduce it. Try the following steps:

  1. stop your container
  2. restart your device
  3. reinstall this app (remove and install again)
  4. run a new Arch Linux installation

@meefik
Copy link
Owner

meefik commented Aug 23, 2018

My /etc/group after full installation

root:x:0:root
sys:x:3:bin
mem:x:8:
ftp:x:11:
mail:x:12:
log:x:19:
smmsp:x:25:
proc:x:26:polkitd
games:x:50:
lock:x:54:
network:x:90:
floppy:x:94:
scanner:x:96:
power:x:98:
adm:x:999:daemon
wheel:x:998:
kmem:x:997:
tty:x:5:
utmp:x:996:
audio:x:995:xmms2
disk:x:994:
input:x:993:
kvm:x:992:
lp:x:991:
optical:x:990:
render:x:989:
storage:x:988:
uucp:x:987:
video:x:986:
users:x:985:
systemd-journal:x:984:
rfkill:x:983:
bin:x:1:daemon
daemon:x:2:bin
http:x:33:
nobody:x:65534:
dbus:x:81:
systemd-journal-remote:x:982:
systemd-coredump:x:981:
uuidd:x:68:
android:x:1000:
aid_system:x:1000:android,root
aid_radio:x:1001:android,root
aid_bluetooth:x:1002:android,root
aid_graphics:x:1003:android,root
aid_input:x:1004:android,root
aid_audio:x:1005:android,root
aid_camera:x:1006:android,root
aid_log:x:1007:android,root
aid_compass:x:1008:android,root
aid_mount:x:1009:android,root
aid_wifi:x:1010:android,root
aid_adb:x:1011:android,root
aid_install:x:1012:android,root
aid_media:x:1013:android,root
aid_dhcp:x:1014:android,root
aid_sdcard_rw:x:1015:android,root
aid_vpn:x:1016:android,root
aid_keystore:x:1017:android,root
aid_usb:x:1018:android,root
aid_drm:x:1019:android,root
aid_available:x:1020:android,root
aid_gps:x:1021:android,root
aid_media_rw:x:1023:android,root
aid_mtp:x:1024:android,root
aid_drmrpc:x:1026:android,root
aid_nfc:x:1027:android,root
aid_sdcard_r:x:1028:android,root
aid_clat:x:1029:android,root
aid_loop_radio:x:1030:android,root
aid_media_drm:x:1031:android,root
aid_package_info:x:1032:android,root
aid_sdcard_pics:x:1033:android,root
aid_sdcard_av:x:1034:android,root
aid_sdcard_all:x:1035:android,root
aid_logd:x:1036:android,root
aid_shared_relro:x:1037:android,root
aid_shell:x:2000:android,root
aid_cache:x:2001:android,root
aid_diag:x:2002:android,root
aid_net_bt_admin:x:3001:android,root
aid_net_bt:x:3002:android,root
aid_inet:x:3003:android,root
aid_net_raw:x:3004:android,root
aid_net_admin:x:3005:android,root
aid_net_bw_stats:x:3006:android,root
aid_net_bw_acct:x:3007:android,root
aid_net_bt_stack:x:3008:android,root
avahi:x:980:
colord:x:979:
lxdm:x:978:
polkitd:x:102:
xmms2:x:977:

Also I have the following log as debug mode:

:: Starting desktop/dbus ... dbus[4326]: Unknown username "systemd-timesync" in message bus configuration file
dbus[4326]: Unknown username "systemd-resolve" in message bus configuration file
dbus[4326]: Unknown username "systemd-network" in message bus configuration file
done

Dbus was successfully started. The message "Unknown username" can be ignored because systemd is not installed.

@llllllllqq
Copy link
Author

llllllllqq commented Aug 23, 2018

What I do:

  1. stop&uninstall&delete the img&reboot
  2. install app from play
  3. install arch as before
  4. It still has problem. Here is debug output.

start
[15:28:21] Checking file system ... done
[15:28:21] Mounting the container:
[15:28:21] / ... done
[15:28:21] /proc ... done
[15:28:21] /sys ... done
[15:28:21] /dev ... done
[15:28:21] /dev/shm ... skip
[15:28:21] /dev/pts ... done
[15:28:21] ## bootstrap/rootfs : do_start
[15:28:21] ## bootstrap/archlinux : do_start
[15:28:21] ## core/emulator : do_start
[15:28:21] ## core/motd : do_start
[15:28:21] ## core/hosts : do_start
[15:28:21] ## core/hostname : do_start
[15:28:21] ## core/mnt : do_start
[15:28:21] :: Mounting partitions:
[15:28:21] /sdcard ... done
[15:28:21] :: Configuring core/mnt ...
[15:28:21] ## core/net : do_start
[15:28:21] :: Configuring core/net ...
[15:28:21] ## core/timezone : do_start
[15:28:21] ## core/su : do_start
[15:28:21] ## core/locale : do_start
[15:28:21] ## core/profile : do_start
[15:28:21] ## core/aid : do_start
[15:28:21] ## core/sudo : do_start
[15:28:21] ## core/unchroot : do_start
[15:28:21] ## core : do_start
[15:28:21] ## bootstrap : do_start
[15:28:21] ## desktop/desktop-base : do_start
[15:28:21] ## extra : do_start
[15:28:21] ## desktop/dbus : do_start
[15:28:22] :: Starting desktop/dbus ... dbus[21541]: Unknown username "colord" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "systemd-timesync" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "systemd-network" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "systemd-resolve" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "rtkit" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "avahi" in message bus configuration file
[15:28:22] dbus[21541]: Unknown group "network" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "polkitd" in message bus configuration file
[15:28:22] dbus[21541]: Unknown username "polkitd" in message bus configuration file
[15:28:22] dbus-daemon[21541]: Failed to start message bus: Could not get UID and GID for username "dbus"
[15:28:22] fail
[15:28:22] ## desktop/xfce : do_start
[15:28:22] ## desktop : do_start
[15:28:22] ## extra/pulse : do_start
[15:28:22] ## extra/ssh : do_start
[15:28:25] :: Starting extra/ssh ... Privilege separation user nobody does not exist
[15:28:25] fail
[15:28:25] ## graphics/vnc : do_start
[15:28:25] :: Starting graphics/vnc ... xauth: file /home/user/.Xauthority does not exist
[15:28:28]
[15:28:28] New 'localhost:0 (user)' desktop is localhost:0
[15:28:28]
[15:28:28] Creating default config /home/user/.vnc/config
[15:28:28] Starting applications specified in /home/user/.vnc/xstartup
[15:28:28] Log file is /home/user/.vnc/localhost:0.log
[15:28:28] done
[15:28:28] ## graphics : do_start
[15:28:28] <<< start

Note: My phone is zh_CN locale, and I do installation with en_US.UTF8 and username 'user'.
Note2: kali works fine for me. I will test arch on my another phone.

BTW, is that an upstream problem?
My phone is armv7, detail as follows:
[16:05:39] >>> status
[16:05:39] Device: A0001
[16:05:39] Android: 6.0.1
[16:05:39] Architecture: armv7l
[16:05:39] Kernel: 3.4.110-cyanogenmod-g326cf3a
[16:05:39] Memory: 103/2880 MB
[16:05:39] Swap: 0/0 MB
[16:05:39] SELinux: inactive
[16:05:39] Loop devices: yes
[16:05:39] Support binfmt_misc: no
[16:05:39] Supported FS: ext2 ext3 ext4 f2fs fuseblk msdos vfat
[16:05:39] Installed system: unknown
[16:05:39] Status of components:
[16:05:39] :: desktop/dbus ... stopped
[16:05:39] :: extra/ssh ... stopped
[16:05:39] :: graphics/vnc ... stopped
[16:05:39] Mounted parts:
[16:05:39] ...nothing mounted
[16:05:39] Available mount points:
[16:05:39] * /sys/kernel/debug 0.0/0.0 GB (debugfs)
[16:05:39] * /system 0.6/1.3 GB (ext4)
[16:05:39] * /data 11.3/54.9 GB (ext4)
[16:05:39] * /cache 0.5/0.5 GB (ext4)
[16:05:39] * /persist 0.0/0.0 GB (ext4)
[16:05:39] * /firmware 0.0/0.1 GB (vfat)
[16:05:39] * /su 0.1/0.1 GB (ext4)
[16:05:39] * /su/bin/su 0.1/0.1 GB (ext4)
[16:05:39] * /mnt/runtime/default/emulated 11.3/54.9 GB (fuse)
[16:05:39] * /storage/emulated 11.3/54.9 GB (fuse)
[16:05:39] * /mnt/runtime/read/emulated 11.3/54.9 GB (fuse)
[16:05:39] * /mnt/runtime/write/emulated 11.3/54.9 GB (fuse)
[16:05:39] Available partitions:
[16:05:40] ...no available partitions
[16:05:40] <<< status

Update:
I have tested on an old phone, xiaomi2 android5.0.2 armv7, but it have the same problems.
Anyway, thanks a lot, dear @meefik

@meefik
Copy link
Owner

meefik commented Aug 23, 2018

Can you give me a full log of the installation in trace mode?

@llllllllqq
Copy link
Author

This is a full log (debug+trace mode).
installoutput.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants