=== Ursinha is now known as Ursinha-away === bivab is now known as bivab_away === bivab_away is now known as bivab [11:48] is it normal for Ubuntu ARM builds to depend on having busybox in the initramfs? I disabled it and then I got a kernel panic on "init: grep: not found" === ericm_ is now known as ericm === Ursinha-away is now known as Ursinha === bivab is now known as bivab_away === bivab_away is now known as bivab === yofel_ is now known as yofel [13:58] highvoltage: Yes, it is. All of the premount init scripts need it to run. If you don't want that, don't use initrd. [13:59] erm, *all* ubuntu initrds depend on busybox [13:59] its the default shell in the initrd [13:59] nothing arch specific with that === bivab is now known as bivab_away === bivab_away is now known as bivab === bivab is now known as bivab_away [14:16] ogra_: I usually disable busybox in my initrds on ubuntu machines and they work just fine [14:16] (at least they appear to) [14:22] well, how exactly do you disable it ? [14:23] /init in the initrd is a shellscript [14:23] and the only shell shipped in initrd is busybox [14:24] (also all local-top/bottom/premount scripts are shell) [14:24] you probably found an arm specific bug [14:26] (i.e. that it is actually disableable while that option is ignored on other arches or some such) === bivab_away is now known as bivab === bivab is now known as bivab_away === bivab_away is now known as bivab === bivab is now known as bivab_away === bivab_away is now known as bivab [15:16] highvoltage, have you switched to ARM lately :) ? [15:17] are you on a quest for lowpower thin clients? [15:17] janimo`: I don't really switch to anything. I just assimilate, like the borg :) [15:17] borg needs arms too [15:18] indeed. === bivab is now known as bivab_away [16:36] ogra_: Can you review my change to lp:ubuntu/flash-kernel (lp:~gruemaster/flash-kernel/bug-961174)? Thanks. === zyga is now known as zyga-food [17:17] GrueMaster, hmm, that somewhat defeats the purpose of Env.txt etc, shouldnt they override boot.scr ? [17:18] That's the problem. Apparently, Orchestra (or some provisioning tool) uses those, but our images don't. [17:19] So if you use that tool to tell a system to do a netboot install, the boot partition never gets overwritten. [17:19] Maybe it should go in f-k-i? [17:20] well, its still wrong imho [17:20] if some tool puts a broken file in the way it should also move it away [17:20] if a user puts such a file there it should do what its supposed to do [17:21] (override the system default) [17:21] f-k-i would surely be a better place but my complaint still stands even there [17:22] The other issue (as I understand it) is if it exists and bricks the system (i.e. won't boot), you can't recover via usb boot. For remote deployments, this will be a problem. [17:23] right, still, the questions are a) why does it exist at all (why isnt boot.scr used) and b) why is its content broken [17:24] if we would rm the file or mv it like you do we prevent the user from using a documented override mechanism (and imho *introduce* a bug) [17:24] GrueMaster, can you ask rbasak why that file exists at all, why its broken in the bug ? [17:25] removing it isnt the proper solution [17:25] ogra_: because it's been created by a previous tenant [17:25] since that would make the overriding impossible [17:26] the purpose of this file is to give the user an easy way to modify boot settings ... [17:26] if your tool uses that on a system level, fix the tool to use the system file please [17:26] breaking behavior for the use cant be a solution to this bug [17:27] ogra_: When I install Ubuntu on an Intel machine, I expect the installer to override whatever the boot configuration was previously. If the MBR was set up to boot Windows, after running the installer and confirming that I want the boot configuration changed, I expect the system to boot Ubuntu. [17:27] ogra_: if you want to override this, you change the boot configuration _after_ running the installer but before booting into the new system [17:27] if you install on an intel system you have various possibilities to override the bootloader settings [17:28] ogra_: I don't see why the behaviour on a Pandaboard should be any different [17:28] so that's not entirely true, you can add info. to grub for boot specifics which I don't think you can with u-boot/boot.scr at the moment [17:28] If you want to override the boot, then tell the installer that you don't want to run flash-kernel-installer [17:28] if you use u-boot the only way to i.e. ebnable a serial console in the kernel cmdline is to put an uEnv.txt in place [17:28] or to fiddle with the provided boot.scr ... [17:28] righjt [17:28] right [17:29] the .txt files were enabled for easier overriding through user action [17:29] if you have any tool using that machanism, make it better use boot.scr [17:29] What you have in there at the moment is a hack which is preventing the installer from doing its job properly. What I want is for the installer to work in all cases. If you want to add a hack later, then please don't break my use case! [17:29] i dont want to add any hacks at all [17:30] It is necessary for the installer to be able to erase any configuration left by a previous tenant [17:30] if your use case usues a user definable file to set system settings your use case does it wrong [17:30] thats like having a package put a used rule into /etc/udev/rules.d [17:30] instead of using /lib/udev/rules.d [17:31] My use case requires a machine to be able to be reinstalled regardless of what was there before [17:31] you wouldnt use /etc in that case either [17:31] Orchestra needs this too. [17:31] still you make use of a user override mechanism on a system level [17:31] I'm not making use of anything [17:31] use the system mechanism for this [17:31] The user leaving a uEnv.txt is a DoS [17:32] I'm not using it [17:32] well, who puts the .txt file in place ? [17:32] the one that got in your way i mean [17:32] Somebody who has root on the machine before I remotely decide to wipe and reinstall it to give it to someone else who has root on the machine. [17:32] DoSing yourself isn't a DoS. [17:34] rbasak, if there is a way that we can know we are in such an environment, i'm happy to add a hack for that specific env [17:34] Maybe it would be nice if d-i detected this odd situation and asked about it, but this isn't "just like ovewriting a windows MBR", and it would be best to not pretend it was. [17:34] I think the root of the problem is that partman currently doesn't reformat the boot partition during netinstall. [17:34] breaking documented override behavior for everyone cant be the solution for a corner usecase [17:34] ogra_: how about a preseed option to say "override any user overrides"? [17:34] Known bug. [17:34] rbasak, that sounds saner at least [17:34] ogra_: if it sees that then it will either delete uEnv.txt or *. [17:35] infinity: it's not "yourself", it's a previous tenant DoSing a future tenant. Imagine if your EC2 instance didn't come up because a previous user left a file somewhere. [17:36] i'm not opposed to hacks (if you ask others they might call me the master of bad hacks even) ... but i'm opposed to break user abilities for providing their own defined overrides at install time [17:36] ogra_: I think you've got the sense inverted. If the user wants to define an override at install time, he should say so using debconf! [17:36] thats not possible on a u-boot level [17:37] rbasak: Root is you. Calling yourself a "tenant" doesn't change things. There are a number of ways I can mess up an Intel system for the next person I sell it to as well. [17:37] rbasak: And the "boot partition" on firmwareless SD system (ie: a Panda) is more akin to the BIOS than to a disk MBR. === zyga-food is now known as zyga === steev_ is now known as steev [19:23] dannf: f-k highbank changes sponsored. [19:24] dannf: Do you have a sane way to test this once it's in the archive? [19:25] GrueMaster, bug 848782 looks suspiciously like a duplicate of bug 921137 [19:25] Launchpad bug 848782 in flash-kernel "Serial console not enabled for passphrase prompt when using LUKS" [Medium,In progress] https://launchpad.net/bugs/848782 [19:25] Launchpad bug 921137 in flash-kernel "Flash-kernel-installer doesn't support d-i debian-installer/add-kernel-opts in preseed " [Undecided,Confirmed] https://launchpad.net/bugs/921137 [19:25] Similar, but slightly different. [19:25] They can both be fixed in the same way, I think. I had a local branch for that and got sidetracked... [19:26] well, i dont see any solution for 848782 apart from using add-kernel-opt [19:26] s [19:26] * infinity wonders where that went. [19:26] that you use LUKS doesnt reallys imply that you use a serial console, that needs to be specified anyway [19:27] (luks could indeed preseed that value if it knows there is only serial) [19:27] Nah, it should just do the same thing grub-installer does here. [19:28] And, like I said, I was working on that. Tobin and I discussed it a while ago. I just got sidetracked with other stuff and let it slip. :/ [19:28] ah, k [19:28] the discussion above made me look at the f-k buglist :) [19:29] ogra_: So, I fixed all the *sums generation for all the images... Except for ac100.bootimg. Were you doing something abnormally hackish in how you deal with that? [19:30] not that i can think of [19:30] Hrm. [19:30] I'll have to investigate that further. [19:30] But at least the big images are all right now, which was the major concern. [19:30] look at the debian-cd code, i just added the .bootimg type to the file types [19:31] it isnt generated as .raw like the others though, since it comes directly out of live-build iirc [19:31] probably that gets in our way [19:31] feel free to leave that issue to me though [19:31] (not today anymore, but I can look at it before B2) [19:32] Yeah, it comes from live-build, same as manifest and other files. [19:32] It could just be exposing some weird assumption in cdimage, given than this is the only image that produces two files that need summing. [19:33] yeah [19:33] I could probably paper over it by making debian-cd sum the bootimg files, but I'd like to figure out why cdimage is doing it wrong. [19:35] iirc cdimage does it while renaming them from .raw to their actual filetype [19:35] or do i remember wrong ? [19:35] No, cdimage does it after the rename. [19:35] ah [19:36] But then maps certain extensions back to .raw, so it can match against the *SUMS in scratch. [19:36] * ogra_ through its the same function in the makefile [19:36] bootimg doesn't get mapped though (which is correct), so... [19:37] I wonder how much of this mess I need to replicate to iterate through some local testing. [19:37] pfft, just do it on nusakan and revert it if it breaks [19:38] thats why we have it all in bzr :) [19:38] infinity: cool - yeah, just qemu though [19:39] ogra_: :P [19:40] ogra_: Not doing it in production for the obvious "don't work in production" reasons, but mostly, I want to reduce this to a small enough test that I can do it in seconds, not hours. :P [19:40] ah, yeah [19:41] still, relpicating cdimage loacally cries for pain [19:41] Oh, I've done that before. [19:41] But in this case, it's reducing, not replicating. [19:41] * ogra_ too, thats why i said that