Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ntp]: build ntp with various fixes #6037

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

lguohan
Copy link
Collaborator

@lguohan lguohan commented Nov 25, 2020

- Why I did it

  • NTP Bug 1970 (UNLINK_EXPR_SLIST empty list) Fix
  • ENOBUFS log message level set to WARN
  • Fix audit message seen on console apparmor

Signed-off-by: Guohan Lu [email protected]

- How I did it

- How to verify it
extracted from #6033

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

- NTP Bug 1970 (UNLINK_EXPR_SLIST empty list) Fix
- ENOBUFS log message level set to WARN
- Fix audit message seen on console apparmor

Signed-off-by: Guohan Lu <[email protected]>
@lguohan
Copy link
Collaborator Author

lguohan commented Nov 25, 2020

@PrabhuSreenivasan to take a look.

@lguohan
Copy link
Collaborator Author

lguohan commented Nov 25, 2020

build error:

09:06:15  debconf: delaying package configuration, since apt-utils is not installed
09:06:15  Fetched 88.7 kB in 0s (307 kB/s)
09:06:15  E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
09:06:15  Selecting previously unselected package netbase.
09:06:15  (Reading database ... 28049 files and directories currently installed.)
09:06:15  Preparing to unpack .../archives/netbase_5.6_all.deb ...
09:06:15  Unpacking netbase (5.6) ...
09:06:15  Selecting previously unselected package libopts25:amd64.
09:06:15  Preparing to unpack .../libopts25_1%3a5.18.12-4_amd64.deb ...
09:06:15  Unpacking libopts25:amd64 (1:5.18.12-4) ...
09:06:15  Setting up libopts25:amd64 (1:5.18.12-4) ...
09:06:15  Setting up netbase (5.6) ...
09:06:15  Setting up ntp (1:4.2.8p12+dfsg-4+deb10u2) ...
09:06:15  
09:06:15  Configuration file '/etc/init.d/ntp'
09:06:15   ==> File on system created by you or by a script.
09:06:15   ==> File also in package provided by package maintainer.
09:06:15     What would you like to do about it ?  Your options are:
09:06:15      Y or I  : install the package maintainer's version
09:06:15      N or O  : keep your currently-installed version
09:06:15        D     : show the differences between the versions
09:06:15        Z     : start a shell to examine the situation
09:06:15   The default action is to keep your current version.
09:06:15  *** ntp (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package ntp (--configure):
09:06:15   end of file on stdin at conffile prompt
09:06:15  Processing triggers for libc-bin (2.28-10) ...
09:06:15  Errors were encountered while processing:
09:06:15   ntp

Signed-off-by: Guohan Lu <[email protected]>
@lguohan lguohan merged commit 4812953 into sonic-net:master Dec 2, 2020
@lguohan lguohan deleted the PrabhuSreenivasan-ntp_fixes branch December 2, 2020 23:02
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
- NTP Bug 1970 (UNLINK_EXPR_SLIST empty list) Fix
- ENOBUFS log message level set to WARN
- Fix audit message seen on console apparmor
- add force-confold option when install ntp

Signed-off-by: Guohan Lu <[email protected]>
Co-authored-by: Prabhu Sreenivasan <prabhu.sreenivasan@broadcom>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants