Bug 57470 (timedatectl)

Summary: timedatectl returns failed assertion on strftime() when using el_GR.UTF8 locale
Product: systemd Reporter: Ifai Gios <ifaigios2>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: ifaigios2
Version: unspecified   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=57411
Whiteboard:
i915 platform: i915 features:

Description Ifai Gios 2012-11-23 23:24:52 UTC

    
Comment 1 Ifai Gios 2012-11-23 23:30:03 UTC
When using the el_GR.UTF-8 locale, `timedatectl` and `timedatectl status` return the following output:

# timedatectl status
Assertion 'strftime(a, sizeof(a), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&sec, &tm)) > 0' failed at src/timedate/timedatectl.c:127, function print_status_info(). Aborting.
Ακυρώθηκε (core dumped)

See also:

# cat /etc/locale.conf 
LANG="el_GR.UTF-8"

# cat /etc/vconsole.conf 
FONT=iso07u-16
KEYMAP=us

# cat /etc/adjtime 
0.000000 1343743687 0.000000
1343743687
UTC
Comment 2 Ifai Gios 2012-11-23 23:32:25 UTC
Sorry for not entering a description at first, I accidentally hit [Enter] in my keyboard and the bug was posted without it.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.