- Jun 26, 2019
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
Logger can interpret get log facility & level (error, info, etc) from log message if such info is provided properly. I.e. it needs to be enclosed in <> and the first thing in the message. The wrs-msg.c file in the libwr was changed such that the log facility & level ares properly printed in log messages, and thus later properly interpreted by the syslog elastic search on the server. For this, wrs_msg lib needs to know the faciltiy of the application that uses it. Thus, the wrs_msg_init() function was updated (in the library and all its calls in applications)
-
- 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
Otherwise most of the time is spent with the HAL's shmem locked. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
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 21, 2019
-
-
Jean-Claude BAU authored
-
- Jun 14, 2019
-
-
Jean-Claude BAU authored
- Was returning the !busy before. return busy value (1=busy, 0=not busy) is more clear to understand.
-
- 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
-
Maciej Lipinski authored
changed parameter for showing backplane version from -p to -b, left -p for backward compatibility/WWW
-
Jean-Claude BAU authored
As HA profile, the WR profile must always have the asymmetryCorrection enabled.
-
- Jun 11, 2019
-
-
Jean-Claude BAU authored
- Add round trip delay (delayMM) - For pp_time structure, display in time in ns unit if the time is less than 1 second (in absolute)
-
- Jun 07, 2019
-
-
Jean-Claude BAU authored
-
- Jun 06, 2019
-
-
Jean-Claude BAU authored
-
- Jun 05, 2019
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
partly revert the commit: 70c80659 Add Kconfig-sfp-fiber.in in dot-config The file Kconfig_sfp_fiber.in is copied during the build from the repo's root. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Jean-Claude BAU authored
- Include missing in wr-constants.h - Get Hw specification from halshmem instead of define - Some modifications to access to FPGA
-
- Jun 04, 2019
-
-
Jean-Claude BAU authored
- update PPSi submodule - Adapt the display of wr_mon to PPSi changes
-
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
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>
-