=== skaet is now known as skaet_afk === nevrax is now known as Guest62798 === skaet_afk is now known as skaet === skaet is now known as skaet_ [06:06] hi === skaet_ is now known as skaet_afk [09:27] ev, I think these bugs are fixed in Natty: [09:27] bug 164326 [09:27] Launchpad bug 164326 in ubiquity "ability to use existing partitions to install Ubuntu" [Wishlist,Confirmed] https://launchpad.net/bugs/164326 [09:28] bug 131084 [09:28] Launchpad bug 131084 in ubiquity "Partitioning language needs resimplification" [Undecided,Confirmed] https://launchpad.net/bugs/131084 [09:28] bug 155185 [09:28] Launchpad bug 155185 in ubiquity "More warning about installation" [Undecided,Confirmed] https://launchpad.net/bugs/155185 [09:29] mpt: thanks! sorting now [09:35] bug 291677 [09:35] Launchpad bug 291677 in ubiquity "partitioner in installer forgets settings when you go back" [Undecided,Confirmed] https://launchpad.net/bugs/291677 [09:35] or maybe not [09:36] (depending on whether it remembers the settings when going back after an error) [09:38] bug 374913, fixed by the new design [09:38] Launchpad bug 374913 in ubiquity "the graphical partitioner shows complete nonsense" [Undecided,New] https://launchpad.net/bugs/374913 [09:41] bug 445053 [09:41] Launchpad bug 445053 in ubiquity "installation is not user friendly" [Undecided,New] https://launchpad.net/bugs/445053 [09:43] I think bug 349479 is either fixed, or a duplicate of bug 287620 [09:43] Launchpad bug 349479 in ubiquity "[Jaunty] partitioner doesn't fit on screen with large number of partitions" [Undecided,New] https://launchpad.net/bugs/349479 [09:43] Launchpad bug 287620 in ubiquity "Partition diagrams are far too wide for the default installer window" [Undecided,New] https://launchpad.net/bugs/287620 [09:46] I assume bug 549432 is fixed, though I haven't seen it fixed myself yet. :-) [09:46] Launchpad bug 549432 in ubiquity "Partitioning: unclear option with no reference" [Undecided,Confirmed] https://launchpad.net/bugs/549432 [09:58] bug 362588 seems fixed [09:58] Launchpad bug 362588 in ubiquity "Installer presents confusing/misleading partition information" [Medium,Confirmed] https://launchpad.net/bugs/362588 [10:48] replied [12:31] ev: any thoughts on https://bugs.launchpad.net/bugs/735072? seems like a fairly fundamental problem with the new hostname selection algorithm [12:31] Launchpad bug 735072 in ubiquity "The hostname proposed by installer is too long for file sharing to work correctly." [Undecided,New] [12:31] see also https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/150959 [13:01] * cjwatson notices that subprocess.Popen.communicate doesn't retry on EINTR (bug 745014), contemplates Python bindings for libpipeline, and then realises libpipeline doesn't retry on EINTR either ... [13:01] Launchpad bug 745014 in ubiquity "keyboard-configuration.postinst died with SIGPIPE" [Medium,Confirmed] https://launchpad.net/bugs/745014 [13:01] still, at least I can fix the latter [13:03] cjwatson: sorry, I was off helping the design team with natty screenshots [13:03] reading now [13:05] are we certain that this is a limit in the specification? [13:05] * ev digs [13:10] * ev sighs [13:10] "This issue occurs because the NetBIOS domain name has a 15-character limitation." [13:10] http://support.microsoft.com/kb/226144 http://support.microsoft.com/kb/909264 [13:10] cjwatson: truncate? [13:11] cjwatson: mpt suggested showing a different name for netbios only [13:11] so we could generate a stub smb.conf, I suppose [13:11] does that sound insane? [13:18] I don't know enough about samba [13:19] slangasek would be a good person to ask [13:19] I wonder if we need to care about network uniqueness in the first n chars [13:24] I don't follow on the network uniqueness point, but I've asked slangasek in #ubuntu-devel about truncation [13:24] don't we try to make sure that the hostname isn't seen on the network at installation time? [13:25] yes [13:25] separate from this, but indeed [13:28] well, truncation will change the uniqueness properties [13:28] ah, good point [13:28] I think we'll be okay [14:00] * cjwatson contemplates just calling signal.siginterrupt after every call to signal.signal [14:01] why oh why doesn't Python just let you set SA_RESTART directly (when available)? [14:01] silly language [14:02] but wait, we don't even install any signal handlers ourselves [14:05] so I don't see where EINTR is coming from, unless Qt installs some signal handlers or something [14:15] something is setting SIGCHLD without SA_RESTART in the ubiquity frontend process, so that's a possibility [14:18] I blame Qt [14:20] generally a good approach [14:21] I think it may actually be accurate here :-) [14:21] QProcessManager does the thing above [14:22] cjwatson: could it be you got too used to GTK commands and was spoilt :D [14:23] very tempting to have the KDE frontend do signal.siginterrupt(SIGCHLD, False) [14:29] Qt *used* to do SA_RESTART, but qt.gitorious.org doesn't go back far enough to show when that was deleted and why [14:44] ubiquity: cjwatson * r4626 trunk/ (debian/changelog ubiquity/frontend/kde_ui.py): [14:44] ubiquity: * KDE frontend: [14:44] ubiquity: - Force the SIGCHLD handler installed by QProcessManager to use [14:44] ubiquity: SA_RESTART, in the hope of avoiding problems with Python's lack of [14:44] ubiquity: EINTR-safety (LP: #745014). [14:49] ubiquity: cjwatson * r4627 trunk/ (2 files in 2 dirs): [14:49] ubiquity: Show ext2 and btrfs in the same colour as ext3 and ext4, rather than [14:49] ubiquity: in the same colour as free space. [14:57] cjwatson: incidentally, I thought python handled eintr in subprocess now? http://hg.python.org/cpython/rev/6e664bcc958d/ [15:02] not sufficiently [15:02] they only fixed part of the problem [15:02] perhaps it's worth replying to http://bugs.python.org/issue1068268 then? [15:03] somebody already sent a patch that fixed the bits that matter and they ignored it [15:03] and there's another open python bug for fixing things further down the stack [15:03] I don't suppose you have a link to this? [15:04] yes, I put my research in bug 745014 [15:04] Launchpad bug 745014 in ubiquity "keyboard-configuration.postinst died with SIGPIPE" [Medium,Fix committed] https://launchpad.net/bugs/745014 [15:04] thanks [15:05] using SA_RESTART for all signal handlers is arguably safer anyway [15:05] asking around locally, anything that uses stdio plus signal handlers without SA_RESTART is fundamentally unsafe [15:05] you can't retry stdio calls on EINTR since data may be buffered and you have no way to know this [15:06] so unless the library does it for you (which AFAICS glibc doesn't), you're out of luck [15:07] it's hard to see from python code at first glance whether it's using syscalls or stdio, but I think some of it may be stdio [15:31] cjwatson: to break away from the eintr conversation briefly, mpt and I are working through the case where ntfs is in an error state [15:31] we're still working through the ui, but.. [15:35] what are your thoughts on if ntfsresize --info fails, run ntfsfix, *ui goes here*, reboot [15:36] cjwatson: obviously that doesn't help massively when the error is actually at the block level [15:36] but chkdsk might have slightly better ui for that scenario anyway [15:37] ntfsfix> apparently sets the dirty flag, which I hope is enough to trigger chkdsk before mount in windows, but would have to test [15:37] do all ntfsresize --info failures correspond to "run ntfsfix"? [15:37] ev: it does [15:38] ev: ntfsfix does some common repairs and then triggers chkdsk iirc from the man description [15:39] cjwatson: well, that's why I mentioned the block level error case. Are there others you can think of? [15:41] I'm not sure I know it well enough to make sure [15:41] I think it would require going through the source [15:42] yeah, digging through it now [15:44] SA_RESTART> odd that ronaldoussoren mentioned it as a solution in http://bugs.python.org/issue9867 yet it wasn't taken (at least not from what I can see looking at the cpython3 source) === skaet_afk is now known as skaet_ [15:47] it's not something python can entirely enforce on its own [15:49] fair enough, I think my not-entirely-complete knowledge of the signals in question are preventing me from entirely understanding the correction solution [15:51] you need everything that installs a signal handler anywhere in the process to use SA_RESTART [15:51] (or you need to hack around it with siginterrupt) [15:53] right, but surely for the cases where that's python, it can handle it, no? [15:54] python's own signal handlers aren't problematic for this [15:54] so that's moot [15:54] for the most part, anyway) [15:55] ah, okay [15:55] that's where I was getting tripped up [15:55] it basically amounts to the SIGINT handler, which is likely to terminate the process anyway, and a few conditional things [15:56] setting signals to SIG_DFL or SIG_IGN doesn't count here, it's just explicit handler functions [15:58] ugh, I need to spend more time with Stevens. [16:01] god, the world before design specifications was a horrible place. Lets never go back. [16:01] having a single place to point at any time something is queried or contested, and most importantly can be changed there is wonderful [16:02] rather than having to trek back through bug reports, work items, wiki specs, ... [16:02] I find a lot of it a bit invisible TBH [16:02] oh? [16:02] I rarely know where to look to find that stuff [16:03] it should all be in the google doc [16:03] what google doc? :-) [16:03] which I should actually link to on the wiki (and just just from a blueprint). Fixes... [16:03] indeed :) [16:03] https://docs.google.com/a/canonical.com/Doc?docid=0AU5sFuLRpCpBZGZra2pqY2pfMTAxZ25rcnBnNXY&hl=en [16:03] memorable URLs FTW [16:04] I know, right? [16:04] I guess when you aren't looking at it all the time ... [16:05] hi, is someone here in charge of ubiquity-debconf's strings/variables? [16:05] that doesn't really make sense as such, but just ask your question :) [16:05] translation template contains several strings with "${RELEASE}" [16:06] before maverick it used to be Ubuntu xx.xx but in maverick it was changed (just before freeze) to just "Ubuntu" [16:06] how will it be with natty? just Ubuntu or Ubuntu ? [16:08] there are certain languages where one has to conjugate "Ubuntu" (for example, Try ${RELEASE} should be translated Kokeile ${RELEASE}a to be a proper sentence) [16:10] there seems to be 9 strings which use this ${RELEASE} variable [16:12] however, if the variable won't be "Ubuntu" in natty, those translations will look plain wrong if conjugated [16:14] hopefully you understand why I'm asking this. it's all about small details, right? ;-) having amateurish translations with the 1st phase of installation won't give good impression [16:15] "Ubuntu", as far as I can see [16:17] cjwatson: got it, thanks. [16:24] cjwatson: google doc> I've added it to http://wiki.ubuntu.com/Ubiquity. If you have any concerns with driving development of the installer from there, I would love to work to resolve them. [16:34] bug 745687 :( [16:34] Launchpad bug 745687 in ubuntu "Brief text over the background image restarting after install" [Undecided,New] https://launchpad.net/bugs/745687 [16:37] yeah, I've seen that but it's a horrendous pain to debug live CD shutdown [16:38] indeed [16:39] shall I stick it on plymouth for the time being, or do you think it's more likely to be ubiquity? [16:39] I don't suppose we know ... [16:39] artnay, depending on the circumstance, the partitioning step may say "This computer has Ubuntu 10.10 on it. What would you like to do?" -> "Upgrade Ubuntu to 11.04" [16:40] I'd stick plymouth on it, just for an expanded set of eyes [16:40] mpt: good point, so maybe the version number should be included [16:40] artnay, and "This computer has Ubuntu 11.04 on it." -> "Reinstall Ubuntu 11.04" [16:40] artnay: I'll stick comments in, but it's always Distro XX.XX where Distro is likely to be UBuntu and XX.XX may be 11.04 [16:41] Ubuntu* [16:41] it's a bit odd that ${RELEASE} gets expanded to the distribution name [16:41] mpt: that variable isn't used in those places [16:41] at least as far as I could see from testing [16:41] https://translations.launchpad.net/ubuntu/natty/+source/ubiquity/+pots/ubiquity-debconf/fi/+translate?batch=10&show=all&search=%24{RELEASE} this is what I see (in Finnish) [16:41] >>> misc.get_release() [16:41] cjwatson: I don't follow. Is Ubuntu 11.04 not a release? [16:42] ReleaseInfo(name='Ubuntu', version='11.04') [16:42] ubiquity/plugins/ubi-language.py:306: text = text.replace('${RELEASE}', release.name) [16:42] etc. [16:42] Ubuntu 11.04 is; Ubuntu is not [16:42] oo [16:43] as I said, in previous versions it was with the version number, in maverick it was without [16:44] dear lord Unity, think you could run for more than 15 seconds without crashing? [16:45] mpt: you're referring to this sentence: Install ${DISTRO} ${VER} alongside ${CURDISTRO} [16:46] just checking through the code, one moment [16:47] artnay, that string isn't specced to have ${VER} in it, though actually maybe it should [16:47] artnay, https://docs.google.com/View?id=dfkkjjcj_101gnkrpg5v#4_5_1_Automatic_partitioning_o_8475526086986065 [16:49] cjwatson: # above Description lines will appear in rosetta, right? [16:49] artnay, sorry, my mistake, that string is supposed to have ${VER} in it when there's an older version installed [16:49] ev: which ones? [16:49] I'd like to add a comment for translators. [16:50] oh, I misparsed [16:50] should do, yes [16:50] okay, cool, thanks [16:50] though my rosetta memory is a bit rusty [16:50] * ev goes off to clarify this in the code [17:01] pkgsel: cjwatson * r173 ubuntu/debian/ (changelog postinst): [17:01] pkgsel: localechooser/supported-locales only lists additional locales, so [17:01] pkgsel: calculate the set of language packs to install using the union of it and [17:01] pkgsel: debian-installer/locale (LP: #741304). [17:03] so, umh, to clarify. "Try ${RELEASE}" and "Install ${RELEASE}" are the problematic ones (in certain languages) that might need conjugation. should those have ${VER} as well? If yes, I could file a bug (to remind you devs) [17:07] artnay: hopefully that will help (it should end up on rosetta): http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/revision/4628 [17:07] ubiquity: evand * r4628 trunk/debian/ (changelog ubiquity.templates): [17:07] ubiquity: Clarify substitution variables in the automatic partition templates [17:07] ubiquity: using comments. [17:08] pkgsel: cjwatson * r174 ubuntu/debian/ (changelog postinst): Fix Chinese special cases for language packs to work properly. [17:08] I'll add some more comments to cover RELEASE and friends now [17:08] ev: that doesn't contain a fix/explanation [17:09] ev: oh, ok. see 3.1 in mpt's link [17:10] Ubuntu presents a list of languages with TWO OPTIONS ONLY: Try or Install Ubuntu. [17:10] see my previous comment [17:19] ubiquity: cjwatson * r4629 trunk/ (debian/changelog ubiquity/install_misc.py): [17:19] ubiquity: localechooser/supported-locales only lists additional locales, so [17:19] ubiquity: calculate the set of language packs to install using the union of it and [17:19] ubiquity: debian-installer/locale (LP: #741304). [17:20] ubiquity: evand * r4630 trunk/debian/ (changelog ubiquity.templates): Clarify more debconf questions using comments. [17:28] This should add to the installed /etc/apt/sources.list right? d-i apt-setup/local0/repository string http://ddebs.ubuntu.com natty main restricted universe multiverse [17:29] I will swear it did, but even going back to my hardy installer it isn't. [18:01] pkgsel: cjwatson * r175 ubuntu/debian/changelog: releasing version 0.33ubuntu3 === skaet_ is now known as skaet_otp === skaet_otp is now known as skaet === skaet is now known as skaet_afk [22:41] ubiquity: cjwatson * r4631 trunk/ubiquity/frontend/kde_components/PartMan.py: typoes === skaet_afk is now known as skaet [23:38] ubiquity: cjwatson * r4632 trunk/ (bin/ubiquity debian/changelog): [23:38] ubiquity: Do a quick check at startup to see if the debconf database is locked by [23:38] ubiquity: something else, and exit slightly more gracefully than by raising an [23:38] ubiquity: exception (LP: #746020).