My setuid.today has a different date format than setuid.yesterday:

setuid.today (German localization?)

3 Dez


Dec 3

I'm getting emails with the diff reports every day. I guess one of the periodic scripts changed something during the last update. I'm on FreeBSD 10.2

How should I proceed?

  • Is the date format of ls -l setuid.today different, or is the contents of the setuid.today file different? From what I can tell, FreeBSD has a cron job to generate those setuid files, so if it's the latter, I would focus on cron's locale. – Jeff Schaller Dec 21 '15 at 21:19
  • The date ls uses is the same (also localized) – basbebe Dec 21 '15 at 21:23
  • Do you have a ~/.login_conf file, or /etc/login.conf? – Jeff Schaller Dec 21 '15 at 23:49
  • I have a /etc/login.conf with the localization – basbebe Dec 22 '15 at 9:00

To summarize what we discovered in the comments:

At some point (before the upgrade), /etc/login.conf was populated with :lang=de_DE.UTF-8 in the default class. After updating to FreeBSD 10.2, cron was presumably restarted, and picked up the new locale. The new locale caused the date formats inside the setuid.today file to change.

The FreeBSD 10.2 Release Notes don't mention changes to /etc/login.conf (closest is the Inconsistency between locale and rune locale states patch, but it does not appear to touch /etc/login.conf).

The solution is to change the default locale back and use ~/.login_conf overrides where a different locale is desired; then restart cron.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.