-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
SmartOS/OmniOS - mount module fails. #14915
Comments
Good catch! We'll get this fixed. |
@johngrasty - is this still an issue? This was logged long ago. Wondering if the latest Salt still shows the problem. |
Yes. It appears that the code has not been changed. I think there would also be significant problems with other parts the mount module for illumos based distributions. I tested many of the ones available with 100% failure rate. |
This may be a start, though I am not a programmer.
|
@sjorge tagging my self, I can replicate. |
@johngrasty How does the fix in #34254 look to you? |
* upstream/develop: Fix pylint error Remove test that doesn't actually test anything Don't escape source before calling managed Fix for saltstack#14915 (saltstack#34254) Fixed symlinks on windows where the slashes don't match ipset: fix the comment containing blank Use 'config_dir' setting instead of CONFIG_DIR in gpg renderer ipset: fix commont containing blank Fix win_system.set_system_date_time win_pkg: refresh pkg database if refresh=True passed to version() or list_pkgs() Catch CommandExecutionError in pkg states some cleanup and renaming better way to check for openSUSE Leap Fix for SUSE OS grains in 2015.8
This should be fixed by #34254. Since we haven't heard back, I am closing this. If this pops up again, leave a comment and we can re-open and take another look. Thanks all! |
https://github.com/saltstack/salt/blob/develop/salt/modules/mount.py#L36
The mount module runs
mount -l
on line 36 (of the develop branch, 2014.1 does the same though) in the _list_mounts function.-l
is an illegal option on SmartOS/OmniOS (and I assume other illumos distros.I believe that it is used for returning the disk labels in linux. In FreeBSD,
-l
is used "used in conjunction with the -a option, also mount those file systems which are marked as “late”." While it does no harm, it might be best to not use it on FreeBSD as well.Here is the error output on the minion's logs:
The text was updated successfully, but these errors were encountered: