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

Fix netconfit path #175

Merged
merged 2 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions package/yast2-ntp-client.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Nov 21 14:40:27 UTC 2022 - Knut Anderssen <kanderssen@suse.com>

- Fix the netconfig executable path using /sbin/netconfig instead
of /usr/sbin/netconfig which is not available in SLE-15-SP5
(bsc#1205401)
- 4.5.2

-------------------------------------------------------------------
Wed Sep 21 13:10:17 UTC 2022 - Knut Anderssen <kanderssen@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-ntp-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-ntp-client
Version: 4.5.1
Version: 4.5.2
Release: 0
Summary: YaST2 - NTP Client Configuration
License: GPL-2.0-or-later
Expand Down
4 changes: 3 additions & 1 deletion src/modules/NtpClient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ class NtpClientClass < Module
# The file name of systemd timer for the synchronization.
TIMER_PATH = "/etc/systemd/system/#{TIMER_FILE}".freeze

# FIXME: We should avoid the use of the full path as it could be problematic with or without
# usr-merge (bsc#1205401)
# @return [String] Netconfig executable
NETCONFIG_PATH = "/usr/sbin/netconfig".freeze
NETCONFIG_PATH = "/sbin/netconfig".freeze

UNSUPPORTED_AUTOYAST_OPTIONS = [
"configure_dhcp",
Expand Down