Unable to share folder with virt-manager/qemu

I didn’t missed that step, but now that you made me think about it I checked the status of smb after boot and it says that it failed to start. The output is this:

● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: failed (Result: core-dump) since Fri 2020-10-02 11:52:55 CEST; 56s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1335 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=dumped, signal=ABRT)
Main PID: 1335 (code=dumped, signal=ABRT)
Status: “smbd: ready to serve connections…”
CPU: 87ms
ott 02 11:52:55 dhcppc8 smbd[1335]: #4 /usr/lib64/samba/libsmbd-base-samba4.so(+0x240a97) [0x7fec0acc9a97]
ott 02 11:52:55 dhcppc8 smbd[1335]: #5 /usr/lib64/samba/libsmbd-shim-samba4.so(exit_server+0x18) [0x7fec0a2ac9d8]
ott 02 11:52:55 dhcppc8 smbd[1335]: #6 /usr/sbin/smbd(main+0x135f) [0x55ea5cd7d1ff]
ott 02 11:52:55 dhcppc8 smbd[1335]: #7 /lib64/libc.so.6(__libc_start_main+0xf2) [0x7fec09f3b042]
ott 02 11:52:55 dhcppc8 smbd[1335]: #8 /usr/sbin/smbd(_start+0x2e) [0x55ea5cd7dd9e]
ott 02 11:52:55 dhcppc8 smbd[1335]: [2020/10/02 11:52:55.720628, 0] …/…/source3/lib/dumpcore.c:317(dump_core)
ott 02 11:52:55 dhcppc8 smbd[1335]: coredump is handled by helper binary specified at /proc/sys/kernel/core_pattern
ott 02 11:52:55 dhcppc8 smbd[1335]:
ott 02 11:52:55 dhcppc8 systemd[1]: smb.service: Main process exited, code=dumped, status=6/ABRT
ott 02 11:52:55 dhcppc8 systemd[1]: smb.service: Failed with result ‘core-dump’.

The strange thing is that if I restart smb everything work. When I check the status after restarting the output is this:

● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2020-10-02 12:00:50 CEST; 18s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 4035 (smbd)
Status: “smbd: ready to serve connections…”
Tasks: 4 (limit: 18741)
Memory: 7.9M
CPU: 62ms
CGroup: /system.slice/smb.service
├─4035 /usr/sbin/smbd --foreground --no-process-group
├─4037 /usr/sbin/smbd --foreground --no-process-group
├─4038 /usr/sbin/smbd --foreground --no-process-group
└─4039 /usr/sbin/smbd --foreground --no-process-group
ott 02 12:00:50 dhcppc8 systemd[1]: Starting Samba SMB Daemon…
ott 02 12:00:50 dhcppc8 smbd[4035]: [2020/10/02 12:00:50.082171, 0] …/…/lib/util/become_daemon.c:135(daemon_ready)
ott 02 12:00:50 dhcppc8 smbd[4035]: daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
ott 02 12:00:50 dhcppc8 systemd[1]: Started Samba SMB Daemon.

Do anybody have any clue about what could be the problem?

Please open a new topic, thanks.

1 Like

https://discussion.fedoraproject.org/t/problem-with-samba/9486/4?u=alciregi

2 Likes