14:59:07 #startmeeting Fedora Packaging Committee 14:59:07 Meeting started Wed Dec 7 14:59:07 2011 UTC. The chair is spot. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:59:07 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:59:11 #meetingname fpc 14:59:11 The meeting name has been set to 'fpc' 14:59:14 #topic Roll Call 15:00:21 abadger1999, geppetto, racor, limburgher, rdieter, SmootherFrOgZ, tibbs|h: ping 15:01:24 * limburgher here 15:01:57 * racor here 15:02:02 * geppetto is here 15:02:07 here 15:02:33 * SmootherFrOgZ here 15:03:09 Howdy. 15:03:13 okay, thats 7 of us. 15:03:31 I'd like to reopen ticket #118 15:03:40 #topic Review /usrmove feature - https://fedorahosted.org/fpc/ticket/118 15:03:52 After our last meeting, panu posted some comments to that ticket 15:04:07 specifically, he pointed out that no scriptlet can fail and stop a full transaction 15:04:31 So I'm confused. 15:04:37 what that means is that any user who does a yum upgrade from f16 to f17 with /usrmove enabled will really destroy their system. 15:04:44 Because I said as much, and was contradicted. 15:05:14 tibbs|h: looks like you were right. i'm inclined to trust the rpm maintainer. 15:05:23 Indeed, I'd trust Panu. 15:05:30 But haraldh indicated that it was actually tested. 15:05:43 So this means a yum update will require a script to be run first? 15:05:50 In any case, it looks like we have no easy way out of this. 15:05:59 limburgher: yes, or else it will render the system quite likely unusable. 15:06:21 tibbs|h: Which is? 15:06:27 15:06:32 tibbs|h: Oh … _no_ easy way out 15:06:42 * geppetto missed the no there :) 15:06:51 Well, the easy way out would be to backpedal on all of this. 15:06:54 based on that data, i would like to propose that we ask FESCo to reconsider /usrmove, specifically, because yum upgrades will not only not work, but have a strong chance of destroying the running system. 15:06:56 Reminds me of Python. . .Ypres: 1914. . . 15:07:16 spot: I'm happy to +1 that 15:07:31 +1 from me 15:07:43 spot: +eleventybillion 15:07:47 At this point I have to agree. 15:07:50 +1 15:08:07 At least until we get full documentation of what happens when upgrade scripts and such don't get run. 15:08:16 Maybe there's another way out that nobody has thought of yet. 15:08:36 tibbs|h: panu seemed to think the only way to prevent system destruction would be to hack stuff into the core of rpmlib 15:08:50 which he was noticably not at all happy about doing 15:09:12 Go figure. Massive FS layout change and rpmlib update in one release? Wheeee! 15:09:36 I will note that there have been bugs opened today, Eg. : https://bugzilla.redhat.com/show_bug.cgi?id=760996 15:09:50 limburgher: less of "rpmlib update" and more "disgusting hack inside rpmlib" 15:09:52 Oh, just wonderful. 15:10:26 spot: I'm sorry, it's pronounced "disgusting hack", but spelt "update". 15:10:43 yeah. i think that is the hack that panu was talking about. 15:11:27 Fundamentally I don't have much of a problem with one-time disgusting hacks _if_ we're not screwing users in the process. 15:11:43 Before bouncing it back to fesco, can you discuss it with the feature owner? 15:11:54 In the past he's been here. 15:12:09 But not today, it seems. 15:12:09 tibbs|h: Which is why IMHO a script would have been better than an rpmlib hack, but still. 15:12:33 Because the packaging aspects of it aren't really fesco's pervue. We decided it was a worthwhile feature - actually making it happen is up to the feature owner, and the feature owner has to make that work in a way that's compatible with packaging 15:12:38 mjg59: the feature owner has basically said "hey, it all works, i've tested it." 15:12:44 hey 15:12:57 mjg59: which clearly doesn't map up with rpm's maintainer saying that there is no way it could work as he described 15:13:23 spot: Details. 15:13:29 haraldh: this thing is giving us massive heartburn. 15:13:31 spot: That's a discussion that has to happen, but it's not something that should be pushed back to fesco unless it's clear that they can't figure out why they disagree 15:13:41 haraldh: are you sure you really want to do this? 15:13:46 yes 15:14:48 there is no possibility to get "yum" do what we want 15:14:51 okay, since there is a patch to rpm that might prevent a yum upgrade from being destructive to the running system 15:15:02 the rpmlib patch is simple enough and the best guard 15:15:13 i propose that we hold the guideline change on panu accepting the fix (and or signing off on some other fix) 15:15:14 Any changes to rpm are going to have to be gated through Panu. 15:15:46 to quote Panu on #rpm: harald: ok, I dont have any particular objections with the last version 15:15:52 spot: yup, +1 15:16:49 If Panu agrees with the proposed changes _and_ it actually works, great. 15:17:15 works, yes 15:17:15 it all works fine here 15:17:41 I'm tending to skepticism because the last thing that was supposedly tested.... wasn't. 15:17:42 haraldh: we're a bit more skeptical this week, because last week, you told us you'd tested yum upgrades and that worked. 15:17:57 spot, yes it did 15:18:03 How? 15:18:08 but 15:18:10 And we have Panu saying that it can't work. 15:18:16 " there is no possibility to get "yum" do what we want" 15:18:25 that would seem to conflict. 15:18:39 means we can ot get yum to do the actual conversion of the filesystem 15:18:47 but yum surely does the updates 15:18:48 but I didn't take into account, that other pre scripts could run 15:18:53 kay: yes, but we knew that wasn't possible last week. 15:19:13 haraldh: not just that, the rest of the transaction would complete. 15:19:29 which is now resolved 15:19:37 haraldh: only if panu takes that patch. 15:19:43 yes 15:20:13 * spot also put a comment in that bug about a detail of that patch which seems to be trying to slide the /usr/bin & /usr/sbin merge back into things 15:20:25 no, it does not :) 15:20:47 we just don't want to patch rpm very often 15:21:05 haraldh: imho, it is very unlikely that we would ever see that specific change occur 15:21:09 spot: that's just evaluated flag, for possible future use, not a plan, and not used today 15:21:21 so i would really prefer not to have stuff in rpmlib that implies that we will. 15:21:28 but they should be on the systems when we need to backport all that anyway 15:22:40 Where does this updated RPM need to be so that updates work? Already on the system to be updated? 15:22:47 tibbs|h: yes. 15:22:51 Ugh. 15:23:05 So install F15 from media, update to F17 fails? 15:23:06 but i suppose filesystem could Require: rpm > NNN 15:23:26 tibbs|h: it will be an update to f17, f16, f15 and rhel 15:23:44 that would at least put the fixed rpm before it in the transaction, although, i'm not sure if rpmlib will take effect immediately or not 15:23:56 if i had to guess, i'd say it wouldn't 15:24:01 but panu would know for sure 15:24:11 spot: it does, you can not install a new filesystem.rpm 15:24:13 kay: An update doesn't help, because the system might not be updated when the upgrade starts. 15:24:32 But if pulling it in in the same transaction works, then great. Another thing to test. 15:25:18 tibbs|h: No, it's like all rpmlib additions … you have to "pre-upgrade" rpm 15:25:30 So, i propose that we hold on this guideline change until Panu signs off on a solution to ensure that yum upgrades do not put the system at risk. 15:25:41 On the upside, we do have UI in yum which will tell the user WTF is going on. 15:27:05 i'm still not convinced that this solves the issue, to be honest, and i'm even less convinced that this feature is worth this heartburn. 15:27:39 spot: I'm still waiting to be sold on the sexy new future this enables, that makes me eagerly want this change. 15:28:11 1. if you want to do the dracut usrmove convert script, you will have to have a new dracut installed 15:28:18 It's not really our place to be sold. 15:28:25 2. this dracut version can Conflict with the old rpm 15:28:34 They sold it to FESCo; we just figure out how to make it not screw people. 15:28:36 so, the upgrad path looks like this: 15:28:47 1. upgrade dracut, which will require the new rpm 15:28:58 2. reboot with the kernel command line parameter 15:29:05 3. yum update 15:29:09 haraldh: yes, but if they just do: yum update 15:29:16 it will pull in dracut, rpm, and everything else. 15:29:21 and we have the same problem as before. 15:29:38 yes, but the rpm on the host system does not provide what filesystem needs 15:29:41 we can't force it to stop in the middle 15:29:44 so, no transaction at all 15:29:54 haraldh: the transaction is already going 15:29:57 no 15:30:05 because the deps are not fullfilled 15:30:11 for filesystem 15:30:19 it's a runtime dep 15:30:25 haraldh: the rpm on the host system doesn't know how to check 15:30:28 only the new one does 15:30:30 it's _not_ hardcoded in the rpm.rpm 15:30:46 it's generated at runtime of the new rpm 15:31:08 since we can't assume the system has the code to do the magic provides in rpmlib via your patch 15:31:09 (for the record, RPM transactions *can* be split - see split media) 15:31:59 wwoods: 1) Yeh, split media works so well. 2) You'd need to split the transactions _and_ perform the second one with the newly installed rpm 15:32:18 wwoods: been a long time since i looked at that, but iirc, it isn't really split, its just halting waiting for the disk storage to appear where the packages are that have been computed in advance. 15:32:28 also, if you use F17 live CD and F17 DVD install media, they already have the new rpm 15:32:43 haraldh: we're talking about yum update from f16 to f17 15:32:44 split media was terrible, sure, but that's more a problem of media handling. 15:33:01 and we cannot assume or force that the fixed rpmlib is present on the f16 system 15:33:04 tibbs|h: Agreed. :) 15:33:12 even if we push it as an update and beg people to update rpm first. 15:33:44 not without some sort of yum hackery that refuses to install an f17 package unless rpm is at a certain level. 15:33:51 Personally I think I'd actually prefer to not have it as an update … and just tell people that usrmove is incompatible with yum upgrades 15:34:07 spot, you will have to update dracut on F16 anyway first, to do the conversion 15:34:18 spot: the rpmlib deps. will do that, after they are downloaded and rpm checks them. 15:34:20 geppetto: but i don't want yum upgrade to destroy a system. there is a difference between "this doesn't work" and "this eats your OS" 15:34:21 geppetto: I'd consider that failure. 15:34:31 spot, not possible 15:34:41 haraldh: panu seemed to think it was. 15:34:56 limburgher: *shrug* … I really don't see the difference between that and "it kind of works, you just have to do these 5 magical things correctly" 15:34:56 What if we take the slow approach, and update rpm to support this in f17, and do usrmove in f18? We only support upgrades of any type for one release at a time anyway. 15:35:02 spot: but we don't do the conversion in the pretrans anymore 15:35:09 spot: that was panu's concern 15:35:17 libacl conflicts filesystem < 3 ... filesystem-3 needs the new rpmlib runtime generated deps 15:35:19 spot: we moved that stuff to rpm code now 15:35:20 geppetto: My daughter would when her machine got eaten. :) 15:35:25 limburgher: that would work. 15:35:51 rpmlib runtime generated deps are only provided by _running_ a new rpm 15:35:59 Ok … AIUI with the patch they have … running the upgrade on a current rpm from F15/F16 will _fail_ … because the rpm doesn't know about the rpmlib dep. 15:36:05 geppetto: yes. 15:36:21 haraldh: That's kind of what I as thinking. 15:36:34 So there should be no eating of systems … you will be told no when rpm does it's dep. checking. 15:36:42 geppetto: okay. 15:36:53 people who want live upgrades need to convert the fs with dracut anyway, so i don't really see the problem here 15:37:02 So let's see if Panu will accept this. 15:37:12 there should be no case where we eat a system 15:37:13 tibbs|h: seems like the path forward. 15:37:13 It'll annoy users, because they'll have to download all the packages to find that out … but that's life. 15:37:25 geppetto: yeah, i don't like that users are left in the dark there. 15:37:27 And then if so, and it gets in and pushed out, then we can look at all of the testing and finally move on. 15:38:02 tibbs|h, right 15:38:28 +1 to tibbs's proposal 15:39:17 oh, and yum already gives the output, that you need a new rpm :) 15:40:22 * spot notes that we need some more votes here to reinstate a hold 15:40:43 You obviously have my +1. 15:40:57 sure, +1 15:41:11 +1 15:41:42 +1 15:42:13 okay, thats +5 15:42:31 #action This is placed on hold again, pending Panu's acceptance of a code change to rpmlib to prevent yum updates from succeeding unless rpm is upgraded and the filesystem is migrated via dracut. (+1:5, 0:0, -1:0) 15:42:33 and honestly, I like the rpm solution more than any %pretrans 15:42:55 much cleaner now 15:43:04 If Panu will take it. 15:43:22 yes 15:43:30 #topic Eclipse Packaging Guidelines Change - https://fedorahosted.org/fpc/ticket/122 15:44:53 So, the only thing that concerns me about this set of changes is the magic scriptlets 15:45:01 https://fedoraproject.org/wiki/User:Swagiaal/NewEclipsePackagingGuidelines#Running_the_Reconciler 15:45:21 a few reasons: 15:45:34 1) it assumes there is no %post for the package already 15:45:47 2) it assumes there is no %postun for the package already 15:45:58 3) it assumes there is no %posttrans for the package already 15:46:02 4) it uses %posttrans 15:46:22 5) it's calling a shell script I can't see, without using pathing 15:46:51 whats wrong with %posttrans ? 15:47:06 rdieter: nothing, if it all works. :) 15:47:35 Yeah, not really pleased with macros that define entire sections. 15:47:37 * spot is not on an optimistic kick today. 15:47:46 There whole thing seems like a hack to do what font/desktop-files/etc. all want to do via. collections. 15:47:53 tibbs|h: oh, I missed that 15:48:03 i think i'd much rather see the eclipse template updated to include those scriptlets 15:48:16 add pathing to the .sh script 15:48:24 I'm also not sure why it'd need to run the script from postun on remove and again in posttrans 15:48:26 let us see a copy of that .sh script 15:48:30 spot: ah, totally agree 15:48:34 The %_eclipse_pkg macro expands to %post, %postun, and %posttrans. 15:49:31 I suppose it's not terrible to to provide %_eclipse_pkg for convenience I guess, for packages that don't have or need other scriptlets (as spot mentioned), but meh 15:50:16 so i propose we ask them to not do that supermacro, add pathing to the script, and show us a copy of the script so we can sanity check it (and see if we need to ignore failure cases) 15:50:38 ok, +1 15:51:03 Sure … we can suggest they do %_eclipse_pkg_postun etc. 15:51:25 +1 15:51:29 +1 15:51:31 geppetto: i have no problem with that (assuming it just gets added below %postun) 15:51:39 yeh, that's what I meant :) 15:51:51 we're at +4. 15:52:05 +1 15:52:06 +1 from me 15:52:28 Also, anyone think it's dumb to say "As of Fedora 9" in various places in that document? 15:52:56 tibbs|h: eh. its a minor thing on the grand scale of things. 15:53:12 Oh, sure, but as long as we're in the document... 15:53:17 As of when fire was discoverred... 15:53:33 #action Send back to author for changes (details will go in ticket) (+1:6, 0:0, -1:0) 15:54:55 while i'm writing that up in the ticket, look at 123, it should be a no brainer 15:54:58 i almost just did it 15:55:04 but i figured we could review it 15:55:08 #topic https://fedorahosted.org/fpc/ticket/123 15:55:11 I would also like to know that others in the Eclipse/Java community are on board with those Eclipse changes. 15:55:21 tibbs|h: overholt is, at a minimum 15:55:29 123 , yeah, just do it, +1 15:55:31 I saw he was CC'd. 15:55:37 123 is just do it, certainly. 15:55:49 Oh. Yeah. Absoltively. 15:56:18 yeh, +1 15:56:48 ha … fair enough that scriptlet is identical to the eclipse thing 15:57:09 Well, almost 15:59:40 can we get a quick vote on 123? 15:59:44 +1 15:59:48 +1 15:59:52 +1 16:00:07 +1, again 16:00:08 +1 16:00:27 #action Approved, easyfix (+1:5, 0:0, -1:0) 16:00:40 #topic WhenIsGood 16:00:50 you all should have gotten an email about the whenisgood 16:00:55 please go do it if you haven't done so 16:01:09 i'll send out an email with the results when i get a majority of responses 16:01:30 Is it possible to see results before then? 16:01:55 geppetto: umm, yeah, as soon as i fix tomboy to open again and show me the magic results code, i will send it to you 16:02:04 (yay, rawhide mono) 16:02:31 Look in the text files in ~/.tomboy ?:) 16:02:41 geppetto: yeah, that will work too. 16:03:01 okay, i have to go off to another meeting now 16:03:06 so i'm going to end this one, thanks all 16:03:09 #endmeeting