- Aug 02, 2019
-
-
Jean-Claude BAU authored
Some scripts write to files to pass information to SNMP. To avoid read access failure from SNMP, the previous file is copied to a .old file then the new one is created.
-
- Jul 03, 2019
-
-
Jean-Claude BAU authored
The update is related to the new feature introduced in Kconfig for the logging of messages (default_syslog)
-
Jean-Claude BAU authored
The system clock monitor measures the offset between the local time and the NTP time. If this offset exceed a given threshold an alarm will be raised .
-
Jean-Claude BAU authored
KConfig has been improved adding new extra constraints when the timing mode is changed. It has an impact on port configuration (externalPortConfiguration & default bmc mode) and also on the overwritten clock class.
-
- Jun 26, 2019
-
-
Maciej Lipinski authored
Using date was not a good ideal (i.e. format "file_name-date") because the date on the switch can change due to PTP synchronization. Now, files are indexed with number
-
Maciej Lipinski authored
Another option is added in Kconfig that applies to all the deamons that provide <facility*8+priority> in their messages. If logging in Kconfig is set to "default_syslog", the logger is run with the option --prio-prefix. With this option, the facility/priority from message is used. All the other otions for "Logint directions.." are left unchnaged.
-
Maciej Lipinski authored
-
- Add a new tool (wrs_leapsec) to check for an incoming leap second. It is done by parsing the leap second file. If a leap second is detected then adjustment parameters for the clock algoritm are set in the kernel. - Start the tool at startup - With cron, execute the tool every 3 hours - As many tools need to parse the leap seconds file, functions have been added in the library and then called by these tools
-
- Install cron - New leap_seconds_file_update script. Launched at startup and then 1 time per day by cron - Kconfig update to setup from where the file should be downloaded
-
The boot server IP is saved into /tmp/boot_server_ip. It can be useful to get it to download files from this location in other scripts.
-
-
The -n option in the wr_date tool is used for a dry run. It execute the code without applying changes in the system and the hardware. However calling "wr_date -n set host" was not setting the date but applying the TAI offset. To make things more consistant, a new option has been added. Calling "wr_date set host tai" now sets only the TAI offset. The wr_date script has been changed to take into account this modification of the behavior.
-
- Jun 25, 2019
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
If the build or image is broken and sdb-read is missing don't try to overwrite hwinfo Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Forward messages from scripts running before syslog is available to the kernel log. Before these messages were printed only to the console. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 12, 2019
-
-
Maciej Lipinski authored
Init scripts start logger that prints output of deamons into syslogs. This logger is run with -p to attach tag. This tag is interpreted as the process that produces the following message. In the many init scripts this tag was set to wr-switch, incorrectly. This commit corrects it to include the name of the daemon.
-
Maciej Lipinski authored
rsyslog outputs syslog to /tmp/syslog until the file is ~1MB, then the file is moved/renamed to a "rotate file" (name includes date & time) while the /tmp/syslog is filled by rsyslog from zero. Max number of 10 "rotate files" are kept. The oldest is removed when new file from rsyslog comes. Next step is to make this a default option in kconfig
-
- Jun 04, 2019
-
-
Jean-Claude BAU authored
-
- Jun 03, 2019
-
-
Adam Wujek authored
Since nss-pam-ldapd 0.8.4 the uniqueMember attribute was replaced by using the member attribute by default. This means that you should use map group member sAMAccountName https://lists.arthurdejong.org/nss-pam-ldapd-users/2017/msg00012.html Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
dropbear was replaced, because it does not support correctly LDAP+kerberos. It was almost working. With LDAP+Kerberos over PAM dropbear was prompting once more for a password when the correct was given. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It is assumed that authorization is done via LDAP No need to give extra password when using sudo Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
otherwise openssh complains at the root login Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--nslcd does not support uniqueMember, comment it out: map group uniqueMember member --run nslcd as root, remove gid and uid Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Downloaded from: https://linux.web.cern.ch/linux/docs/nslcd.conf.example Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
1/ wr_date script: - Started before PPSi - Set number of NTP retries to 10 if GM otherwise 1. GM info is extracted from dot-config - Clock source is controlled directly with wr_date tool - Can be started any time without any risk to set a wrong date (see point 2) 2/ wr_date - 'set host' parameters take into account the time mode ( FR: set sec+ns, BC: time cannot be set, GM: set seconds only+wait to be in a middle of a second) - function substrat_substrat() moved to time_lib.h. Also used by wr_mon 3/ wr_mon - Print TAI-UTC - Update Timing Mode & PLL locking state displayed values
-
- Check if we are in GM mode, if yes : - wait GM to be locked - Disable WR as kernel clock source - Increase retries for NTP - Retries x time NTP until setting host time: - Set date from host to WR - Enable (back) WR as kernel clock source
-
Fix TAI offset into kernel was done withing get function but this has been removed in commit #091f4c8d. As it is still needed by slave, we force its use using -n option. This will only fix tai offset into kernel without applying ToD to WR/FPGA time. Conflicts: userspace/tools/wr_date.c
-
- Apr 10, 2019
-
-