Bug 57470 (timedatectl) - timedatectl returns failed assertion on strftime() when using el_GR.UTF8 locale
Summary: timedatectl returns failed assertion on strftime() when using el_GR.UTF8 locale
Status: RESOLVED FIXED
Alias: timedatectl
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 23:24 UTC by Ifai Gios
Modified: 2012-11-24 13:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.