Git Product home page Git Product logo

asepsis's People

Contributors

darwin avatar jjlorenzo avatar jk3y avatar jridgewell avatar mralexgray avatar noctem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asepsis's Issues

Release a pkg file

Hey bro!
Thanks for your great work, but can you release a pkg file?
Best regards!

Inappropriate ioctl for device

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.

Any way to build with Xcode 9.2?

Hi folks,

I tried editing the project.pbx file from 50 to 48 which let me open it with Xcode but with the amount of errors created during the build I am not certain it complied correctly so is there a "correct" method for using 9.2?

What about make a new one that just like asepsis?

I am wondering if we can make a new one that just like asepsis. And how much work will it takes?
For some reason that asepsis not work well and lose maintainance. All we need is a easy to install and easy to use tool to prevent the fucking .DS_Store.

Problem with icloud drive

When asepsis installed my finder always complains about icoud drive and redirect me to icloud setup, but it is just crashing if I want to change something. If I click on desktop, finder hangs about 20-30 seconds. Nothing happens. If I uninstall asepsis everything works again. If I reinstall it, it will work until next reboot.

Any idea? Anyway, without icloud it seems to work just fine. Could you please help me to resolve this issue?

Can't install on High Sierra

I'm trying to install it on MacOS High Sierra (10.13.6) but I'm getting this error:

> "/Library/Application Support/Asepsis/ctl/asepsisctl" install
Asepsis ##VERSION## can be only installed under OS X versions 10.8, 10.9 and 10.10
Check out http://asepsis.binaryage.com for updated version.

Breaks DesktopServicesPriv.framework

Since installing this fork of Asepsis, opening several applications just gives me the following error:

dyld: Library not loaded: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
  Referenced from: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
  Reason: no suitable image found.  Did find:
	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture
	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: stat() failed with errno=45
	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture

This didn't happen with vanilla Asepsis pre-Mojave. Reinstalling the OS fixes the issue, but also of course uninstalls Asepsis.

install_name_tool error on macos mojave

Here's the error I'm getting. I have macOS version 10.14.5

> sudo rm -rf "/Library/Application Support/Asepsis"
> sudo cp -r "/Users/tuckerritti/Downloads/asepsis-master/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"
> sudo "/Library/Application Support/Asepsis/install_name_tool" -id "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv" "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
> sudo "/usr/bin/codesign" --deep --file-list - --timestamp=none --force --sign - "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv: replacing existing signature
/private/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv
/private/tmp/asepsis-codesign-dry-run/A/_CodeSignature/CodeResources
> codesign --verify "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
> codesign --verify "/tmp/asepsis-codesign-dry-run/A"
> 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"
> sudo cp "/Library/Application Support/Asepsis/DesktopServicesPrivWrapper" "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
> sudo "/usr/bin/codesign" --deep --file-list - --timestamp=none --force --sign - "/tmp/asepsis-codesign-dry-run/A"
/private/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv
/private/tmp/asepsis-codesign-dry-run/A/_CodeSignature/CodeResources
> codesign --verify "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
> codesign --verify "/tmp/asepsis-codesign-dry-run/A"
> sudo rm -rf "/tmp/asepsis-codesign-dry-run"
---- END DRY RUN ----

> sudo cp -a "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A" "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic_10_14_5_18F132_20190804110959"
> sudo rm -rf "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup"
> sudo cp -a "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A" "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup"
> sudo touch "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/asepsis-1.4"
> sudo cp -a "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A" "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_"
> sudo "install_name_tool" -id "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_/DesktopServicesPriv" "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_/DesktopServicesPriv"
install_name_tool: for architecture x86_64 object: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_/DesktopServicesPriv malformed object (unknown load command 8)
failed with code pid 99820 exit 1
Asepsis installation encountered some failures, please inspect the command output.```

migrate in ignores [root], only looks in home folder

$ asepsisctl migratein /Volumes/compartment-d
migrating all .DS_Store files from /Users/daniel into /usr/local/.dscage
no .DS_Store files found, nothing to do

Also, when rake installing:

> chmod 777 "/usr/local/.dscage"
chmod: changing permissions of '/usr/local/.dscage': Operation not permitted
failed with code pid 27739 exit 1

This makes the installation fail with an error, but it's still properly installed. I chowned the folder to daniel:staff and re-ran which makes it complete.

However, also-also: asepsisctl isn't in PATH, so I have to manually link it somewhere in PATH. You do do
> sudo ln -Fs "/Library/Application Support/Asepsis/ctl/asepsisctl" "/usr/local/bin/asepsisctl"
but at least on my installation, this isn't in my PATH.

Anyway, the real prob here is the migratein issue :)

Thanks

Report Crashing In Catalina

The current build seems to cause Finder crashing repeatedly. So anyone who is running Catalina should wait for further updates.

And right now I have uninstalled asepsis, but the asepsis_openx_np + 794 still seems to be there and keep causing crashes. How can I remove this leftover?

Process:               Finder [1247]
Path:                  /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Identifier:            com.apple.finder
Version:               10.15 (1298.0.12)
Build Info:            Finder_FE-1298000012000000~1
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Finder [1247]
User ID:               501

Date/Time:             2019-10-18 22:24:45.893 -0400
OS Version:            Mac OS X 10.15 (19A602)
Report Version:        12
Bridge OS Version:     3.0 (14Y906)


Time Awake Since Boot: 840 seconds

System Integrity Protection: disabled

Crashed Thread:        2  Dispatch queue: sync queue: vRefNum = -100(boot)

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0xffffffff90909090
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [1247]

.
.
.

Thread 2 Crashed:: Dispatch queue: sync queue: vRefNum = -100(boot)
0   ???                           >.0x00007ffe7ffff007 0 + 140731045900295
1   com.apple.desktopservices     >.0x00007fff4695ddc4 asepsis_openx_np + 794
2   com.apple.desktopservices     >.0x00007fff46981c25 TFileDescriptor::Open(char const*, OpenFlags, __CFFileSecurity*, bool, bool, bool) + 523
3   com.apple.desktopservices     >.0x00007fff46a5b3dc TFSInfo::CreateFile(char const*, TString const&, __CFFileSecurity*, bool, char*) + 374
4   com.apple.desktopservices     >.0x00007fff46a5b082 TFSInfo::CreateFile(TString const&, TUniqueNamer*, unsigned int, unsigned int, std::__1::shared_ptr<TFSInfo>&, bool, bool, bool) const + 140
5   com.apple.desktopservices     >.0x00007fff46a6eb43 TPropertyInfo::FlushChanges(std::__1::shared_ptr<TFSInfo> const&, std::__1::shared_ptr<TPropertyInfoList> const&) + 203
6   com.apple.desktopservices     >.0x00007fff46a6ea1f TPropertyInfo::FlushChanges(std::__1::shared_ptr<TCFURLInfo> const&, std::__1::shared_ptr<TPropertyInfoList> const&) + 99
7   com.apple.desktopservices     >.0x00007fff46966540 THFSPlusPropertyStore::FlushChanges() + 122
8   com.apple.desktopservices     >.0x00007fff469847cb TFSVolumeInfo::FlushVolumes(bool) + 175
9   com.apple.desktopservices     >.0x00007fff469c2732 TNode::HandleNodeRequest(TRef<TNodeTask*, TInternalRefCountPolicy<TNodeTask> > const&) + 662
10  com.apple.desktopservices     >.0x00007fff4696dc8f ExceptionSafeBlock(void () block_pointer) + 9
11  com.apple.desktopservices     >.0x00007fff46a138f7 invocation function for block in TVolumeSyncThread::PostNodeTaskRequest(std::__1::shared_ptr<TVolumeSyncThread> const&, TNodeTask*) + 138
12  libdispatch.dylib             >.0x00007fff643e4553 _dispatch_call_block_and_release + 12
13  libdispatch.dylib             >.0x00007fff643e54de _dispatch_client_callout + 8
14  libdispatch.dylib             >.0x00007fff643eaa9e _dispatch_lane_serial_drain + 597
15  libdispatch.dylib             >.0x00007fff643eb422 _dispatch_lane_invoke + 363
16  libdispatch.dylib             >.0x00007fff643f4aa1 _dispatch_workloop_worker_thread + 598
17  libsystem_pthread.dylib       >.0x00007fff6463e763 _pthread_wqthread + 290
18  libsystem_pthread.dylib       >.0x00007fff6463e5c3 start_wqthread + 15

`rake install` reports a bunch of `No such file or directory` errors

I am running Mojave and tried to follow the instruction in readme. The compiling was successful. But when I try to rake install I got some errors. Here is the command output.

> sudo cp -a "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A" "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic"
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: Operation not permitted
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A: unable to copy extended attributes to /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: Operation not permitted
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/_CodeSignature: unable to copy extended attributes to /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature/CodeResources: No such file or directory
cp: utimes: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: chown: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: chmod: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: chflags: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/_CodeSignature: unable to copy ACL to /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/_CodeSignature: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources: unable to copy extended attributes to /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources/DesktopServicesHelper: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources/Info.plist: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources/version.plist: No such file or directory
cp: utimes: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: chown: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: chmod: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: chflags: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resources: unable to copy ACL to /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/Resources: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic/DesktopServicesPriv: No such file or directory
cp: utimes: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: No such file or directory
cp: chown: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: No such file or directory
cp: chmod: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: No such file or directory
cp: chflags: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: No such file or directory
cp: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A: unable to copy ACL to /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_Backup_Panic: Operation not permitted
failed with code pid 58688 exit 1
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_updater
> sudo cp "/Library/Application Support/Asepsis/com.binaryage.asepsis.updater.plist" "/Library/LaunchAgents/com.binaryage.asepsis.updater.plist"
Asepsis installation encountered some failures, please inspect the command output.

What might be going wrong here?

Updating macOS?

Hi and sorry for another "Issue",

Can I please ask when an update to macOS is released it usually breaks Asepsis, is your version simply fixed with the commands asepsisctl uninstall_wrapper and
asepsisctl install_wrapper as with the official older releases?

Broken with Security Update 2018-002 High Sierra

Seems this doesn't work with Security Update 2018-002 High Sierra (released Oct 30).

rake build supposedly succeeds, though there are messages from cp about missing AsepsisUpdater.app etc.

rake install ends with the following:

> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_wrapper
the original library is expected to be a fat binary. (/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv should contain both slices x86_64 and i386)
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_updater
> sudo cp "/Library/Application Support/Asepsis/com.binaryage.asepsis.updater.plist" "/Library/LaunchAgents/com.binaryage.asepsis.updater.plist"
Asepsis installation encountered some failures, please inspect the command output.

asepsisctl diagnose says the following:

DesktopServicesPriv (/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv) is not properly installed.
  => Have you installed a system update recently? It might revert it back to the original version.

BUG: Haven't told you that I love you.

I love you!

Please mark bug as fixed :) Yay, asepsis on Mojave. You fucking rock.

(Would've commented on your Reddit, but it's closed. Hope you ignored the "why you wanna duh dat?" replies. This is fantastic. Hope you make it 10.15 compatible as well ;) Thank you!)

Missing message on missing `colored` gem with brewed ruby

First of all, thanks for this :)

I tried rake build and got a confusing error from gem. Thinking this was probably something with me using a homebrew version of ruby, I tried with the system one, and got a more descriptive error, You must "gem install colored" to use terminal colors. Installing that gem with my homebrew ruby made the build complete successfully :)

Not your problem, really, and not sure if you can do anything about it, just wanted to let you know :)

install_name_tool error

OS: 10.14.5 (18F132)
rake build succeeded but rake install gives me this error:

install_name_tool: for architecture x86_64 object: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A_/DesktopServicesPriv malformed object (unknown load command 8)
failed with code pid 24915 exit 1
Asepsis installation encountered some failures, please inspect the command output.

Error on rake install

rake install gives the following error message on macOS Mojave 10.14.1:

/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv: replacing existing signature
/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv: code object is not signed at all
In subcomponent: /private/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv.tbd
failed with code pid 1201 exit 1

codesign error with 10.13

Hi,

Thank you very much for the update. I was able to build the app successfully but now I am having trouble installing the wrapper. The message I am getting is like:

---- 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"
> sudo "install_name_tool" -id "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv" "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
> sudo "/usr/bin/codesign" --file-list - --timestamp=none --force --sign - "/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv"
/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv: replacing existing signature
/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv: code object is not signed at all
In subcomponent: /private/tmp/asepsis-codesign-dry-run/A/DesktopServicesPriv.tbd
failed with code pid 8121 exit 1
> "/Library/Application Support/Asepsis/ctl/asepsisctl" install_updater
/Library/Application Support/Asepsis/ctl/lib/micro-optparse.rb:47: warning: constant ::Fixnum is deprecated
> sudo cp "/Library/Application Support/Asepsis/com.binaryage.asepsis.updater.plist" "/Library/LaunchAgents/com.binaryage.asepsis.updater.plist"
Asepsis installation encountered some failures, please inspect the command output.

Do you have any ideas?

DYLD, [0x2] Wrong architecture for certain apps

Hi there,
Thanks again for all your help with getting asepsis running.

I was able to successfully build and install asepsis on MacOS 10.14.5 (18F203).
Asepsis is running and the service can be restarted or stopped.

I however noticed after the install that a couple of apps on Macos stopped working.
They are being terminated right after start.

The crash report for those apps mention DYLD, [0x2] Wrong architecture
and reference that DesktopServicesPriv that I believe are getting swapped out in the install .

Dyld Error Message:
  Library not loaded: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
  Referenced from: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
  Reason: no suitable image found.  Did find:
	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture
	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: stat() failed with errno=1
	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture

Uninstalling asepsis with asepsisctl uninstall and rebooting fixes the issue.
I have attached the error log file for one of those apps. The log file is identical for all the other ones as well.

Thanks for your help!

file is:
asepsis-crash-report-steermouse.crash.txt

Finder won't open after installing asepsis

Hi,

I recently upgraded to Mojave and immediately after reboot I received a notification that asepsis is broken, so I reinstalled it like I do after every system update. But this time it didn’t work, so I started googling and found your fork! Thanks a lot for the good work :)

But I have a problem - the finder app stopped working:
screenshot 2018-10-14 at 01 12 15
The annoying thing is that window won’t go away – I can’t minimise it or get rid of it, and when I click any button then this annoying windows pops up again. I could do without finder as I’m not using it anyway, but this window is soooo frustrating that I’ll do anything to have it removed.

Points to note:

  • after installing asepsis I reenabled SIP
  • then I uninstalled Xcode as I didn’t want 5.7 GB of space to be wasted indefinitely.

Do you have any clue what could I do to solve this finder issue or at least get rid of that bloody window? I already did steps 1 – 5 from this guide: https://discussions.apple.com/thread/8045079 (the remaining steps advise to reinstall the system but I’d like to avoid that for obvious reasons).

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.