From owner-freebsd-ports@freebsd.org Mon Oct 8 12:22:17 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D20810BDD00 for ; Mon, 8 Oct 2018 12:22:17 +0000 (UTC) (envelope-from cheffo@freebsd-bg.org) Received: from mail-vk1-xa41.google.com (mail-vk1-xa41.google.com [IPv6:2607:f8b0:4864:20::a41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D837D8886D for ; Mon, 8 Oct 2018 12:22:16 +0000 (UTC) (envelope-from cheffo@freebsd-bg.org) Received: by mail-vk1-xa41.google.com with SMTP id l123-v6so4517671vkl.12 for ; Mon, 08 Oct 2018 05:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd-bg-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Y9myqdpD+GA6NIIvt5yxY9i9UwSl/T9jwTbQykA52O4=; b=TTAjz7G/4iaxy0rJMNHr5dqZ0rH1X0WXQdi9UgHEN4uXNxlDV8O5s54q7sT/XMIrPP uWf3ee9/zyEcbwuteA+Z1Fpx+NmwRnvD4SXKtrGlny71CV67NZIRek/aQRuFDMRxTXRf C0vN0jG9hUsVicRECcyphu7nEzzJ7scw2CHMtGGgLTqabG813RvNipIEFYPG1X/vrImT s/FmePozN3LCDhmx+w4l0SALL9rJ2rkdaUgkxWCo/DJC17fOGWmCRwJlpBYF2GAe6CUc 27I3xdZJ5tM7qzv71sT04vFD9olguWDn5E1geogh2iMhXv4g+D20S+V30Xh8DKfqtLiR xmNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Y9myqdpD+GA6NIIvt5yxY9i9UwSl/T9jwTbQykA52O4=; b=gTFXHzQSaHHZ7Y4WEDyF9RG+tPwbCq/oYBIA9+qGK9uW0jwK/3Tqoeb1aVTUHh9HWm Mzck9JebsK19xclVBqdgbUxPbjvQKGYTnkN2wYNxQ4wZTAd+wbbkG789XLYl82cHXJZU 8iG3MvNSotQqoZuS4ymLDfCzQPagAoXLHDpInlPTYKGAvzewO+ShREOCoQb1iJhmW7Gs iRJgq8avjIzC5b8yIYNRz9mtZShk2mi9DPVdJgYdObpgf1etbs+mIDYNhm5Be3CQmwZe 9AntdwKTwNUp/2FOujZDL3kjtf9LJO3odJ7ZHU2cK3JEsLiVuxLZNhF7EEh86tadIfkR SHRw== X-Gm-Message-State: ABuFfojcUNbWZWTNAABnBTN7egOX6mau3+42z3hspwkvwrK1dw+Jy4IV VelsO7Wc+CQpZI9FAg5OLlyPcCUkHHCpskZBC+HHhVFoTBUbEw== X-Google-Smtp-Source: ACcGV61L5JBW0kC3caZYsJJg+pG0HhcFtP21HPkFDLiQutuxOkJjMy12O095nbiJjw+CMRIZ1KerOYynYkaEDZeb82A= X-Received: by 2002:a1f:2a50:: with SMTP id q77-v6mr9105651vkq.14.1539001335910; Mon, 08 Oct 2018 05:22:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:2e07:0:0:0:0:0 with HTTP; Mon, 8 Oct 2018 05:22:15 -0700 (PDT) From: Stefan Lambrev Date: Mon, 8 Oct 2018 15:22:15 +0300 Message-ID: Subject: Strange error and behaviour with sysutils/fusefs-smbnetfs To: FreeBSD , mi@aldan.algebra.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 12:22:17 -0000 Hi, On recently updated freebsd 11 machine with samba47 and fusefs-smbnetfs-0.6.1_1 creating files on smb mount is impossible. When I try to create file on the mount receive the following error: cp /var/log/smbnet.log . cp: ./smbnet.log: Input/output error The error message which I receive in debug mode is: 2018-10-08 14:49:42.220 srv(24576)->smb_conn_srv_listen: process query=13, query_len=8 2018-10-08 14:49:42.221 srv(24576)->smb_conn_srv_fstat: errno=22, Invalid argument After this error the file is created with zero size e.g. empty. I can read and delete the file. I found this bug report in ubuntu - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892841 and this patch - https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=892841;filename=0001-fix-opening-a-file-with-O_CREAT-and-reading-created-.patch;msg=10 But unfortunately this workaround leads to another error (e.g. call not implemented). A month ago everything worked fine, so I'm suspecting changing default samba from 46 to 47 (https://reviews.freebsd.org/D16904) as the reason for this.