Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package containers-systemd for openSUSE:Factory checked in at 2021-05-10 15:36:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/containers-systemd (Old) and /work/SRC/openSUSE:Factory/.containers-systemd.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "containers-systemd" Mon May 10 15:36:34 2021 rev:26 rq:891252 version:0.0+git20210507.9afe2a6 Changes: -------- --- /work/SRC/openSUSE:Factory/containers-systemd/containers-systemd.changes 2021-04-10 15:27:30.726387969 +0200 +++ /work/SRC/openSUSE:Factory/.containers-systemd.new.2988/containers-systemd.changes 2021-05-10 15:38:54.597679439 +0200 @@ -1,0 +2,6 @@ +Fri May 07 09:28:29 UTC 2021 - [email protected] + +- Update to version 0.0+git20210507.9afe2a6: + * Add files for samba + +------------------------------------------------------------------- Old: ---- containers-systemd-0.0+git20210407.9384691.tar.xz New: ---- containers-systemd-0.0+git20210507.9afe2a6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ containers-systemd.spec ++++++ --- /var/tmp/diff_new_pack.EYAW0A/_old 2021-05-10 15:38:55.045677667 +0200 +++ /var/tmp/diff_new_pack.EYAW0A/_new 2021-05-10 15:38:55.049677651 +0200 @@ -16,8 +16,8 @@ # -%define containers bind dhcp-server dovecot fetchmail haproxy mariadb minidlna nfs-server nginx openldap postfix spamassassin squid wsdd -%define container_services container-bind.service container-dhcp-server.service container-dhcp6-server.service container-dovecot.service container-fetchmail.service container-haproxy.service container-mariadb.service container-minidlna.service container-nfs-server.service container-nginx.service container-openldap.service container-postfix.service container-spamassassin.service container-squid.service container-wsdd.service container-image-prune.service container-image-prune.timer +%define containers bind dhcp-server dovecot fetchmail haproxy mariadb minidlna nfs-server nginx openldap postfix samba spamassassin squid wsdd +%define container_services container-bind.service container-dhcp-server.service container-dhcp6-server.service container-dovecot.service container-fetchmail.service container-haproxy.service container-mariadb.service container-minidlna.service container-nfs-server.service container-nginx.service container-openldap.service container-postfix.service container-samba.service container-spamassassin.service container-squid.service container-wsdd.service container-image-prune.service container-image-prune.timer %if %{undefined service_del_postun_without_restart} %define service_del_postun_without_restart() \ @@ -26,7 +26,7 @@ %endif Name: containers-systemd -Version: 0.0+git20210407.9384691 +Version: 0.0+git20210507.9afe2a6 Release: 0 Summary: Systemd service files and config files for openSUSE container License: MIT @@ -39,8 +39,8 @@ This package contains the configuration files and systemd units to run the openSUSE containers via podman managed by systemd. Currently supported are bind, dhcp-server, dovecot, fetchmail, haproxy, -mariadb, minidlna, nginx, openldap, postfix, spamassassin, squid and wsdd. -Additional, there is a timer to cleanup dangling container images. +mariadb, minidlna, nginx, openldap, postfix, samba spamassassin, squid +and wsdd. Additional, there is a timer to cleanup dangling container images. %prep %setup -q @@ -146,6 +146,9 @@ %dir %attr(0700,root,root) %{_sysconfdir}/postfix-secrets %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/postfix-secrets/SMTP_PASSWORD %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/postfix-secrets/LDAP_BIND_PASSWORD +%{_unitdir}/container-samba.service +%{_distconfdir}/default/container-samba +%{_sbindir}/rccontainer-samba %{_unitdir}/container-spamassassin.service %{_distconfdir}/default/container-spamassassin %{_sbindir}/rccontainer-spamassassin ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.EYAW0A/_old 2021-05-10 15:38:55.085677509 +0200 +++ /var/tmp/diff_new_pack.EYAW0A/_new 2021-05-10 15:38:55.085677509 +0200 @@ -1,5 +1,5 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/kubic-project/containers-systemd.git</param> - <param name="changesrevision">93846915fdadc2140075ebd59ad9fdc7dbbdd42c</param></service> + <param name="changesrevision">9afe2a6c45a040b8b85ecc87fcda3a7f49de1e53</param></service> </servicedata> \ No newline at end of file ++++++ containers-systemd-0.0+git20210407.9384691.tar.xz -> containers-systemd-0.0+git20210507.9afe2a6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/containers-systemd-0.0+git20210407.9384691/README.md new/containers-systemd-0.0+git20210507.9afe2a6/README.md --- old/containers-systemd-0.0+git20210407.9384691/README.md 2021-04-07 16:19:45.000000000 +0200 +++ new/containers-systemd-0.0+git20210507.9afe2a6/README.md 2021-05-07 11:24:18.000000000 +0200 @@ -15,8 +15,10 @@ * nginx * openldap * postfix + * samba * spamassassin * squid + * wsdd Additional, there is the `container-image-prune.timer` to cleanup unnamed images once a day. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/containers-systemd-0.0+git20210407.9384691/container-samba.default new/containers-systemd-0.0+git20210507.9afe2a6/container-samba.default --- old/containers-systemd-0.0+git20210407.9384691/container-samba.default 1970-01-01 01:00:00.000000000 +0100 +++ new/containers-systemd-0.0+git20210507.9afe2a6/container-samba.default 2021-05-07 11:24:18.000000000 +0200 @@ -0,0 +1,22 @@ +# Variables of this file can be overwritten with +# /etc/default/container-samba + +# Name of the image path to pull the samba image from +SAMBA_IMAGE_PATH=registry.opensuse.org/opensuse/samba:latest + +# List of volumes to mount into the container +# Example: "-v /home:/home -v /exports:/exports" +SAMBA_VOLUMES="" + +# List of users to be created at container startup +# -u <name:password>[:UID:group:GID] +# Example: "-u admin:password:1021 -u user:pass2" +SAMBA_USERS="" + +# List of shares to be exported by samba +# -s <name:path>[:browse:readonly:guest:users:admins:writelist:comment] +# Example for a public guest share: "-s mp3:/exports/mp3:yes:yes:yes" +SAMBA_SHARES="" + +# Ports which needs to be exported +SAMBA_PORTS="-p 139:139 -p 445:445" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/containers-systemd-0.0+git20210407.9384691/container-samba.service new/containers-systemd-0.0+git20210507.9afe2a6/container-samba.service --- old/containers-systemd-0.0+git20210407.9384691/container-samba.service 1970-01-01 01:00:00.000000000 +0100 +++ new/containers-systemd-0.0+git20210507.9afe2a6/container-samba.service 2021-05-07 11:24:18.000000000 +0200 @@ -0,0 +1,24 @@ +[Unit] +Description=openSUSE Samba container +Documentation=https://github.com/openSUSE/container-images/tree/main/samba +After=network-online.target local-fs.target firewalld.service +Wants=network-online.target + +[Service] +Environment=PODMAN_SYSTEMD_UNIT=%n +Restart=on-failure +RestartSec=1s +StartLimitBurst=5 +TimeoutStopSec=70 +EnvironmentFile=/usr/etc/default/container-samba +EnvironmentFile=-/etc/default/container-samba +ExecStartPre=/bin/rm -f %t/%n.pid %t/%n.ctr-id +ExecStartPre=-/usr/bin/podman pull ${SAMBA_IMAGE_PATH} +ExecStart=/bin/sh -c "/usr/bin/podman run --conmon-pidfile %t/%n.pid --cidfile %t/%n.ctr-id --cgroups=no-conmon --replace -d --rm ${PODMAN_EXTRA_ARGS} ${SAMBA_VOLUMES} ${SAMBA_PORTS} --name samba ${SAMBA_IMAGE_PATH} ${SAMBA_USERS} ${SAMBA_SHARES}" +ExecStop=/usr/bin/podman stop --ignore --cidfile %t/%n.ctr-id -t 10 +ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/%n.ctr-id +Type=forking +PIDFile=%t/%n.pid + +[Install] +WantedBy=multi-user.target
