How to use Samba in Silverblue?

Fedora Silverblue, version 30.20190427.n.0

I see that some Samba configuration files are included in the base image, but there’s no Samba systemd service. How is Samba supposed to work in Silverblue?

$ ls /etc/samba/
lmhosts  smb.conf  smb.conf.example

$ systemctl list-unit-files --type=service | grep smb
$ systemctl list-unit-files --type=service | grep samba
$ systemctl list-unit-files --type=service | grep nmb

I’m missing something? Or should I report it in fedora-silverblue tracker?

At least on my system, I only have the samba client stuff installed:

$ rpm -qa | rg samba
samba-client-4.10.2-0.fc30.x86_64
samba-common-4.10.2-0.fc30.noarch
samba-client-libs-4.10.2-0.fc30.x86_64
samba-libs-4.10.2-0.fc30.x86_64
samba-common-libs-4.10.2-0.fc30.x86_64

If you want the server too, maybe try rpm-ostree install samba.

Oh, sure. I should have checked the uninstalled samba packages.

One more question: if /etc/samba/smb.conf is part of default ostree image, my edits in this file will be overwritten if an image upgrades it?

Nope, OSTree special-cases /etc and merges all the config files on update.