Activity log for bug #2007861

Date Who What changed Old value New value Message
2023-02-20 15:27:28 David Lechevalier bug added bug
2023-02-20 15:27:28 David Lechevalier attachment added test.py https://bugs.launchpad.net/bugs/2007861/+attachment/5648647/+files/test.py
2023-02-20 15:30:28 David Lechevalier description The following error message is displayed in the kernel.log ``` Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc ``` # To reproduce * Deploy a jammy vm uptodate * Install needed package ``` apt install samba apt install cifs-utils ``` * Create a share using the command ``` mkdir -p /data/share1-smb chmod 777 /data/share1-smb net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y ``` * mount the share using the command ``` mkdir /tmp/test cd /tmp/test mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" ``` * Start the following python script inside the mounted share ``` #!/usr/bin/env python3 import os path = "test.txt" f = open(path, "w+") os.remove(path) print(os.stat(path)) ``` ## Actual result * The following message is displayed in red in the kernel.log ``` Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc ``` This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue The following error message is displayed in the kernel.log ``` Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc ``` # To reproduce * Deploy a jammy vm uptodate * Install needed package ``` apt install samba apt install cifs-utils ``` * Create a share using the command ``` mkdir -p /data/share1-smb chmod 777 /data/share1-smb net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y ``` * mount the share using the command ``` mkdir /tmp/test cd /tmp/test mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" ``` * Start the following python script inside the mounted share ``` #!/usr/bin/env python3 import os path = "test.txt" f = open(path, "w+") os.remove(path) print(os.stat(path)) ``` ## Actual result * The following message is displayed in red in the kernel.log ``` Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc ``` This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue
2023-02-20 15:32:55 David Lechevalier description The following error message is displayed in the kernel.log ``` Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc ``` # To reproduce * Deploy a jammy vm uptodate * Install needed package ``` apt install samba apt install cifs-utils ``` * Create a share using the command ``` mkdir -p /data/share1-smb chmod 777 /data/share1-smb net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y ``` * mount the share using the command ``` mkdir /tmp/test cd /tmp/test mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" ``` * Start the following python script inside the mounted share ``` #!/usr/bin/env python3 import os path = "test.txt" f = open(path, "w+") os.remove(path) print(os.stat(path)) ``` ## Actual result * The following message is displayed in red in the kernel.log ``` Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc ``` This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue The following error message is displayed in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc # To reproduce * Deploy a jammy vm uptodate * Install needed package apt install samba apt install cifs-utils * Create a share using the command mkdir -p /data/share1-smb chmod 777 /data/share1-smb net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y ``` * mount the share using the command mkdir /tmp/test cd /tmp/test mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" * Start the python script(in attachment) inside the mounted share ## Actual result * The following message is displayed in red in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue
2023-02-20 15:33:09 David Lechevalier description The following error message is displayed in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc # To reproduce * Deploy a jammy vm uptodate * Install needed package apt install samba apt install cifs-utils * Create a share using the command mkdir -p /data/share1-smb chmod 777 /data/share1-smb net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y ``` * mount the share using the command mkdir /tmp/test cd /tmp/test mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" * Start the python script(in attachment) inside the mounted share ## Actual result * The following message is displayed in red in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue The following error message is displayed in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc # To reproduce * Deploy a jammy vm uptodate * Install needed package     apt install samba     apt install cifs-utils * Create a share using the command     mkdir -p /data/share1-smb     chmod 777 /data/share1-smb     net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y * mount the share using the command     mkdir /tmp/test     cd /tmp/test     mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" * Start the python script(in attachment) inside the mounted share ## Actual result * The following message is displayed in red in the kernel.log     Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS:     cifs_acl_to_fattr: error -2 getting sec desc This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue
2023-02-20 15:33:18 David Lechevalier description The following error message is displayed in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc # To reproduce * Deploy a jammy vm uptodate * Install needed package     apt install samba     apt install cifs-utils * Create a share using the command     mkdir -p /data/share1-smb     chmod 777 /data/share1-smb     net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y * mount the share using the command     mkdir /tmp/test     cd /tmp/test     mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" * Start the python script(in attachment) inside the mounted share ## Actual result * The following message is displayed in red in the kernel.log     Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS:     cifs_acl_to_fattr: error -2 getting sec desc This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue The following error message is displayed in the kernel.log Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS: cifs_acl_to_fattr: error -2 getting sec desc # To reproduce * Deploy a jammy vm uptodate * Install needed packages     apt install samba     apt install cifs-utils * Create a share using the command     mkdir -p /data/share1-smb     chmod 777 /data/share1-smb     net usershare add share1s /data/share1-smb "Test share" "Everyone:F" guest_ok=y * mount the share using the command     mkdir /tmp/test     cd /tmp/test     mount -t cifs //127.0.0.1/share1s /tmp/test -o "cifsacl,guest,vers=3.1.1" * Start the python script(in attachment) inside the mounted share ## Actual result * The following message is displayed in red in the kernel.log     Feb 20 14:35:50 test-sm-133 kernel: [ 368.437641] CIFS: VFS:     cifs_acl_to_fattr: error -2 getting sec desc This message is right, but it should be a debug message not an error. I tried with a kernel 6.2. I have the same issue