[11:40] Hi, everybody [11:44] Iam creating live-come-install for my own distro, so that iam using ubiquity in my CD, by using ubiquity, while creating new partition, iam getting the error like " No root file system is defined Please correct this from the partitioning menu" But i gave the / in the file system combo manually. How do i rectify that???? plz [12:45] hi, while running that partman in shell, its showing "No root file system No root file system is defined Please correct this from partitioning menu" Plz tell me how to rectify that ?????? [12:46] please (a) describe exactly what you are doing in the partitioner (b) put /var/log/syslog and /var/log/partman up for download somewhere [12:47] and please also use fewer question marks; six consecutive question marks are not necessary :) [13:26] cjwatson: i posted my syslog and partman in "http://pastebin.ca/790510 ,http://pastebin.ca/790522" [13:26] http://pastebin.ca/790522 [13:27] # [13:27] Nov 20 16:00:52 live ubiquity: /lib/partman/definitions.sh: line 155: /lib/partman/choose_partition/>: No such file or directory [13:27] err [13:28] cjwatson: but it is there in my system [13:28] # [13:28] /lib/partman/free_space/50new/do_option: IN: NEW_PARTITION =dev=sda ext2 142971816960-145069263359 Beginning [13:29] something is rather broken there [13:29] sridhar: I'm willing to bet that a file called "/lib/partman/choose_partition/>" (note the >) does not exist on your system [13:30] http://pastebin.ca/790522 is not a complete partman log [13:31] yes, that site accepts only 15000 bytes, that why i put the final error [13:31] I cannot help without the full log [13:31] can i send it to your mail? [13:32] it looks like something in the ubiquity<->partman interface has got out of step; it's inserted the disk name instead of the new partition type (primary/logical) [13:32] sridhar: no, but you can file a bug [13:32] (if you mail me personally, it will likely get lost in the huge volume of mail I get) [13:34] it is installing without having any problem, if iam having a ext3 filesystem. iam getting problem only, while creating a new partition [13:35] please file a bug and attach the files I requested [13:35] ya, i will do === cjwatson_ is now known as cjwatson [17:16] If a d-i component (user-setup-apply in this case) does an exit 1, that will be very obvious in that installer, right? === cjwatson_ is now known as cjwatson [19:24] soren: it'll show up in syslog, yes [19:25] and will result in a red-screen-of-death [19:25] (perhaps more visibly) [19:25] I thought so. [19:25] let me guess what you're tracing [19:25] :) [19:26] the user got created, so [ -n "$USER" ] must be true [19:26] so the only ways for this to happen are (a) cosmic rays (b) passwd/root-login is false [19:27] (or conceivably (c) bust sudo) [19:27] It really doesn't add up. [19:27] but root-login defaults to true and is only asked at medium and this is where I got stuck [19:28] The particularly odd thing is that not selecting the mail server task allegedly fixes it. [19:28] I think that's a red herring personally [19:28] me too. [19:28] it wasn't at all clear that it wasn't simply "next time through the installer, it didn't happen" [19:28] root-login defaults to false, though, doesn't it? [19:28] cjwatson: Preceisly. [19:28] err, sorry, I transposed false and true above [19:29] I wonder if they were installing to an existing partition. The installer doesn't make that easy though [19:29] did the reviewer get back with syslog by any chance? [19:29] cjwatson: No. [19:29] I think that might be the only way we'll trace this [19:29] I found a new bug about this. Don't know if you noticed I assigned it to the installer-team a couple of hours ago. [19:29] but it needs somebody to contact us *before* they nuke the machine [19:29] I didn't [19:30] It links to a different thread on the forums explaining the exact same problem, only slightly more details. [19:30] https://bugs.edge.launchpad.net/ubuntu/+source/user-setup/+bug/162638 [19:30] ...sorry, I didn't reassign it to you, I reassigned it to user-setup, so you got subscribed. [19:30] now *that* guy said he repaired it in-place [19:30] I'll ask for details [19:31] If he can log in in rescue mode... [19:32] Er.. [19:32] I'm not sure how to finish that sentence :) [19:32] all he needs to have done is not trashed the install [19:32] It drops you to a root shell if what? [19:32] root has a disabled password? [19:32] what, rescue mode? [19:32] he means d-i's rescue mode [19:33] which ignores auth altogether [19:33] Oh, I thought he meant recovery mode. [19:33] I might(!) be making this up, but I seem to remember that someone said that that didn't work. [19:33] that drops you to a shell if root's password is disabled, yes [19:33] which it probably is here [19:34] In which case a proper root account must have been created. [19:35] I can't find any reference to that sort of thing, so I seem to have made that up. forget it. :) [19:37] I've posted a plea for help to the forums too [19:37] Yes, I've seen it. [19:38] * cjwatson wgets the server CD [19:38] I've tried to reproduce it 5-6 times, Rick and Nick have probably tried 20 times each. No luck. [19:44] the forums thread mentions postfix too ... [19:44] Which one? [19:45] Oh... So it does. [19:45] the one referred to in that bug [19:45] http://ubuntuforums.org/showthread.php?p=3807132 [19:46] it's not that it's impossible for the mail-server task to break this [19:46] cjwatson: well, that might just be because he chose to not configure postfix during installation. The failed sudo attempt will try to send an e-mail about it, but if postfix isn't configured at all, I suppose that's the error you'll see. [19:46] it's just that it'd be perverse [19:46] Quite. [19:47] "NoodleSmythe" says 'When installing the mail server components, I can't "sudo". If I do an install just without the mail components, sudo works a treat.' [19:47] As you said, it might just be a case of "next time through the installer, it didn't happen" [19:47] * soren is starving [19:47] bbl. I need food. [19:47] yeah, I just stop believing that when lots of people say it [19:48] ..and I made the mistake of introducing my wife to facebook, so she's.. Um.. busy. [19:48] cjwatson: I thought of that, too, but the scenario might be: "Oh, it broke. I'll look on Google. Oh, this guys says to not install the mail stuff." and then everything works. [19:48] mm [19:50] * soren wanders off to the kitchen [19:51] also bug 158952 [19:51] which has recent activity - I've asked for the logs there too [19:52] (googled for "ubuntu 7.10 server sudo syslog" and found that) [20:29] Uh, interesting! [20:32] ? [20:33] That bug report. [20:33] It's got actual information in it. [20:42] ah, yes. though I don't think it's helpful as it happens [20:43] Oh? [20:43] which bit do you think helps? [20:44] yikes [20:44] Well, he says it's 100% reproducable and shows a bit of syslog that suggests that the installer doesn't bail out at some point. [20:44] true [20:44] ..and he was online 7 hours ago, so there's a good chance we can get a hold of him. [20:45] indeed [20:49] user-setup is run after the tasksel bits, I presume? [20:50] user-setup-apply, that is. [20:56] yes, iirc [20:56] Oh... Hang on. [20:58] is it possible that one of the maintainer scripts for one of the packages in the mail server task manages to set a USER environment variable and that makes its way into user-setup-apply? [20:58] to elaborate, my understanding is that finish-install comes after pkgsel [20:58] No.. [20:58] evand: And finish-install calls user-setup-apply? [20:58] no? [20:58] finish-install calls everything in finish-install.d [20:58] no to my crack-pot hypothesis. [20:59] which user-setup-apply gets called from [20:59] so yes [20:59] Alright. [20:59] cjwatson: can you confirm I'm not filling soren's head with lies [21:00] evand: You seem to be correct. [21:00] I'm 99% certain [21:05] sudo is in ubuntu-minimal, so it'd get installed even if not from user-setup-apply. [21:06] that's correct, and environment variables can't propagate from underneath tasksel to user-setup-apply [21:06] main-menu [21:06] \-- base-installer --- (...) --- sudo.postinst [21:06] \-- pkgsel --- tasksel [21:06] \-- user-setup --- user-setup-apply [21:07] err, except that's finish-install --- user-setup-apply, sorry [21:07] heh, I was just going to say [21:07] Yeah,but still separate processes, clearly. [21:07] evand: you are correct [21:07] soren: right [21:07] thanks [21:40] * soren chuckles [21:41] Have we ever gotten any bug reports about people wondering why their full name got mangled to either Frans Pop or Martin Michlmayr? [21:44] haha [23:18] aha! [23:18] Nov 20 20:23:43 user-setup: newaliases: fatal: open /etc/postfix/main.cf: No such file or directory [23:18] Nov 20 20:23:43 finish-install: warning: /usr/lib/finish-install.d/06user-setup returned error code 75 [23:19] evand: do you have a user-setup merge in progress already? === soren_ is now known as soren [23:39] evand: can't find one on LP, so I'll just do it now [23:43] cjwatson: Ah, so if the user chooses to not configure postfix.. [23:44] cjwatson: and user-setup checks if newaliases exists and is executable.. [23:44] right [23:44] Of course. [23:44] How could I have missed that? [23:44] I missed it too [23:44] fix in progress [23:44] \o/ [23:46] ...doesn't the installer give any feedback about it failing miserably? [23:47] I have just realised that of course finish-install.d scripts don't do that [23:48] it can be difficult for some of them because it might be after the point of no return [23:49] I see. [23:49] So if installing sudo at around line 166 fails, and sudoers doesn't get created at all, that won't give any feedback either? [23:49] I think it might be a good idea to change that but it's an API change and I'd like to think about it [23:49] ..that was my originial hypothesis. [23:50] right, but as you observed that's impossible since it's part of ubuntu-minimal [23:50] (in our case) [23:50] True. [23:51] I've made a note to follow up at some point [23:52] Hmm... Well, I suppose we can conclude that most of the stuff called in finish-install is quite solid since we've never encountered this before :)