Date: Wed, 21 Apr 2021 11:15:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255300] sysutils/puppetserver6 invalid C.UTF-8 default locale on 11.x Message-ID: <bug-255300-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255300 Bug ID: 255300 Summary: sysutils/puppetserver6 invalid C.UTF-8 default locale on 11.x Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: puppet@FreeBSD.org Reporter: ray@bellis.me.uk Assignee: puppet@FreeBSD.org Flags: maintainer-feedback?(puppet@FreeBSD.org) The rc script for puppetserver6 sets the default locale to C.UTF-8 in the absence of any inherited environment variable. There is no such locale in FreeBSD 11.x. While the puppetserver doesn't complain, any Perl scripts invoked via a "generate()" call will do, generating warnings that pollute the output: pm% setenv LC_ALL C.UTF-8 pm% perl -e exit perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL =3D "C.UTF-8", LANG =3D (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). For now my only work around has been to symlink /usr/share/locale/en-us.UTF= -8 directory to C.UTF-8. If there's a better way to set the global locale = as used by system daemons I've been unable to find it. All searches point at login.conf but AFAIK that's only used for interactive processes. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255300-7788>