Bug 50124 - Станция не синхронизирует время с доменом
Summary: Станция не синхронизирует время с доменом
Status: CLOSED WORKSFORME
Alias: None
Product: Branch p10
Classification: Unclassified
Component: gpupdate (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 10:24 MSK by rsrs
Modified: 2024-04-24 19:03 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rsrs 2024-04-23 10:24:21 MSK
Альт Рабочая станция К 10.3 (alt-kworkstation-10.2.1-install-x86_64.iso + dist-upgrade)

Здесь https://docs.altlinux.org/ru-RU/alt-workstation/10.2/html-single/alt-workstation/index.html#idm45465862062640 указано, что "Синхронизация времени с контроллером домена производится автоматически".

Однако, после ввода станции в домен время с сервером автоматически так и не синхронизируется.
Comment 1 rsrs 2024-04-23 10:40:23 MSK
Домен MS AD.

Команда для ввода в домен:

hostname=alt10
system-auth write ad DOMAIN.LOCAL $hostname USZN 'domainuser' 'pa$$' --gpo --createcomputer=Alt
Comment 2 rsrs 2024-04-23 10:44:35 MSK
Ввод в домен по документации:
https://docs.altlinux.org/ru-RU/alt-workstation/10.2/html-single/alt-workstation/index.html#idm45465862036816
Comment 3 rsrs 2024-04-23 11:12:41 MSK
Прилагаю вывод команд:

root@alt10 etc]# cat /etc/chrony.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (https://www.pool.ntp.org/join.html).

# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift

# Allow the system clock to be stepped in the first three updates
# if its offset is larger than 1 second.
makestep 1.0 3

# Enable kernel synchronization of the real-time clock (RTC).
rtcsync

# Enable hardware timestamping on all interfaces that support it.
#hwtimestamp *

# Increase the minimum number of selectable sources required to adjust
# the system clock.
#minsources 2

# Allow NTP client access from local network.
#allow 192.168.0.0/16

# Serve time even if not synchronized to a time source.
#local stratum 10

# Require authentication (nts or key option) for all NTP sources.
#authselectmode require

# Specify file containing keys for NTP authentication.
#keyfile /etc/chrony.keys

# Save NTS keys and cookies.
ntsdumpdir /var/lib/chrony

# Insert/delete leap seconds by slewing instead of stepping.
#leapsecmode slew

# Get TAI-UTC offset and leap seconds from the system tz database.
#leapsectz right/UTC

# Specify directory for log files.
logdir /var/log/chrony

# Select which information is logged.
#log measurements statistics tracking
pool domain.LOCAL iburst



[root@alt10 etc]# chronyc tracking
Reference ID    : 00000000 ()
Stratum         : 0
Ref time (UTC)  : Thu Jan 01 00:00:00 1970
System time     : 0.000000000 seconds fast of NTP time
Last offset     : +0.000000000 seconds
RMS offset      : 0.000000000 seconds
Frequency       : 0.000 ppm slow
Residual freq   : +0.000 ppm
Skew            : 0.000 ppm
Root delay      : 1.000000000 seconds
Root dispersion : 1.000000000 seconds
Update interval : 0.0 seconds
Leap status     : Not synchronised
[root@alt10 etc]#
Comment 4 rsrs 2024-04-23 11:19:55 MSK
В этой же подсети 192.168.0.0/24 Windows-станции с время синхронизируют успешно.
Comment 5 rsrs 2024-04-23 11:22:39 MSK
*В этой же подсети 192.168.0.0/24 Windows-станции  синхронизируют  время с MS-доменом успешно
Comment 6 Nikolai Zurabishvili 2024-04-24 19:03:46 MSK
(Ответ для rsrs на комментарий #3)
> Прилагаю вывод команд:
> 
> ...
> [root@alt10 etc]# chronyc tracking
> Reference ID    : 00000000 ()
> Stratum         : 0
> Ref time (UTC)  : Thu Jan 01 00:00:00 1970
> System time     : 0.000000000 seconds fast of NTP time
> Last offset     : +0.000000000 seconds
> RMS offset      : 0.000000000 seconds
> Frequency       : 0.000 ppm slow
> Residual freq   : +0.000 ppm
> Skew            : 0.000 ppm
> Root delay      : 1.000000000 seconds
> Root dispersion : 1.000000000 seconds
> Update interval : 0.0 seconds
> Leap status     : Not synchronised
> [root@alt10 etc]#

Не сумел воспроизвести ошибку, синхронизация происходит не сразу, в начале у меня тоже было Not synchronised но через некоторое время синхронизация начала работать корректно