Date: Sat, 11 Apr 2026 17:13:31 +0000 From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d4730c46bdfd - main - security/sssd2: Log to /var/log/sssd and set up rotation Message-ID: <69da813b.26f61.72a6e2bb@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4730c46bdfd158a1f1141eee5bcc53dec3e4fa7 commit d4730c46bdfd158a1f1141eee5bcc53dec3e4fa7 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2026-04-11 17:09:27 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2026-04-11 17:13:14 +0000 security/sssd2: Log to /var/log/sssd and set up rotation PR: 294294, 294098, 285617 --- security/sssd2/Makefile | 2 ++ security/sssd2/files/sssd-newsyslog.conf.sample | 1 + security/sssd2/files/sssd.in | 2 +- security/sssd2/pkg-plist | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/security/sssd2/Makefile b/security/sssd2/Makefile index 1e3d0c6d0a7d..447f13ef244f 100644 --- a/security/sssd2/Makefile +++ b/security/sssd2/Makefile @@ -138,6 +138,8 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/src/examples/sssd-example.conf \ ${STAGEDIR}${ETCDIR}/sssd.conf.sample + ${INSTALL_DATA} ${FILESDIR}/sssd-newsyslog.conf.sample \ + ${STAGEDIR}${LOCALBASE}/etc/newsyslog.conf.d/sssd.conf.sample ${LN} -sf libnss_sss.so.2 ${STAGEDIR}${PREFIX}/lib/nss_sss.so.1 # Skip whitespace tests, see diff --git a/security/sssd2/files/sssd-newsyslog.conf.sample b/security/sssd2/files/sssd-newsyslog.conf.sample new file mode 100644 index 000000000000..fa6b4991183d --- /dev/null +++ b/security/sssd2/files/sssd-newsyslog.conf.sample @@ -0,0 +1 @@ +/var/log/sssd/*.log 600 3 1000 * GJ /var/run/sssd.pid diff --git a/security/sssd2/files/sssd.in b/security/sssd2/files/sssd.in index d2e70aaef597..5f21b36d4976 100644 --- a/security/sssd2/files/sssd.in +++ b/security/sssd2/files/sssd.in @@ -22,7 +22,7 @@ load_rc_config "$name" : ${sssd_enable:=NO} : ${sssd_conf="%%PREFIX%%/etc/sssd/sssd.conf"} -: ${sssd_flags="-D"} +: ${sssd_flags="-D --logger=files"} command="%%PREFIX%%/sbin/$name" pidfile="/var/run/$name.pid" diff --git a/security/sssd2/pkg-plist b/security/sssd2/pkg-plist index 242b53ca4a73..e227194a986e 100644 --- a/security/sssd2/pkg-plist +++ b/security/sssd2/pkg-plist @@ -3,7 +3,8 @@ bin/sss_ssh_knownhosts bin/sss_ssh_knownhostsproxy etc/pam.d/sssd-shadowutils @comment etc/rc.d/init.d/sssd -%%ETCDIR%%/sssd.conf.sample +@sample %%ETCDIR%%/sssd.conf.sample +@sample etc/newsyslog.conf.d/sssd.conf.sample include/ipa_hbac.h include/sss_certmap.h include/sss_idmap.hhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69da813b.26f61.72a6e2bb>
