Hi folks,
I found the problem! Teacher always said show your work, so here's what I did:
> Have you done anything to confirm that the iTunes 11.0.2 update is the trigger?
I did two tests of that. I installed updates while connected to
Apple's servers until the problem went away when connected to
reposado. Then on Friday I installed just iTunes 11.0.2 and the
problem went away with the next check of the reposado catalog. Oh but
wait ... when I set the iTunes version back to 11.0 (as Greg did here:
https://groups.google.com/group/munki-dev/msg/1e4a179c34060328 ), I
failed to replicate the crash. Curious.
> Have you created a branch with _just_ the iTunes 11.0.2 update and pointed a test client at it?
Hmmm OK fair enough; I'll do that.
First let's see what things iTunes we have ....
./repoutil --products | grep iTunes
061-3453 iTunes Producer 1.6
2007-11-29 [] (Deprecated)
041-5144 iTunes Producer
2.6.0 2012-03-28 [] (Deprecated)
zzzz041-6245 iTunes
10.6.3 2012-10-11 []
041-8613 iTunes Producer
2.8.0 2012-11-05 [] (Deprecated)
zzzz041-8972 iTunes
11.0.1 2012-12-13 [] (Deprecated)
zzzz041-9597 iTunes
2013-02-19 [] (Deprecated)
zzzz041-9596 iTunes
2013-02-19 [] (Deprecated)
zzzz041-9793 iTunes
2013-02-21 []
zzzz041-9792 iTunes
2013-02-21 []
041-8900 iTunes Producer
2.9.0 2013-03-06 []
So let's see what we have here ... zzzz041-9793 and zzzz041-9792 must
be the combo and delta for the latest iTunes 11. But we've also got
iTunes 10 there. I know full well that the combo update for iTunes
should update everything, so that extra iTunes 10 update is making me
suspicious, especially since Greg is updating from iTunes 10 (I'm
coming from iTunes 9). Oh well, let's include everything:
./repoutil --add-product zzzz041-6245 zzzz041-9793 zzzz041-9792
041-8900 justitunes
Aaaaand crash. It's really quite efficient when there's only one
thing to install!
> Have you been looking at the logs?
Well yes of course ... the logs on the Mac show me nothing but the
crash. And why would the reposado logs be of any use? -- it's just a
file on a Web server at this point. Oh wait! The apache2 error logs?
[Tue Mar 19 08:51:53 2013] [error] [client 10.0.0.1] File does not
exist: /storage/reposado/html/content/downloads/50/49/zzzz041-6245/uif0ktml8jgzve8yfgg7sra78c1hx8mlmx/iTunesX.pkm
Well son of a gun! So what if I try to download that file from Apple?
It's an empty file. That means that the solution is so close, I can
touch it!
touch /storage/reposado/html/content/downloads/50/49/zzzz041-6245/uif0ktml8jgzve8yfgg7sra78c1hx8mlmx/iTunesX.pkm
Hey! No more crashing!
So the question now is: Is the a curl issue with zero-length files, a
reposado issue, or the side-effect of SuSE plus the other two? I'd be
interested to see whether or not others have that file. I will try to
fit in some more investigating.
Fun!
Sincerely,
Francis Beaumier
2013/3/18 Ken Elliott <
ken...@gmail.com>: