Activity log for bug #1641549

Date Who What changed Old value New value Message
2016-11-14 09:25:47 You-Sheng Yang bug added bug
2016-11-14 09:26:41 You-Sheng Yang description Several things to do here: * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function. * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc. * migrate systemd service definitions, etc. Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc.
2016-11-14 09:27:58 You-Sheng Yang bug task added lxc-android-config (Ubuntu)
2016-11-14 09:28:14 You-Sheng Yang tags lxd systemd
2016-11-14 10:54:55 You-Sheng Yang bug watch added https://github.com/lxc/lxd/issues/2039
2016-11-15 02:18:42 Yuan-Chen Cheng canonical-devices-system-image: milestone x1
2016-11-15 02:27:51 Yuan-Chen Cheng canonical-devices-system-image: assignee Vicamo Yang (vicamo)
2016-11-15 02:27:53 Yuan-Chen Cheng canonical-devices-system-image: status New Confirmed
2016-11-15 09:29:28 You-Sheng Yang merge proposal linked https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849
2016-11-15 09:30:14 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 1. add /var/lib/lxd to writable paths 2. install lxd, lxd-client and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me). $ lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config: $ lxc profile edit android # This should bring up an editor, default nano. Use # `update-alternatives --config editor` to choose the one you like. # The result should be: $ lxc profile show android name: android config: raw.lxc: | lxc.devttydir=lxc lxc.tty=4 lxc.cap.drop=mac_admin mac_override lxc.aa_profile=unconfined lxc.autodev=0 lxc.init_cmd=/init security.nesting: "true" security.privileged: "true" description: "" devices: dev_binder: path: /dev/binder type: unix-char dev_socket: path: /dev/socket source: /dev/socket type: disk 6. create an ephemeral container for debug: $ lxc init -e -p android android armhf $ lxc start armhf
2016-11-15 09:32:17 You-Sheng Yang attachment added boot.img https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1641549/+attachment/4777591/+files/boot.img
2016-11-15 09:36:08 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 1. add /var/lib/lxd to writable paths 2. install lxd, lxd-client and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me). $ lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config: $ lxc profile edit android # This should bring up an editor, default nano. Use # `update-alternatives --config editor` to choose the one you like. # The result should be: $ lxc profile show android name: android config: raw.lxc: | lxc.devttydir=lxc lxc.tty=4 lxc.cap.drop=mac_admin mac_override lxc.aa_profile=unconfined lxc.autodev=0 lxc.init_cmd=/init security.nesting: "true" security.privileged: "true" description: "" devices: dev_binder: path: /dev/binder type: unix-char dev_socket: path: /dev/socket source: /dev/socket type: disk 6. create an ephemeral container for debug: $ lxc init -e -p android android armhf $ lxc start armhf Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_binder:       path: /dev/binder       type: unix-char     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf
2016-11-15 09:37:18 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_binder:       path: /dev/binder       type: unix-char     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_binder:       path: /dev/binder       type: unix-char     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf
2016-11-15 09:47:52 You-Sheng Yang branch linked lp:~vicamo/lxc-android-config/lxd-writable-path
2016-11-15 09:55:36 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_binder:       path: /dev/binder       type: unix-char     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_binder:       path: /dev/binder       type: unix-char     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf
2016-11-15 10:02:26 You-Sheng Yang attachment added lxd-image-create.sh https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1641549/+attachment/4777635/+files/lxd-image-create.sh
2016-11-15 10:30:06 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_binder:       path: /dev/binder       type: unix-char     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init lxc.cgroup.devices.allow = a lxc.mount.auto= lxc.mount.auto=sys:rw proc:mixed cgroup:mixed     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf
2016-11-16 06:33:54 You-Sheng Yang attachment removed lxd-image-create.sh https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1641549/+attachment/4777635/+files/lxd-image-create.sh
2016-11-16 06:34:15 You-Sheng Yang attachment added lxd-image-create.sh https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1641549/+attachment/4777978/+files/lxd-image-create.sh
2016-11-16 06:36:18 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. run lxd image create script to create the android lxd image. 5. edit lxd profile manually because it doesn't currently support setting multiple entries of "raw.lxc" config:   $ lxc profile edit android   # This should bring up an editor, default nano. Use   # `update-alternatives --config editor` to choose the one you like.   # The result should be:   $ lxc profile show android   name: android   config:     raw.lxc: |       lxc.devttydir=lxc       lxc.tty=4       lxc.cap.drop=mac_admin mac_override       lxc.aa_profile=unconfined       lxc.autodev=0       lxc.init_cmd=/init lxc.cgroup.devices.allow = a lxc.mount.auto= lxc.mount.auto=sys:rw proc:mixed cgroup:mixed     security.nesting: "true"     security.privileged: "true"   description: ""   devices:     dev_socket:       path: /dev/socket       source: /dev/socket       type: disk 6. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. run lxd image create script to create the android lxd image. $ ./lxd-image-create.sh 5. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf
2016-11-17 04:27:06 You-Sheng Yang branch linked lp:~vicamo/lxc-android-config/lxd-migration
2016-11-17 04:27:19 You-Sheng Yang branch unlinked lp:~vicamo/lxc-android-config/lxd-writable-path
2016-11-17 06:18:00 You-Sheng Yang attachment removed boot.img https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1641549/+attachment/4777591/+files/boot.img
2016-11-17 06:19:16 You-Sheng Yang attachment added boot.img https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1641549/+attachment/4778450/+files/boot.img
2016-11-17 06:58:06 You-Sheng Yang bug task added urfkill (Ubuntu)
2016-11-29 03:41:15 You-Sheng Yang description Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. run lxd image create script to create the android lxd image. $ ./lxd-image-create.sh 5. create an ephemeral container for debug:   $ lxc init -e -p android android armhf   $ lxc start armhf Several things to do here: * include lxd, lxd-client in default installation, * writable path for lxd: lxd resides at /var/lib/lxd and it takes write permission to fully function, * migrate lxc tmpfs-based rootfs to lxd image, lxc configs to lxd profiles, etc., * migrate systemd service definitions, etc. [Steps to reproduce current setup] 0. rebuild avila kernel with additional patches from https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/310849 , or just use the prebuilt one in the attachments. 1. follow bug 1641505 and https://bugs.launchpad.net/canonical-devices-system-image/+bug/1641505/comments/2 to enable adbd emergency mode and disable current lxc-based android container. 2. add /var/lib/lxd to writable paths, install lxd and lxd-client, and then reboot the device so that writable path may take effect. 3. initialize lxd. This can take a while (2 minutes for me).   $ sudo lxd init --auto 4. apply changes from https://code.launchpad.net/~vicamo/lxc-android-config/lxd-migration/+merge/311103 . This cause the system to automatically import android initrd as an lxd image and to start it up on boot.
2020-07-15 06:32:26 You-Sheng Yang urfkill (Ubuntu): status New Won't Fix
2020-07-15 06:32:29 You-Sheng Yang lxc-android-config (Ubuntu): status New Won't Fix
2020-07-15 06:32:32 You-Sheng Yang canonical-devices-system-image: status Confirmed Invalid