Interestingly enough, I tried to run sealert to see if I could find any errors and it throws an error itself:
policydb version 31 does not match my version range 15-30
So something is up with SELinux policy in OL 7.5...
--Matthew Wilkinson
From: Parker, Michael D. [mailto:***@ga.com]
Sent: Thursday, April 19, 2018 14:33
To: chrony-***@chrony.tuxfamily.org
Subject: RE: [chrony-users] chronyc always exits 0 without any output
[This is an external email. Be cautious with links, attachments and responses.]
________________________________
Have any of you tried setting SELinux into permissive mode?
Does chronyc run as root ok? But not as a normal user?
***** ***** *****
Michael D. Parker
General Atomics â ElectroMagnetics Systems Group (EMS)
***@ga.com<mailto:***@ga.com> <<<<< NOTE: Remember to include my middle initial >>>>>
*****************************************************************************************
The information contained in this electronic message is intended only for the use of the individual or entity to
which it is addressed and may contain information that is privileged, confidential and exempt from disclosure
under applicable law. This message may also contain technical data, export of which is restricted by the
International Traffic in Arms Regulations (ITAR). Disclosure to foreign persons without prior U.S. Government
approval is prohibited. Violations of these export laws and regulations are subject to severe civil and criminal
penalties.
This message may include Company Sensitive and/or Proprietary Information. If the reader
of this message is not the intended recipient, you are informed that any dissemination, copying or disclosure of
the material contained herein, in whole or in part, is strictly prohibited. If you received this message in error,
please notify the sender by reply e-mail and delete all copies of this message.
******************************************************************************************
From: Wilkinson, Matthew <***@alliantenergy.com<mailto:***@alliantenergy.com>>
Sent: Thursday, April 19, 2018 12:19
To: chrony-***@chrony.tuxfamily.org<mailto:chrony-***@chrony.tuxfamily.org>
Subject: -EXT-RE: [chrony-users] chronyc always exits 0 without any output
tried stopping firewalld and then running chronyc sources but it just exits with 0 like always. dang.
--Matthew Wilkinson
From: Burton, John [mailto:***@mteq.com]
Sent: Thursday, April 19, 2018 14:17
To: chrony-***@chrony.tuxfamily.org<mailto:chrony-***@chrony.tuxfamily.org>
Subject: Re: [chrony-users] chronyc always exits 0 without any output
[This is an external email. Be cautious with links, attachments and responses.]
________________________________
I had an issue something like that with a different distribution of Linux, but I recall it taking longer to return - like it was timing out on something. Try temporarily disabling the firewall on the computer and see if that changes the behavior. If that works, then maybe you need to open the port in the firewall?
John
On Thu, Apr 19, 2018 at 2:57 PM, Wilkinson, Matthew <***@alliantenergy.com<mailto:***@alliantenergy.com>> wrote:
This bit is interesting:
from strace:
unlink("/var/run/chrony/chronyc.11490.sock") = -1 ENOENT (No such file or directory)
bind(3, {sa_family=AF_LOCAL, sun_path="/var/run/chrony/chronyc.11490.sock"}, 110) = 0
chmod("/var/run/chrony/chronyc.11490.sock", 0666) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/chrony/chronyd.sock"}, 110) = 0
fstat(0, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
ioctl(0, TCGETS, 0x7fffeb781dc0) = -1 ENOTTY (Inappropriate ioctl for device)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7f8cca7000
read(0, "", 4096) = 0
getsockname(3, {sa_family=AF_LOCAL, sun_path="/var/run/chrony/chronyc.11490.sock"}, [37]) = 0
--Matthew Wilkinson
-----Original Message-----
From: Bill Unruh [mailto:***@physics.ubc.ca<mailto:***@physics.ubc.ca>]
Sent: Thursday, April 19, 2018 13:34
To: chrony-***@chrony.tuxfamily.org<mailto:chrony-***@chrony.tuxfamily.org>
Subject: Re: [chrony-users] chronyc always exits 0 without any output
[This is an external email. Be cautious with links, attachments and responses.]
**********************************************************************
Post by Wilkinson, MatthewI recently installed an Oracle Linux 7.5 servers with Chrony 3.2. The
chronyd will start up, read the config, and synchronize just fine (according to the syslogs).
Is chronyd actually running?
ps auxww|grep chronyd |grep -v grep
Post by Wilkinson, MatthewHowever, when I run chronyc, no matter what options I give it (even
-d) and even if I give it no options, it just exits with return 0 and no output.
That is very strange. Even if chronyd is not running it should start up.
Post by Wilkinson, MatthewAnyone run into this before or know of a way I can find out why itâs
doing this? Iâve ran an strace on it, and it just quickly runs through some calls and exits 0.
"some calls" is a bit vague.
Does
chronyc -d
give you any hints?
--
To unsubscribe email chrony-users-***@chrony.tuxfamily.org<mailto:chrony-users-***@chrony.tuxfamily.org>
with "unsubscribe" in the subject.
For help email chrony-users-***@chrony.tuxfamily.org<mailto:chrony-users-***@chrony.tuxfamily.org>
with "help" in the subject.
Trouble? Email ***@chrony.tuxfamily.org<mailto:***@chrony.tuxfamily.org>.
--
John Burton, Ph.D.
MTEQ, Inc.
10440 Furnace Rd., Suite 204 Office: 540-658-2720 x1407
Lorton, VA 22079-2630 Mobile: 757-508-6208
***@mteq.com<mailto:***@mteq.com> Fax: 540-288-2515
Please note that the contents of this email including all attachments may be privileged or confidential in nature and are intended solely for the named recipients. If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited.