[chrony-dev] [GIT] chrony/chrony.git branch 3.5-stable created. 3.5-2-g04328ce

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


This is an automated email from git. It was generated because a ref
change was pushed to the "chrony/chrony.git" repository.

The branch, 3.5-stable has been created
        at  04328ceeadf7e2b68f246cb4deab9348f4e02825 (commit)

- Log -----------------------------------------------------------------
commit 04328ceeadf7e2b68f246cb4deab9348f4e02825
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Aug 19 16:24:04 2020 +0200

    doc: update NEWS

commit f00fed20092b6a42283f29c6ee1f58244d74b545
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu Aug 6 09:31:11 2020 +0200

    main: create new file when writing pidfile
    
    When writing the pidfile, open the file with the O_CREAT|O_EXCL flags
    to avoid following a symlink and writing the PID to an unexpected file,
    when chronyd still has the root privileges.
    
    The Linux open(2) man page warns about O_EXCL not working as expected on
    NFS versions before 3 and Linux versions before 2.6. Saving pidfiles on
    a distributed filesystem like NFS is not generally expected, but if
    there is a reason to do that, these old kernel and NFS versions are not
    considered to be supported for saving files by chronyd.
    
    This is a minimal backport specific to this issue of the following
    commits:
    - commit 2fc8edacb810 ("use PATH_MAX")
    - commit f4c6a00b2a11 ("logging: call exit() in LOG_Message()")
    - commit 7a4c396bba8f ("util: add functions for common file operations")
    - commit e18903a6b563 ("switch to new util file functions")
    
    Reported-by: Matthias Gerstner <mgerstner@xxxxxxx>

-----------------------------------------------------------------------


hooks/post-receive
-- 
chrony/chrony.git

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/