FEDORA-2017-b4a6234451 created by jlayton 2 years ago for Fedora 26
stable

Primarily documentation updates and a small bugfix in setcifsacl.

How to install

sudo dnf upgrade --advisory=FEDORA-2017-b4a6234451

This update has been submitted for testing by jlayton.

2 years ago
User Icon anonymous commented & provided feedback 2 years ago

Still getting the below: Nov 7 20:49:30 curie automount[32518]: st_ready: st_ready(): state = 0 path /u Nov 7 20:49:32 curie automount[32518]: handle_packet: type = 3 Nov 7 20:49:32 curie automount[32518]: handle_packet_missing_indirect: token 83, name drobo-lc, request pid 32536 Nov 7 20:49:32 curie automount[32518]: attempting to mount entry /drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: lookup_mount: lookup(yp): looking up drobo-lc Nov 7 20:49:32 curie automount[32518]: lookup_mount: lookup(yp): drobo-lc -> -fstype=cifs,rw,user,suid,credentials=/etc/auto.smb.drobo-rh ://drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: parse_mount: parse(sun): expanded entry: -fstype=cifs,rw,user,suid,credentials=/etc/auto.smb.drobo-rh ://drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: parse_mount: parse(sun): gathered options: fstype=cifs,rw,user,suid,credentials=/etc/auto.smb.drobo-rh Nov 7 20:49:32 curie automount[32518]: parse_mount: parse(sun): dequote("://drobo-rh/drobo-lc") -> ://drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: parse_mount: parse(sun): core of entry: options=fstype=cifs,rw,user,suid,credentials=/etc/auto.smb.drobo-rh, loc=://drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: sun_mount: parse(sun): mounting root /drobo-rh, mountpoint drobo-lc, what //drobo-rh/drobo-lc, fstype cifs, options rw,user,suid,credentials=/etc/auto.smb.drobo-rh Nov 7 20:49:32 curie automount[32518]: do_mount: //drobo-rh/drobo-lc /drobo-rh/drobo-lc type cifs options rw,user,suid,credentials=/etc/auto.smb.drobo-rh using module generic Nov 7 20:49:32 curie automount[32518]: mount_mount: mount(generic): calling mkdir_path /drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: mount_mount: mount(generic): calling mount -t cifs -o rw,user,suid,credentials=/etc/auto.smb.drobo-rh //drobo-rh/drobo-lc /drobo-rh/drobo-lc Nov 7 20:49:32 curie kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. Nov 7 20:49:32 curie automount[32518]: >> mount error(112): Host is down Nov 7 20:49:32 curie kernel: CIFS VFS: cifs_mount failed w/return code = -112 Nov 7 20:49:32 curie automount[32518]: >> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Nov 7 20:49:32 curie automount[32518]: mount(generic): failed to mount //drobo-rh/drobo-lc (type cifs) on /drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: dev_ioctl_send_fail: token = 83 Nov 7 20:49:32 curie automount[32518]: failed to mount /drobo-rh/drobo-lc Nov 7 20:49:32 curie automount[32518]: handle_packet: type = 3 Nov 7 20:49:32 curie automount[32518]: handle_packet_missing_indirect: token 84, name drobo-lc, request pid 32543 Nov 7 20:49:32 curie automount[32518]: dev_ioctl_send_fail: token = 84 Nov 7 20:49:32 curie automount[32518]: handle_packet: type = 3 Nov 7 20:49:32 curie automount[32518]: handle_packet_missing_indirect: token 85, name drobo-lc, request pid 32536 Nov 7 20:49:32 curie automount[32518]: dev_ioctl_send_fail: token = 85

Here is the auto.cifs file: key="$1"

Note: create a cred file for each windows/Samba-Server in your network

which requires password authentification. The file should contain

exactly two lines:

username=user

password=*

Please don't use blank spaces to separate the equal sign from the

user account name or password.

credfile="/etc/auto.smb.$key"

Note: Use cifs instead of smbfs:

mountopts="-fstype=cifs,vers=1.0,file_mode=0600,dir_mode=0700,uid=root,gid=root" smbclientopts="-m SMB1" for P in /bin /sbin /usr/bin /usr/sbin do if [ -x $P/smbclient ] then SMBCLIENT=$P/smbclient break fi done [ -x $SMBCLIENT ] || exit 1 if [ -e "$credfile" ] then mountopts=$mountopts",vers=1.0,credentials=$credfile" smbclientopts="-A "$credfile else smbclientopts="-N" fi $SMBCLIENT $smbclientopts -gL $key 2>>/var/log/autofs.log \ | awk -v key="$key" -v opts="$mountopts" -F'|' -- ' BEGIN { ORS=""; first=1 } /Disk/ { if (first) { print opts; first=0 }; gsub(/ /, "\ ", $2); sub(/\$/, "\$", $2); print " \\n\t /" $2, "://" key "/" $2 } END { if (!first) print "\n"; else exit 1 } '

This update has been pushed to testing.

2 years ago
User Icon pwalter commented & provided feedback 2 years ago
karma

Works

User Icon cserpentis commented & provided feedback 2 years ago
karma

works for me in a VM

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

2 years ago
User Icon jonathancalloway commented & provided feedback 2 years ago
karma

Works for me

This update has been submitted for batched by bodhi.

2 years ago

This update has been submitted for stable by bodhi.

2 years ago

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
bugfix
Severity
low
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Dates
submitted
2 years ago
in testing
2 years ago
in stable
2 years ago
BZ#1510630 mount with CIFS version 1 results in kernel 4.13: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1
0
0

Automated Test Results