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

CIFS Sanity checks #1124

Closed
FransUrbo opened this issue Dec 3, 2012 · 0 comments
Closed

CIFS Sanity checks #1124

FransUrbo opened this issue Dec 3, 2012 · 0 comments
Assignees
Milestone

Comments

@FransUrbo
Copy link
Contributor

With commit 645fb9c, SMBFS is now available in ZoL. Verify (stat(2) that the 'net' command is available) before initializing/continuing. I.e., sanity check.

Also: Check SHARE_DIR for availability.

Include usefull error message(s) to user if not available.

@ghost ghost assigned FransUrbo Dec 3, 2012
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Mar 30, 2013
command and the usershare directory exists.
Closes: openzfs#1124
@FransUrbo FransUrbo mentioned this issue Mar 30, 2013
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Mar 31, 2013
  and that samba needs to be able to authenticate user(s).
* Add information that 'net' can be used to modify the share after
  ZFS sharing and that it will be undone with a 'zfs unshare'.
Closes: openzfs#1181

* Do basic sanity checks in smb_available() to verify that the 'net'
  command and the usershare directory exists.
Closes: openzfs#1124

* Give an example on how to mount a SMB filesystem shared via ZFS.
Improves: openzfs#1170
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Mar 31, 2013
  and that samba needs to be able to authenticate user(s).
* Add information that 'net' can be used to modify the share after
  ZFS sharing and that it will be undone with a 'zfs unshare'.
Closes: openzfs#1181

* Do basic sanity checks in smb_available() to verify that the 'net'
  command and the usershare directory exists.
Closes: openzfs#1124

* Give an example on how to mount a SMB filesystem shared via ZFS.
Improves: openzfs#1170
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Apr 13, 2013
+ Merge from iscsi+smbfs+snapshot+zvol
  Commits:
    c519b70606fc2cfba3423aeed1f7d6dfbc55b27e
    Add some ignores (among them pkg files).

    9cc55935e3f1eed3cd0f67bfcc46aa5908e90927
    Indicate full 'path' (latest git commit date
    and all patches) in the Release tag.
+ Script to run through some tests to test share/unsharing...
+ Improve upon the module load string to include the Release
  from META.
+ New automake'd Makefile.in's.
+ Merge latest from iscsi+smbfs+mine
* Put the extra share script (/sbin/zfs_share_iscsi) as a define.
* Optional /etc/iscsi_target_id which contain the TID - this instead
  of autogenerating one (which changes every month!).
* Document iSCSI for ZFS for Linux.
* Makefile.in is recreated by autogen.sh so remove it...
* Remove a failed patch merge.
* Re-add some debug from ZoL:master.
* Mark the Release with the last GIT commit date.
+ In zfs_unmount(), support VOLUMEs. This function is called
  when (for example) doing a 'zfs destroy' on a shared volume
  as well as mounted filesystems so make sure we unshare instead
  of unmount any active volume.
* Simplify domainname retreival.
  + Tripple check before continuing with reversing it.
* Sanity checks for EXTRA_SHARE_SCRIPT, IETM_CMD_PATH and PROC_IET_VOLUME.
* Update manpage with more information about the ACL, guest access
  and that samba needs to be able to authenticate user(s).
* Add information that 'net' can be used to modify the share after
  ZFS sharing and that it will be undone with a 'zfs unshare'.
  Closes: openzfs#1181
* Do basic sanity checks in smb_available() to verify that the 'net'
  command and the usershare directory exists.
  Closes: openzfs#1124
* Give an example on how to mount a SMB filesystem shared via ZFS.
  Improves: openzfs#1170
* Remove superfluous ZFS_PROP_SHAREISCSI.
* Remove some extra heavy debugging I forgot to remove from
  my development of iSCSI/SMBFS!
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Apr 13, 2013
  and that samba needs to be able to authenticate user(s).
* Add information that 'net' can be used to modify the share after
  ZFS sharing and that it will be undone with a 'zfs unshare'.
Closes: openzfs#1181

* Do basic sanity checks in smb_available() to verify that the 'net'
  command and the usershare directory exists.
Closes: openzfs#1124

* Give an example on how to mount a SMB filesystem shared via ZFS.
Improves: openzfs#1170
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Apr 13, 2013
  * Update manpage with more information about the ACL, guest access
    and that samba needs to be able to authenticate user(s).
  * Add information that 'net' can be used to modify the share after
    ZFS sharing and that it will be undone with a 'zfs unshare'.
    Closes: openzfs#1181
  * Do basic sanity checks in smb_available() to verify that the 'net'
    command and the usershare directory exists.
    Closes: openzfs#1124
  * Give an example on how to mount a SMB filesystem shared via ZFS.
    Improves: openzfs#1170
FransUrbo added a commit to FransUrbo/zfs that referenced this issue Apr 13, 2013
  * Update manpage with more information about the ACL, guest access
    and that samba needs to be able to authenticate user(s).
  * Add information that 'net' can be used to modify the share after
    ZFS sharing and that it will be undone with a 'zfs unshare'.
    Closes: openzfs#1181
  * Do basic sanity checks in smb_available() to verify that the 'net'
    command and the usershare directory exists.
    Closes: openzfs#1124
  * Give an example on how to mount a SMB filesystem shared via ZFS.
    Improves: openzfs#1170
unya pushed a commit to unya/zfs that referenced this issue Dec 13, 2013
Do basic sanity checks in smb_available() to verify that the 'net'
command and the usershare directory exists.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#1124
pcd1193182 pushed a commit to pcd1193182/zfs that referenced this issue Sep 26, 2023
openzfs#1124)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.31.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.29.1...tokio-1.31.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

Successfully merging a pull request may close this issue.

1 participant