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

ZFS subdirectories in /usr/local prevent upgrades and errors on brew doctor. #3700

Closed
4 tasks done
ClashTheBunny opened this issue Jan 19, 2018 · 5 comments
Closed
4 tasks done
Assignees

Comments

@ClashTheBunny
Copy link

ClashTheBunny commented Jan 19, 2018

Please always follow these steps:

  • Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed all issues and retried your prior step?
  • Ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
    I was trying to update packages and run brew doctor.
  • What happened (include command output)
brew upgrade
Updating Homebrew...
Error: Permission denied @ dir_initialize - /usr/local/Cellar/.fseventsd
  • What you expected to happen
    Software to install
  • Step-by-step reproduction instructions (by running brew commands)
    Try to mount /usr/local on high sierra
    Give up and make sub volumes for each brew directory
    Watch it fail on the autocreated ZFS directories like .fseventsd.
tank_new/usr_local_cellar on /usr/local/Cellar (zfs, local, journaled, noatime)
tank_new/usr_local_frameworks on /usr/local/Frameworks (zfs, local, journaled, noatime)
tank_new/usr_local_homebrew on /usr/local/Homebrew (zfs, local, journaled, noatime)
tank_new/usr_local_etc on /usr/local/etc (zfs, local, journaled, noatime)
tank_new/usr_local_include on /usr/local/include (zfs, local, journaled, noatime)
tank_new/usr_local on /usr/local/old (zfs, local, union, journaled, noatime)
tank_new/usr_local_opt on /usr/local/opt (zfs, local, journaled, noatime)
tank_new/usr_local_sbin on /usr/local/sbin (zfs, local, journaled, noatime)
tank_new/usr_local_temp on /usr/local/temp (zfs, local, journaled, noatime)
tank_new/usr_local_var on /usr/local/var (zfs, local, journaled, noatime)
rmason@chip ~ ❯❯❯ HOMEBREW_VERSION: 1.5.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 985202cf8e3f9e221753dd99adf1e8874fece03a
Last commit: 10 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 92b8c66b71cc094586dccbd8fa4a0c2a8778fffc
Core tap last commit: 35 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: --appdir=~/Applications
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_TEMP: /usr/local/Cellar/temp/
HOMEBREW_VISUAL: vim
CPU: quad-core 64-bit sandybridge
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.0 build 900
Git: 2.15.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.26.1/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.2_1/bin/ruby
Java: 9.0.1, 9, 1.8.0_152
macOS: 10.13.2-x86_64
Xcode: N/A
CLT: 9.2.0.0.1.1510905681
X11: 2.7.11 => /opt/X11
brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libdiskmgt.1.dylib
  /usr/local/lib/libnvpair.1.dylib
  /usr/local/lib/libuutil.1.dylib
  /usr/local/lib/libzfs.2.dylib
  /usr/local/lib/libzfs_core.1.dylib
  /usr/local/lib/libzpool.1.dylib

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
  /usr/local/lib/libdiskmgt.la
  /usr/local/lib/libnvpair.la
  /usr/local/lib/libuutil.la
  /usr/local/lib/libzfs.la
  /usr/local/lib/libzfs_core.la
  /usr/local/lib/libzpool.la

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libdiskmgt.a
  /usr/local/lib/libnvpair.a
  /usr/local/lib/libuutil.a
  /usr/local/lib/libzfs.a
  /usr/local/lib/libzfs_core.a
  /usr/local/lib/libzpool.a
Error: Permission denied @ dir_initialize - /usr/local/Cellar/.fseventsd
@ClashTheBunny ClashTheBunny changed the title High Sierra requires /usr ZFS subdirectories in /usr Jan 19, 2018
@ilovezfs
Copy link
Contributor

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

@ClashTheBunny ClashTheBunny changed the title ZFS subdirectories in /usr ZFS subdirectories in /usr/local prevent upgrades and errors on brew doctor. Jan 19, 2018
@ClashTheBunny
Copy link
Author

I accidentally hit enter on the issue before I could edit the issue text. Please see my updates.

@ClashTheBunny
Copy link
Author

@ilovezfs are the above updates sufficient?

@ilovezfs
Copy link
Contributor

This is outside the scope of https://github.com/Homebrew/brew issue support but I can help you if you open a ticket in https://github.com/openzfsonosx/zfs

@ClashTheBunny
Copy link
Author

Thanks!!

@ilovezfs ilovezfs reopened this Jan 19, 2018
@ghost ghost assigned ilovezfs Jan 19, 2018
@ghost ghost added the in progress Maintainers are working on this label Jan 19, 2018
@ghost ghost removed the in progress Maintainers are working on this label Jan 21, 2018
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants