install.sh: AMDS MSI rolls back (1627 at StartServices) while the usbmuxd bridge holds 27015 #11
Labels
No labels
bug
Claude
deferred
enhancement
epic
implementation
priority/high
priority/low
priority/med
research
verification
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iTunes/iTunes.Wine#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On the Fedora desktop (project-zeus, Fedora 44
wine-11.20-1.fc44Staging),./install.shstopped after "installing Apple Mobile Device Support" and printed neither of the later steps (set -e): no MobileDevice.dll, no AMDS service key, no.desktopfile.Cause: a socat bridge (#8) was already listening on 127.0.0.1:27015. The MSI's
StartServicesaction starts the Apple Mobile Device Service, which cannot bind 27015 and so cannot start:msiexec exits 91 (1627 & 0xff), and the MSI rolls back.
Control: same prefix and same patched MSI, with the bridge stopped and nothing on 27015: rc 0, MobileDevice.dll present. The
fedora:44container never had a listener on 27015, which is why #10 didn't see this.Why it matters: once the bridge is a permanent user unit (#8), every run of install.sh into a new prefix would hit this.
Fix: condition
StartServicesoff as well, in the samemsibuildUPDATE (... WHERE Action='SetAppleMobileDeviceServicePermissions64' OR Action='StartServices'). The service is set toStart=4 straight afterwards anyway.Done when: install.sh exits 0 into a fresh prefix while 27015 is held.