Bug 240378 - ignoretime should be removed from login.conf
Summary: ignoretime should be removed from login.conf
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 16.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Michael Osipov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 21:40 UTC by Paul Armstrong
Modified: 2025-10-20 17:48 UTC (History)
1 user (show)

See Also:


Attachments
Remove ignoretime from login.conf (1.36 KB, patch)
2019-09-06 21:40 UTC, Paul Armstrong
no flags Details | Diff
Remove ignoretime from login.conf (1.32 KB, patch)
2025-03-09 05:49 UTC, Mark Linimon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Armstrong 2019-09-06 21:40:01 UTC
Created attachment 207250 [details]
Remove ignoretime from login.conf

login.conf contains "ignoretime@", but "ignoretime" doesn't appear anywhere else in the code base or documentation, leading me to believe it's left over cruft.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-03-09 05:49:24 UTC
Created attachment 258450 [details]
Remove ignoretime from login.conf

^Triage: rebase patch.
Comment 2 Paul Armstrong 2025-10-05 10:52:48 UTC
Still an issue in CURRENT.
Comment 3 Paul Armstrong 2025-10-09 08:31:30 UTC
Hi bugs@,

This has been open for a very long time and it's a pretty straight forward patch. Can we get it merged please?
Comment 4 Michael Osipov freebsd_committer freebsd_triage 2025-10-09 11:10:30 UTC
https://reviews.freebsd.org/D52991
Comment 5 Michael Osipov freebsd_committer freebsd_triage 2025-10-13 09:49:15 UTC
Paul, please have a look at the review. As it turns out ignoretime was never referenced in the source code or manpages. So it was either a bug or an incomplete import. No issue was reported that it does not work. It seems that it safe to remove. WDYT?
Comment 6 Paul Armstrong 2025-10-13 10:42:17 UTC
Thanks Michael. Looks good to me. I've just created a Phabricator account so I can comment directly, but I'm happy with the change if you want to commit before I have the ability to comment there.
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-10-13 11:41:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=4835fc45efe8b593fa49786ec4bfb6ce5050756c

commit 4835fc45efe8b593fa49786ec4bfb6ce5050756c
Author:     Paul Armstrong <freebsd@otoh.org>
AuthorDate: 2019-09-06 21:40:01 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-10-13 11:40:43 +0000

    login.conf: Remove never used ignoretime/ignoretime@

    PR:             240378
    Reviewed by:    otis (mentor), glebius (src committer)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D52991

 usr.bin/login/login.conf | 4 ----
 1 file changed, 4 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-10-20 12:26:41 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=34710b2c08c95b8cdee96e77693c2e4ddef9bfbe

commit 34710b2c08c95b8cdee96e77693c2e4ddef9bfbe
Author:     Paul Armstrong <freebsd@otoh.org>
AuthorDate: 2019-09-06 21:40:01 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-10-20 12:25:49 +0000

    login.conf: Remove never used ignoretime/ignoretime@

    PR:             240378
    Reviewed by:    otis (mentor), glebius (src committer)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D52991

    (cherry picked from commit 4835fc45efe8b593fa49786ec4bfb6ce5050756c)

 usr.bin/login/login.conf | 4 ----
 1 file changed, 4 deletions(-)
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-10-20 12:28:43 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=30f3a41464667f763b8cceabd23a9b3e466e521a

commit 30f3a41464667f763b8cceabd23a9b3e466e521a
Author:     Paul Armstrong <freebsd@otoh.org>
AuthorDate: 2019-09-06 21:40:01 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-10-20 12:27:46 +0000

    login.conf: Remove never used ignoretime/ignoretime@

    PR:             240378
    Reviewed by:    otis (mentor), glebius (src committer)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D52991

    (cherry picked from commit 4835fc45efe8b593fa49786ec4bfb6ce5050756c)

 usr.bin/login/login.conf | 4 ----
 1 file changed, 4 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2025-10-20 12:33:45 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=f8c4b9d71a5c241eabbc36737896fae21c10d319

commit f8c4b9d71a5c241eabbc36737896fae21c10d319
Author:     Paul Armstrong <freebsd@otoh.org>
AuthorDate: 2019-09-06 21:40:01 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-10-20 12:33:31 +0000

    login.conf: Remove never used ignoretime/ignoretime@

    PR:             240378
    Reviewed by:    otis (mentor), glebius (src committer)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D52991

    (cherry picked from commit 4835fc45efe8b593fa49786ec4bfb6ce5050756c)

 usr.bin/login/login.conf | 4 ----
 1 file changed, 4 deletions(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2025-10-20 17:48:41 UTC
A commit in branch releng/15.0 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=e3bd658fad96ee493e5b6ea912bce666a2027d7e

commit e3bd658fad96ee493e5b6ea912bce666a2027d7e
Author:     Paul Armstrong <freebsd@otoh.org>
AuthorDate: 2019-09-06 21:40:01 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-20 17:48:09 +0000

    login.conf: Remove never used ignoretime/ignoretime@

    Approved by:    re (cperciva)
    PR:             240378
    Reviewed by:    otis (mentor), glebius (src committer)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D52991

    (cherry picked from commit 4835fc45efe8b593fa49786ec4bfb6ce5050756c)
    (cherry picked from commit 34710b2c08c95b8cdee96e77693c2e4ddef9bfbe)

 usr.bin/login/login.conf | 4 ----
 1 file changed, 4 deletions(-)