Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on May 15, 2020. It is now read-only.
/powPublic archive

Fix reinstall/upgrade on OS X Yosemite, El Capitan#505

Open
ktheory wants to merge1 commit intobasecamp:master
base:master
Choose a base branch
Loading
fromktheory:fix-launchctl-bootstrap

Conversation

ktheory
Copy link
Contributor

Fixes#473

When running the install script multiple times on Yosemite (10.10), the
launchctl bootstrap commands fail with a 133 exit code and a message
“Operation already in progress”.

I’ve found that thebootstrap/enable commands can be replaced with
load -Fw to ensure the job is running.

kickstart -k is still needed to restart the job in the case of an
upgrade or re-installation.

NB: I'm not very familiar w/ launchctl and I couldn't find much documentation beyond theman page.

I'm also not sure why or if the-F force flag is needed forload, but I saw it used elsewhere, and it doesn't seem to hurt.

This is tested on the latest public version of OS X Yosemite,10.10.3.

Fixesbasecamp#473When running the install script multiple times on Yosemite (10.10), the`launchctl bootstrap` commands fail with a 133 exit code and a message“Operation already in progress”.I’ve found that the `bootstrap`/`enable` commands can be replaced with`load -Fw` to ensure the job is running.`kickstart -k` is still needed to restart the job in the case of anupgrade or re-installation.
@ktheory
Copy link
ContributorAuthor

Ping! 👋 Would be great to get this released and avoid the gotcha of silently failing when upgrading and reinstalling pow.

Anything I can do to make it easier to merge?

@amrit
Copy link

+1 on this fix!

@bramski
Copy link

+1 Nothing on pow since Oct 2014.

@ktheory
Copy link
ContributorAuthor

If others want to use this fix (so you can run the install script idempotently), use:

curl https://raw.githubusercontent.com/ktheory/pow/fix-launchctl-bootstrap/install.sh | sh

@ktheory
Copy link
ContributorAuthor

FYI, this fix also applies to El Capitan.

@ktheoryktheory changed the titleFix reinstall/upgrade on OS X YosemiteFix reinstall/upgrade on OS X Yosemite, El CapitanApr 13, 2016
@birajendunetskope
Copy link

if you use sudo launchctl load -Fw, you don't need to use kick start

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Installing pow on Yosemite fails silently atlaunchctl bootstrap
4 participants
@ktheory@amrit@bramski@birajendunetskope

[8]ページ先頭

©2009-2025 Movatter.jp