Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inappropriate ioctl for device #26

Open
DanielSmedegaardBuus opened this issue Jan 5, 2023 · 1 comment
Open

Inappropriate ioctl for device #26

DanielSmedegaardBuus opened this issue Jan 5, 2023 · 1 comment

Comments

@DanielSmedegaardBuus
Copy link

Hello :)

Just installed High Sierra on an old MacBook Pro. Found your fork in the main asepsis github issues section. Neat :)

However, I get the following error when attempting rake install. (csrutil disable has been done - twice - in recovery mode, with the "successfully disabled" message):

$ rake install
> sudo rm -rf "/Library/Application Support/Asepsis"
> sudo cp -r "/Users/daniel/Projects/asepsis/bin/Asepsis/" "/Library/Application Support/Asepsis"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install
> "/Library/Application Support/Asepsis/ctl/asepsisctl" create_symlink
> mkdir -p /usr/local/bin
> sudo rm "/usr/local/bin/asepsisctl"
> sudo ln -Fs "/Library/Application Support/Asepsis/ctl/asepsisctl" "/usr/local/bin/asepsisctl"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" make_dscage
> mkdir -p "/usr/local/.dscage"
> chmod 777 "/usr/local/.dscage"
chmod: changing permissions of '/usr/local/.dscage': Operation not permitted
failed with code pid 1682 exit 1
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_daemon
> sudo cp "/Library/Application Support/Asepsis/com.binaryage.asepsis.daemon.plist" "/Library/LaunchDaemons/com.binaryage.asepsis.daemon.plist"
> sudo launchctl load "/Library/LaunchDaemons/com.binaryage.asepsis.daemon.plist"
/Library/LaunchDaemons/com.binaryage.asepsis.daemon.plist: service already loaded
> "/Library/Application Support/Asepsis/ctl/asepsisctl" launch_daemon
> sudo launchctl start "com.binaryage.asepsis.daemon"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_wrapper

---- START DRY RUN ----
> sudo rm -rf "/tmp/asepsis-codesign-dry-run"
> sudo mkdir -p "/tmp/asepsis-codesign-dry-run"
> sudo cp -a "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A" "/tmp/asepsis-codesign-dry-run"
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources/DesktopServicesHelper': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources/Info.plist': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources/version.plist': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/_CodeSignature/CodeResources': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv.tbd': Inappropriate ioctl for device
failed with code pid 1711 exit 1
Asepsis installation encountered some failures, please inspect the command output.

With a sudo in front, it's a little less complainy, but it still has those pesky "Inappropriate ioctl for device" messages:

$ sudo rake install
> sudo rm -rf "/Library/Application Support/Asepsis"
> sudo cp -r "/Users/daniel/Projects/asepsis/bin/Asepsis/" "/Library/Application Support/Asepsis"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install
> "/Library/Application Support/Asepsis/ctl/asepsisctl" create_symlink
> mkdir -p /usr/local/bin
> sudo rm "/usr/local/bin/asepsisctl"
> sudo ln -Fs "/Library/Application Support/Asepsis/ctl/asepsisctl" "/usr/local/bin/asepsisctl"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" make_dscage
> mkdir -p "/usr/local/.dscage"
> chmod 777 "/usr/local/.dscage"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_daemon
> sudo cp "/Library/Application Support/Asepsis/com.binaryage.asepsis.daemon.plist" "/Library/LaunchDaemons/com.binaryage.asepsis.daemon.plist"
> sudo launchctl load "/Library/LaunchDaemons/com.binaryage.asepsis.daemon.plist"
/Library/LaunchDaemons/com.binaryage.asepsis.daemon.plist: service already loaded
> "/Library/Application Support/Asepsis/ctl/asepsisctl" launch_daemon
> sudo launchctl start "com.binaryage.asepsis.daemon"
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_wrapper

---- START DRY RUN ----
> sudo rm -rf "/tmp/asepsis-codesign-dry-run"
> sudo mkdir -p "/tmp/asepsis-codesign-dry-run"
> sudo cp -a "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A" "/tmp/asepsis-codesign-dry-run"
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources/DesktopServicesHelper': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources/Info.plist': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources/version.plist': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/_CodeSignature/CodeResources': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv': Inappropriate ioctl for device
cp: cannot lseek '/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv.tbd': Inappropriate ioctl for device
failed with code pid 1484 exit 1
Asepsis installation encountered some failures, please inspect the command output.
@DanielSmedegaardBuus
Copy link
Author

My fs is HFS+, btw, not sure if it matters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant