diffrence entre la deb11 et la deb12
Bonjour
J'ai une debian 11 qui monte un répertoire partagé smb d'une machine sous win server 2019
.
Dans ce répertoire il y a un script qui copie un fichier vers le même rep mais avec un autre nom en fonction de l'heure qu'il est .
Cela se comporte comme je le souhaite avec la deb11
Par contre avec la debian 12
qui a exactement le même fichier fstab
le repertoire se monte bien , si je fais ls , je vois bien les fichiers
mais quand je veux copier un fichier de ce répertoire monté , je reçois le message , processus arrête , et le fichier créer fait 0 octets
Et je ne comprends pas trop pourquoi ,
mon fichier fstab ressemble a ceci :
//ip host win/share /mnt/share cifs uid=0,rw,user=myuser,password=mypassword
sur les 2 machines sous debian
et le script est exactement est le meme
sur la deb11 pas soucis
avec la deb 12 , le script ne fonctionne pas , et même la commande cp , va me faire processus arrêté et creer un fichier de 0 octet
sur la deb 12 la commande dmesg me donne ceci :
[ 5.511952] audit: type=1400 audit(1707301089.980:26): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice//gpg" pid=305 comm="apparmor_parser"
[ 7.603570] NET: Registered PF_QIPCRTR protocol family
[ 8.077173] audit: type=1400 audit(1707301092.544:27): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=561 comm="cupsd" capability=12 capname="net_admin"
[ 8.542367] FS-Cache: Loaded
[ 8.592318] Key type dns_resolver registered
[ 8.792733] Key type cifs.spnego registered
[ 8.792742] Key type cifs.idmap registered
[ 8.793231] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
[ 8.793234] CIFS: Attempting to mount \\ip win host\share ( ligne modifié afin de pas affiche l'ip )
[ 83.931639] traps: light-locker[1190] trap int3 ip:7fcab11037d7 sp:7ffe973bbf30 error:0 in libglib-2.0.so.0.7400.6[7fcab10c5000+8d000]
[ 117.832866] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 117.832877] #PF: supervisor read access in kernel mode
[ 117.832881] #PF: error_code(0x0000) - not-present page
[ 117.832884] PGD 0 P4D 0
[ 117.832889] Oops: 0000 [#1] PREEMPT SMP NOPTI
[ 117.832893] CPU: 0 PID: 1793 Comm: cp Not tainted 6.1.0-17-amd64 #1 Debian 6.1.69-1
[ 117.832899] Hardware name: Xen HVM domU, BIOS 4.13 11/17/2023
[ 117.832901] RIP: 0010:cifs_flush_folio+0x3f/0x100 [cifs]
[ 117.832983] Code: d2 41 54 49 89 cc 31 c9 55 48 89 f5 48 c1 ee 0c 53 48 83 ec 08 48 8b 7f 30 e8 8d 8a 97 f6 48 3d 00 f0 ff ff 0f 87 a5 00 00 00 <48> 8b 10 48 89 c3 b8 00 10 00 00 f7 c2 00 00 01 00 74 07 0f b6 4b
[ 117.832987] RSP: 0018:ffffa71342fd7ca0 EFLAGS: 00010207
[ 117.832991] RAX: 0000000000000000 RBX: 00000000000879ea RCX: 0000000000000000
[ 117.832995] RDX: 0000000000000000 RSI: 0000000000000087 RDI: ffff9bca88ce8000
[ 117.832998] RBP: 00000000000879e9 R08: 0000000000000000 R09: 0000000000000000
[ 117.833000] R10: 00000000000879e9 R11: ffff9bca8a6eee00 R12: ffffa71342fd7d10
[ 117.833003] R13: ffffa71342fd7d08 R14: ffff9bca8a0b3580 R15: 0000000000000000
[ 117.833008] FS: 00007f3ec5e86500(0000) GS:ffff9bcb7ac00000(0000) knlGS:0000000000000000
[ 117.833012] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 117.833014] CR2: 0000000000000000 CR3: 00000001021c6000 CR4: 00000000003506f0
[ 117.833019] Call Trace:
[ 117.833025] <TASK>
[ 117.833029] ? __die_body.cold+0x1a/0x1f
[ 117.833037] ? page_fault_oops+0xd2/0x2b0
[ 117.833045] ? exc_page_fault+0x70/0x170
[ 117.833051] ? asm_exc_page_fault+0x22/0x30
[ 117.833059] ? cifs_flush_folio+0x3f/0x100 [cifs]
[ 117.833129] ? cifs_precopy_set_eof+0x2b/0x150 [cifs]
[ 117.833196] cifs_remap_file_range+0x467/0x680 [cifs]
[ 117.833263] do_clone_file_range+0xe9/0x230
[ 117.833269] vfs_clone_file_range+0x37/0x140
[ 117.833273] ioctl_file_clone+0x49/0xb0
[ 117.833279] do_vfs_ioctl+0x77/0x910
[ 117.833284] __x64_sys_ioctl+0x6e/0xd0
[ 117.833288] do_syscall_64+0x5b/0xc0
[ 117.833294] ? syscall_exit_to_user_mode+0x27/0x40
[ 117.833298] ? do_syscall_64+0x67/0xc0
[ 117.833303] ? do_syscall_64+0x67/0xc0
[ 117.833308] ? exit_to_user_mode_prepare+0x40/0x1e0
[ 117.833314] entry_SYSCALL_64_after_hwframe+0x64/0xce
[ 117.833319] RIP: 0033:0x7f3ec601eb5b
[ 117.833323] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 117.833326] RSP: 002b:00007ffcd7d6b310 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 117.833329] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f3ec601eb5b
[ 117.833332] RDX: 0000000000000003 RSI: 0000000040049409 RDI: 0000000000000004
[ 117.833334] RBP: 00007ffcd7d6b750 R08: 00007ffcd7d6b910 R09: 0000000000000001
[ 117.833336] R10: 00007f3ec5f38358 R11: 0000000000000246 R12: 0000000000000000
[ 117.833338] R13: 00007ffcd7d6cf36 R14: 0000000000008000 R15: 0000000000000000
[ 117.833343] </TASK>
[ 117.833344] Modules linked in: cmac nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver fscache netfs rfkill qrtr binfmt_misc intel_rapl_msr intel_rapl_common ghash_clmulni_intel sha512_ssse3 sha512_generic joydev sha256_ssse3 sha1_ssse3 aesni_intel crypto_simd evdev sg serio_raw cryptd pcspkr msr parport_pc ppdev lp parport dm_mod fuse loop efi_pstore configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_generic usbhid hid sr_mod cdrom ata_generic ata_piix libata uhci_hcd ehci_hcd cirrus crct10dif_pclmul crct10dif_common drm_shmem_helper drm_kms_helper crc32_pclmul psmouse xen_netfront xen_blkfront drm usbcore scsi_mod crc32c_intel usb_common scsi_common i2c_piix4 floppy button
[ 117.833425] CR2: 0000000000000000
[ 117.833428] ---[ end trace 0000000000000000 ]---
[ 117.833430] RIP: 0010:cifs_flush_folio+0x3f/0x100 [cifs]
[ 117.833501] Code: d2 41 54 49 89 cc 31 c9 55 48 89 f5 48 c1 ee 0c 53 48 83 ec 08 48 8b 7f 30 e8 8d 8a 97 f6 48 3d 00 f0 ff ff 0f 87 a5 00 00 00 <48> 8b 10 48 89 c3 b8 00 10 00 00 f7 c2 00 00 01 00 74 07 0f b6 4b
[ 117.833505] RSP: 0018:ffffa71342fd7ca0 EFLAGS: 00010207
[ 117.833508] RAX: 0000000000000000 RBX: 00000000000879ea RCX: 0000000000000000
[ 117.833510] RDX: 0000000000000000 RSI: 0000000000000087 RDI: ffff9bca88ce8000
[ 117.833513] RBP: 00000000000879e9 R08: 0000000000000000 R09: 0000000000000000
[ 117.833515] R10: 00000000000879e9 R11: ffff9bca8a6eee00 R12: ffffa71342fd7d10
[ 117.833517] R13: ffffa71342fd7d08 R14: ffff9bca8a0b3580 R15: 0000000000000000
[ 117.833522] FS: 00007f3ec5e86500(0000) GS:ffff9bcb7ac00000(0000) knlGS:0000000000000000
[ 117.833525] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 117.833527] CR2: 0000000000000000 CR3: 00000001021c6000 CR4: 00000000003506f0
[ 117.833531] note: cp[1793] exited with irqs disabled
[ 228.616026] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 228.616035] #PF: supervisor read access in kernel mode
[ 228.616038] #PF: error_code(0x0000) - not-present page
[ 228.616040] PGD 0 P4D 0
[ 228.616044] Oops: 0000 [#2] PREEMPT SMP NOPTI
[ 228.616047] CPU: 1 PID: 1832 Comm: cp Tainted: G D 6.1.0-17-amd64 #1 Debian 6.1.69-1
[ 228.616051] Hardware name: Xen HVM domU, BIOS 4.13 11/17/2023
[ 228.616053] RIP: 0010:cifs_flush_folio+0x3f/0x100 [cifs]
[ 228.616107] Code: d2 41 54 49 89 cc 31 c9 55 48 89 f5 48 c1 ee 0c 53 48 83 ec 08 48 8b 7f 30 e8 8d 8a 97 f6 48 3d 00 f0 ff ff 0f 87 a5 00 00 00 <48> 8b 10 48 89 c3 b8 00 10 00 00 f7 c2 00 00 01 00 74 07 0f b6 4b
[ 228.616110] RSP: 0018:ffffa71342dc7c88 EFLAGS: 00010207
[ 228.616113] RAX: 0000000000000000 RBX: 000000000007ff2e RCX: 0000000000000000
[ 228.616115] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9bca83d9e600
[ 228.616117] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 228.616119] R10: 000000000007ff2d R11: ffff9bcaa1c15a00 R12: ffffa71342dc7cf8
[ 228.616121] R13: ffffa71342dc7cf0 R14: ffff9bca8a0b2ed0 R15: 0000000000000001
[ 228.616125] FS: 00007ff345b91500(0000) GS:ffff9bcb7ac40000(0000) knlGS:0000000000000000
[ 228.616127] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 228.616129] CR2: 0000000000000000 CR3: 0000000120f5a000 CR4: 00000000003506e0
[ 228.616133] Call Trace:
[ 228.616137] <TASK>
[ 228.616141] ? __die_body.cold+0x1a/0x1f
[ 228.616148] ? page_fault_oops+0xd2/0x2b0
[ 228.616154] ? exc_page_fault+0x70/0x170
[ 228.616158] ? asm_exc_page_fault+0x22/0x30
[ 228.616165] ? cifs_flush_folio+0x3f/0x100 [cifs]
[ 228.616209] ? cifs_flush_folio+0x33/0x100 [cifs]
[ 228.616253] ? cifs_precopy_set_eof+0x2b/0x150 [cifs]
[ 228.616297] cifs_remap_file_range+0x16d/0x680 [cifs]
[ 228.616341] do_clone_file_range+0xe9/0x230
[ 228.616347] vfs_clone_file_range+0x37/0x140
[ 228.616350] ioctl_file_clone+0x49/0xb0
[ 228.616355] do_vfs_ioctl+0x77/0x910
[ 228.616358] ? __rseq_handle_notify_resume+0xa9/0x4a0
[ 228.616363] __x64_sys_ioctl+0x6e/0xd0
[ 228.616367] do_syscall_64+0x5b/0xc0
[ 228.616371] ? exit_to_user_mode_prepare+0x14b/0x1e0
[ 228.616376] ? syscall_exit_to_user_mode+0x27/0x40
[ 228.616379] ? do_syscall_64+0x67/0xc0
[ 228.616382] ? do_user_addr_fault+0x1b0/0x580
[ 228.616385] ? exit_to_user_mode_prepare+0x40/0x1e0
[ 228.616388] entry_SYSCALL_64_after_hwframe+0x64/0xce
[ 228.616392] RIP: 0033:0x7ff345d29b5b
[ 228.616395] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 228.616397] RSP: 002b:00007ffcbb81f7d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 228.616400] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007ff345d29b5b
[ 228.616402] RDX: 0000000000000003 RSI: 0000000040049409 RDI: 0000000000000004
[ 228.616404] RBP: 00007ffcbb81fc10 R08: 00007ffcbb81fdd0 R09: 0000000000000001
[ 228.616405] R10: 00007ff345c43358 R11: 0000000000000246 R12: 0000000000000001
[ 228.616407] R13: 00007ffcbb820556 R14: 0000000000008000 R15: 0000000000000000
[ 228.616410] </TASK>
[ 228.616418] Modules linked in: cmac nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver fscache netfs rfkill qrtr binfmt_misc intel_rapl_msr intel_rapl_common ghash_clmulni_intel sha512_ssse3 sha512_generic joydev sha256_ssse3 sha1_ssse3 aesni_intel crypto_simd evdev sg serio_raw cryptd pcspkr msr parport_pc ppdev lp parport dm_mod fuse loop efi_pstore configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_generic usbhid hid sr_mod cdrom ata_generic ata_piix libata uhci_hcd ehci_hcd cirrus crct10dif_pclmul crct10dif_common drm_shmem_helper drm_kms_helper crc32_pclmul psmouse xen_netfront xen_blkfront drm usbcore scsi_mod crc32c_intel usb_common scsi_common i2c_piix4 floppy button
[ 228.616481] CR2: 0000000000000000
[ 228.616484] ---[ end trace 0000000000000000 ]---
[ 228.616485] RIP: 0010:cifs_flush_folio+0x3f/0x100 [cifs]
[ 228.616530] Code: d2 41 54 49 89 cc 31 c9 55 48 89 f5 48 c1 ee 0c 53 48 83 ec 08 48 8b 7f 30 e8 8d 8a 97 f6 48 3d 00 f0 ff ff 0f 87 a5 00 00 00 <48> 8b 10 48 89 c3 b8 00 10 00 00 f7 c2 00 00 01 00 74 07 0f b6 4b
[ 228.616532] RSP: 0018:ffffa71342fd7ca0 EFLAGS: 00010207
[ 228.616534] RAX: 0000000000000000 RBX: 00000000000879ea RCX: 0000000000000000
[ 228.616536] RDX: 0000000000000000 RSI: 0000000000000087 RDI: ffff9bca88ce8000
[ 228.616538] RBP: 00000000000879e9 R08: 0000000000000000 R09: 0000000000000000
[ 228.616539] R10: 00000000000879e9 R11: ffff9bca8a6eee00 R12: ffffa71342fd7d10
[ 228.616541] R13: ffffa71342fd7d08 R14: ffff9bca8a0b3580 R15: 0000000000000000
[ 228.616544] FS: 00007ff345b91500(0000) GS:ffff9bcb7ac40000(0000) knlGS:0000000000000000
[ 228.616546] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 228.616548] CR2: 0000000000000000 CR3: 0000000120f5a000 CR4: 00000000003506e0
[ 228.616550] note: cp[1832] exited with irqs disabled