void-linux / void-linux/void-docs
Missing "how to manually adjust the date" section on the date-time page
Nessuno ha ancora preso questa issue.
- Lingua principale
- CSS
- Stelle
- 217
- Fork
- 212
- Merge medio
- 2g 21h
- PR unite (30g)
- 1
Descrizione
https://docs.voidlinux.org/config/date-time.html
Does not have any example how to fix the date and time on a system with incorrect date and time..
xpbs-install -S chrony wouldn't work because the ssl cert was so far in the future..
Can we get an example of,
To set the date on a local system, where the local date and time is very out of sync..
date --set="20210316 14:10"
The would set the date to March 16th, 2021 and it is 2:10pm.
(then I could do xbps-install.. chrony.. etc..)
[root@voidME ~]# xbps-install -S chrony rsync
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
Certificate verification failed for /C=US/O=Let's Encrypt/CN=R3
SSL_connect returned 1
ERROR: [reposync] failed to fetch file `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata': Operation not permitted
[root@voidME ~]# ntpdate
bash: ntpdate: command not found
[root@voidME ~]# date
Thu Jun 28 11:37:47 EDT 2018
[root@voidME ~]# date --set="20210316 14:10"
Tue Mar 16 14:10:00 EDT 2021
[root@voidME ~]# date
Tue Mar 16 14:10:01 EDT 2021
[root@voidME ~]# xbps-install -S chrony rsync
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
x86_64-musl-repodata: 1646KB [avg rate: 18MB/s]
Also, my local network exports an ntp server and is running locally.. does the dhcpcd client not look for option 42?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla pagina relativa a data e ora all’indirizzo docs.voidlinux.org/config/date-time.html ed esamina la trascrizione segnalata di date/date --set. Aggiungi un esempio di impostazione manuale della data e affronta la questione se dhcpcd utilizzi l’opzione DHCP 42 per un server NTP locale, quindi verifica la documentazione renderizzata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- bash, linux
- Ambito
- documentation, operating-systems
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100