Cyril Brulebois <k...@debian.org> (2015-11-27): > ACK, will test in a few moments.
Results: | (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ make -C build build_netboot-gtk USE_UDEBS_FROM=sid | make: Entering directory '/home/kibi/debian-installer/installer/build' | Using generated sources.list.udeb: | deb [trusted=yes] copy:/home/kibi/debian-installer/installer/build/ localudebs/ | deb http://localhost/debian sid main/debian-installer | make[2]: 'sources.list.udeb' is up to date. | Reading package lists... Done | E: Method gave invalid 400 URI Failure message: Could not switch group, user _apt is still in group 24 | E: Method gave invalid 400 URI Failure message: Could not switch group, user _apt is still in group 24 | E: Method copy has died unexpectedly! | E: Sub-process copy returned an error code (112) | E: Method http has died unexpectedly! | E: Sub-process http returned an error code (112) | | (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ getent group cdrom | cdrom:x:24:kibi | | (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ groups | kibi cdrom floppy audio dip video plugdev sbuild kvm libvirt so this seems to be failing with the first non-primary group? Now if I log out of the schroot session, remove my user 'kibi' from the cdrom group and re-enter a schroot session, I'm now getting a failure on the next group: | (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ make -C build build_netboot-gtk USE_UDEBS_FROM=sid | make: Entering directory '/home/kibi/debian-installer/installer/build' | Using generated sources.list.udeb: | deb [trusted=yes] copy:/home/kibi/debian-installer/installer/build/ localudebs/ | deb http://localhost/debian sid main/debian-installer | make[2]: 'sources.list.udeb' is up to date. | Reading package lists... Done | E: Method gave invalid 400 URI Failure message: Could not switch group, user _apt is still in group 25 | E: Method gave invalid 400 URI Failure message: Could not switch group, user _apt is still in group 25 | E: Method copy has died unexpectedly! | E: Sub-process copy returned an error code (112) | | (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ getent group floppy | floppy:x:25:kibi | | (sid-amd64-devel)kibi@wodi:~/debian-installer/installer$ groups | kibi floppy audio dip video plugdev sbuild kvm libvirt Iterating again, I'm now failing because of the audio group… While I've been experimenting with adding/removing myself from the said groups, I'm noticed this a few times, without being able to figure out what exactly causes this… | W: No sandbox user '_apt' on the system, can not drop privileges In which case, going back to apt.git and "sudo debi -u" to reinstall all packages I've built seems to fix the issue. > > Given that schroot is involved mentioning if your host has an _apt user > > or not might also help. As I learned today schroot is copying users and > > groups into the schroot which makes all of this kinda strange… (#565613) > > [two years of testing and you are still surprised on release…] > > > > btw: To not block anyone: You can use the config option > > Debug::NoDropPrivs to true to disable privilege dropping for the moment. > > Thanks, I'll try that and maybe temporarily switch debian-installer to > using it so that we get our daily builds back until the apt side is > figured out. This seems to work fine as a last resort option, thanks. Mraw, KiBi.
signature.asc
Description: Digital signature