LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-02-2021, 07:06 AM   #1
a_biardi
LQ Newbie
 
Registered: Nov 2012
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
The Irish bug - wrong time offset in heirloom-mailx (slackware 14.2)


Hi all,

I have found a bug in heirloom mailx in slackware 14.2, as detailed below.

Since heirloom mailx doesn't appear to be maintained upstream, a couple of weeks ago I submitted a patch to the maintainer of its successor s-nail. slackware-current has switched to s-nail, so no problems there.

But I'd like to get it sorted in 14.2 as well (I have a patch that I use locally) because it may affect others: while mailx may not be the MUA of choice for many, it's typically used in cronjobs, etc.

In a nutshell, the problem is that sending out an email using Heirloom mailx produces a "Date:" header that is incorrect when the system is in the Europe/Dublin timezone (email appears to have been sent 2 hours earlier).

To cut a long story short:
* Ireland is one of those few countries where DST has a negative adjustment (and is applied in winter, not summer).
* Software like mailx wrongly assume DST implies +1h.
* Even though the tzdata maintainer have put in place a hack since 2018 to account for buggy software ("make DATAFORM=rearguard" shifts the Europe/Dublin timezone and simulates a positive DST adjustment), Slackware ships with default "vanguard" format, which exposes the incorrect assumption in mailx.

I have described the bug in full detail at https://bugs.freebsd.org/bugzilla/sh....cgi?id=260137 (the patch attached was crafted to work with both Slackware 14.2 and FreeBSD 13).

Note that this bug only slipped in sometime in 2018. The glibc-zoneinfo from the original 14.2 release (that's 2016) predates the change in definition for Europe/Dublin and mailx works as expected.

What's the preferred way of getting such a patch into 14.2? (in the past I've emailed Pat directly, but I usually get no feedback, I imagine he's super-busy all the time).
 
Old 12-02-2021, 01:28 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492
Fixed. Thank you!
 
4 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Snorkeling on an empty pipe": error in S-mailx (mailx 4.19.11) RandomTroll Linux - Software 0 11-30-2018 10:45 PM
LXer: Heirloom Software: the Past as Adventure LXer Syndicated Linux News 0 09-08-2017 10:00 AM
heirloom mailx and POP3 m4rtin Linux - Software 3 10-01-2013 03:43 PM
TO ANYONE USING MAILX (mailx 12.1). stf92 Linux - Software 22 07-08-2010 09:44 PM
configuring heirloom mailx still unsuccessful-- why? Shouldnt it be simple? okos Linux - Software 5 04-09-2008 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration