Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] nc man page has today's date

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
ychaouche
Posts: 87
Joined: 2014-12-11 09:45

[SOLVED] nc man page has today's date

#1 Post by ychaouche »

Hello,

I was wondering why a specific man page has today's date without me doing any updates to the system ? also the unattended update log doesn't show any specific activity for today.

Code: Select all

2018-03-14 07:47:38,124 INFO Initial blacklisted packages:
2018-03-14 07:47:38,135 INFO Starting unattended upgrades script
2018-03-14 07:47:38,135 INFO Allowed origins are: ['o=LinuxMint,a=qiana-security', 'o=LinuxMintESM,a=qiana']
2018-03-14 07:47:51,767 INFO No packages found that can be upgraded unattended and no pending auto-removals
This is nc's man page footer

Code: Select all

BSD                             March 14, 2018                             BSD
Last edited by ychaouche on 2018-03-20 11:43, edited 1 time in total.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: nc man page has today's date

#2 Post by None1975 »

Linux Mint is not Debian. Maybe you should ask in Linux Mint forums?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: nc man page has today's date

#3 Post by debiman »

^ true.
that said, i think man pages can be made to display dynamic content or script output.
try again tomorrow, is it march 15 then?

ychaouche
Posts: 87
Joined: 2014-12-11 09:45

Re: nc man page has today's date

#4 Post by ychaouche »

It is march 15th, man page still displays March 14th 2018.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: nc man page has today's date

#5 Post by GarryRicketson »

None1975 wrote:Linux Mint is not Debian. Maybe you should ask in Linux Mint forums?
Who knows what the developers at Linux Mint did ?
Post by ychaouche » 2018-03-14 06:29
Hello,

I was wondering why a specific man page has today's date without me doing any updates to the system ?
Maybe you didn't do any updates, but maybe they have some things programmed into the system that do things that you are not aware of, this is
the main reason I stopped using Linux mint several years ago... In any event you are more likely to get some info on their forums.
But who knows, now that I am thinking, remembering,... when I questioned them about their updates, and the way things seem to just happen, even when I did not do anything, they denied it, saying it was not related to their update system and methods. You might want to look into a better distro.
=============
by ychaouche » --snip--also the unattended update log doesn't show any specific activity for today.

Code: Select all

2018-03-14 07:47:38,135 INFO Starting unattended upgrades script 
Then why does it say "Starting unattended upgrades script" ? Something started and ran, ...

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: nc man page has today's date

#6 Post by debiman »

ychaouche wrote:It is march 15th, man page still displays March 14th 2018.
and if you un- and then reinstall nc?

ychaouche
Posts: 87
Joined: 2014-12-11 09:45

Re: nc man page has today's date

#7 Post by ychaouche »

Then why does it say "Starting unattended upgrades script" ? Something started and ran, ...
Because it started the unattended upgrades script :)
2018-03-14 07:47:51,767 INFO No packages found that can be upgraded unattended and no pending auto-removals
and if you un- and then reinstall nc?
This is a non-reversible step. Do you have something particular in mind ?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: nc man page has today's date

#8 Post by debiman »

ychaouche wrote:This is a non-reversible step. Do you have something particular in mind ?
why is it non-reversible? i don't understand. you can reinstall almost anything.
i had the thought that maybe the date for the man page is set during install.

ychaouche
Posts: 87
Joined: 2014-12-11 09:45

Re: nc man page has today's date

#9 Post by ychaouche »

why is it non-reversible? i
It is non reversible for the installed package in that it will destroy/alter its current state. Data required for further investigation could be lacking or altered. If the problem is non reproducible then the investigation will stop here.

ychaouche
Posts: 87
Joined: 2014-12-11 09:45

Re: nc man page has today's date

#10 Post by ychaouche »

man nc showed today's date today (Mar 19th 2018), so it could be a macro showing today's date, but maybe last time I did it the date was in some cache and didn't get updated. Maybe it gets updated on reboot only ? idk.

ychaouche
Posts: 87
Joined: 2014-12-11 09:45

Re: nc man page has today's date

#11 Post by ychaouche »

The question was answered on unix.stackexchange.com. Apparently this is a bug in an old version of groff. I don't know if this impacts debian or not.

The author says
GNU roff used not to support those:

.Dd $Mdocdate: February 7 2012 $

from OpenBSD, resulting in the current date to be expanded instead of the one specified. I can reproduce it on Ubuntu 14.04 for all man pages that have such a docdate.

See https://savannah.gnu.org/bugs/?42968 implemented in https://lists.gnu.org/archive/html/grof ... 00092.html (groff version 1.22.3).

ychaouche
Posts: 87
Joined: 2014-12-11 09:45

Re: [SOLVED] nc man page has today's date

#12 Post by ychaouche »

This is confirmed in debian 8.10 for the following man pages

Code: Select all

./man8/ssh-keysign.8.gz
./man8/sshd.8.gz
./man8/sftp-server.8.gz
./man8/ssh-pkcs11-helper.8.gz
./man5/moduli.5.gz
./man5/authorized_keys.5.gz
./man5/ssh_config.5.gz
./man5/sshd_config.5.gz
./man1/rsh.1.gz
./man1/rlogin.1.gz
./man1/ssh-agent.1.gz
./man1/ssh.1.gz
./man1/ssh-copy-id.1.gz
./man1/rcp.1.gz
./man1/nc.openbsd.1.gz
./man1/ssh-add.1.gz
./man1/lorder.1.gz
./man1/ssh-keyscan.1.gz
./man1/scp.1.gz
./man1/calendar.1.gz
./man1/sftp.1.gz
./man1/slogin.1.gz
./man1/ssh-keygen.1.gz

Post Reply