|
|
5d90b8 |
Summary: Microsoft Azure Linux Agent
|
|
|
5d90b8 |
Name: WALinuxAgent
|
|
|
5d90b8 |
Version: 2.2.46
|
|
|
86ca3d |
Release: 8%{?dist}
|
|
|
5d90b8 |
|
|
|
5d90b8 |
License: ASL 2.0
|
|
|
5d90b8 |
Group: Development/Libraries
|
|
|
5d90b8 |
Url: https://github.com/Azure/WALinuxAgent
|
|
|
5d90b8 |
Source0: WALinuxAgent-2.2.46.tar.gz
|
|
|
5d90b8 |
|
|
|
5d90b8 |
BuildArch: noarch
|
|
|
5d90b8 |
Patch0001: 0001-Add-inital-redhat-build-support.patch
|
|
|
5d90b8 |
Patch0002: 0003-Fix-fips.patch
|
|
|
47843a |
# For bz#1822882 - [Azure][RHEL-8]Some parameter changes are not in waagent.conf
|
|
|
47843a |
Patch3: wala-Update-Provisioning-options-1853.patch
|
|
|
86ca3d |
# For bz#1859037 - [Azure][WALA]Cannot create /dev/disk/azure/resource softlinks in Gen2 VM
|
|
|
86ca3d |
Patch4: wla-Fix-handling-of-gen2-disks-with-udev-rules-1954.patch
|
|
|
5d90b8 |
|
|
|
5d90b8 |
# rhel requirements
|
|
|
5d90b8 |
BuildRequires: python3-devel
|
|
|
5d90b8 |
BuildRequires: python3-setuptools
|
|
|
5d90b8 |
Requires: openssh
|
|
|
5d90b8 |
Requires: openssh-server
|
|
|
5d90b8 |
Requires: openssl
|
|
|
5d90b8 |
Requires: parted
|
|
|
5d90b8 |
Requires: python3-pyasn1
|
|
|
5d90b8 |
Requires: python36
|
|
|
5d90b8 |
|
|
|
5d90b8 |
BuildRequires: systemd
|
|
|
5d90b8 |
Requires(post): systemd
|
|
|
5d90b8 |
Requires(preun): systemd
|
|
|
5d90b8 |
Requires(postun): systemd
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%description
|
|
|
5d90b8 |
The Azure Linux Agent supports the provisioning and running of Linux
|
|
|
5d90b8 |
VMs in the Azure cloud. This package should be installed on Linux disk
|
|
|
5d90b8 |
images that are built to run in the Azure environment.
|
|
|
5d90b8 |
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%prep
|
|
|
5d90b8 |
%setup -q
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%patch0001 -p1
|
|
|
5d90b8 |
%patch0002 -p1
|
|
|
47843a |
%patch3 -p1
|
|
|
86ca3d |
%patch4 -p1
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%build
|
|
|
5d90b8 |
%py3_build
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%install
|
|
|
5d90b8 |
%{__python3} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
|
|
5d90b8 |
rm -f %{buildroot}%{_sbindir}/waagent2.0
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%clean
|
|
|
5d90b8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%post
|
|
|
5d90b8 |
%systemd_post waagent.service
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%preun
|
|
|
5d90b8 |
%systemd_preun waagent.service
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%postun
|
|
|
5d90b8 |
%systemd_postun_with_restart waagent.service
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%files
|
|
|
5d90b8 |
%defattr(-,root,root)
|
|
|
5d90b8 |
%{python3_sitelib}/*
|
|
|
5d90b8 |
%config(noreplace) %{_sysconfdir}/waagent.conf
|
|
|
1ac861 |
%config(noreplace) %{_sysconfdir}/logrotate.d/waagent.logrotate
|
|
|
1ac861 |
%config(noreplace) %{_sysconfdir}/logrotate.d/waagent-extn.logrotate
|
|
|
5d90b8 |
%{_sbindir}/waagent
|
|
|
5d90b8 |
%{_unitdir}/waagent.service
|
|
|
5d90b8 |
/etc/udev/rules.d/66-azure-storage.rules
|
|
|
5d90b8 |
/etc/udev/rules.d/99-azure-product-uuid.rules
|
|
|
5d90b8 |
|
|
|
5d90b8 |
%changelog
|
|
|
86ca3d |
* Thu Aug 13 2020 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.46-8.el8
|
|
|
86ca3d |
- wla-Fix-handling-of-gen2-disks-with-udev-rules-1954.patch [bz#1859037]
|
|
|
86ca3d |
- Resolves: bz#1859037
|
|
|
86ca3d |
([Azure][WALA]Cannot create /dev/disk/azure/resource softlinks in Gen2 VM)
|
|
|
86ca3d |
|
|
|
1ac861 |
* Wed Jun 10 2020 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.46-7.el8
|
|
|
1ac861 |
- wla-Mark-logrotate-configs-with-config-noreplace.patch [bz#1838254]
|
|
|
1ac861 |
- Resolves: bz#1838254
|
|
|
1ac861 |
([Azure]WALinuxAgent RPM update clobbers waagent.logrotate log rotation changes)
|
|
|
1ac861 |
|
|
|
47843a |
* Tue May 26 2020 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.46-6.el8
|
|
|
47843a |
- wala-Update-Provisioning-options-1853.patch [bz#1827792]
|
|
|
47843a |
- Resolves: bz#1822882
|
|
|
47843a |
([Azure][RHEL-8]Some parameter changes are not in waagent.conf)
|
|
|
47843a |
|
|
|
5d90b8 |
* Wed Apr 15 2020 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.46-5.el8
|
|
|
5d90b8 |
- Rebase to 2.2.46 [bz#1791069]
|
|
|
5d90b8 |
- Resolves: bz#1791069
|
|
|
5d90b8 |
([Azure][RHEL-8.3]Ask to increase the WALA version available for RHEL 8.0 to 2.2.46)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Jul 24 2019 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.38-1
|
|
|
5d90b8 |
- Rebase to 2.2.38 [bz#1722848]
|
|
|
5d90b8 |
- Resolves: bz#1722848
|
|
|
5d90b8 |
([Azure]walinuxagent 2.2.38 rebase [8.1.0])
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Jun 26 2019 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.32-3.el8
|
|
|
5d90b8 |
- wla-Switch-from-platform-python-to-python36.patch [bz#1720373]
|
|
|
5d90b8 |
- wla-Stop-packaging-legacy-waagent2.0.patch [bz#1720373]
|
|
|
5d90b8 |
- Resolves: bz#1720373
|
|
|
5d90b8 |
([RHEL 8.1] [Azure] Change WALinuxAgent spec to depend on Python3.6 package)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Apr 30 2019 Danilo Cesar Lemes de Paula <ddepaula@redhat.com> - 2.2.32-2.el8
|
|
|
5d90b8 |
- wla-Add-fixes-for-handling-swap-file-and-other-nit-fixes.patch [bz#1684181 bz#1688276]
|
|
|
5d90b8 |
- Resolves: bz#1684181
|
|
|
5d90b8 |
(CVE-2019-0804 WALinuxAgent: swapfile created with weak permissions)
|
|
|
5d90b8 |
- Resolves: bz#1688276
|
|
|
5d90b8 |
(CVE-2019-0804 WALinuxAgent: swapfile created with weak permissions [rhel-8])
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Fri Dec 14 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.32-1.el8
|
|
|
5d90b8 |
- Rebase to 2.2.32 [bz#1639498]
|
|
|
5d90b8 |
- Resolves: bz#1639498]
|
|
|
5d90b8 |
(walinuxagent 2.2.32 packaging request for RHEL 8)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Oct 23 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-6.el8
|
|
|
5d90b8 |
- wala-Use-sys.executable-to-find-system-python.patch [bz#1639775]
|
|
|
5d90b8 |
- Resolves: bz#1639775
|
|
|
5d90b8 |
(WALinuxAgent: Systemd unit file will fail to execute)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Mon Oct 22 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-5.el8
|
|
|
5d90b8 |
- wala-Switch-to-platform-python-in-systemd-unit-file.patch [bz#1639775]
|
|
|
5d90b8 |
- Resolves: bz#1639775
|
|
|
5d90b8 |
(WALinuxAgent: Systemd unit file will fail to execute)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Aug 29 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-4.el8
|
|
|
5d90b8 |
- Fix unit file location [bz#1637545]
|
|
|
5d90b8 |
- Resolves: bz#1637545
|
|
|
5d90b8 |
(Wrong macro used for systemd unit file location)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Jul 04 2018 Tomas Orsava <torsava@redhat.com> - 2.2.26-3
|
|
|
5d90b8 |
- Switch hardcoded python3 shebangs into the %%{__python3} macro
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Jul 03 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-2.el8
|
|
|
5d90b8 |
- Include 7.6 patches
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Jul 03 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.26-1.el7
|
|
|
5d90b8 |
- Rebase to 2.2.26 [bz#1571523]
|
|
|
5d90b8 |
- Resolves: bz#1571523
|
|
|
5d90b8 |
(Rebase WALinuxAgent in RHEL-8.0)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Thu May 03 2018 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.18-2.el7
|
|
|
5d90b8 |
- wa-Add-show-configuration-option.patch [bz#1508340]
|
|
|
5d90b8 |
- Resolves: bz#1508340
|
|
|
5d90b8 |
([WALA] WALA usage prompt lack of " waagent -show-configuration")
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Oct 10 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.18-1.el7
|
|
|
5d90b8 |
- Rebase to 2.2.18 [bz#1491873]
|
|
|
5d90b8 |
- Resolves: bz#1491873
|
|
|
5d90b8 |
([WALA]Request to package WALA 2.2.18 into RHEL 7 Repo)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Jul 04 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.14-1.el7
|
|
|
5d90b8 |
- Rebase to 2.2.14 [bz#1451172]
|
|
|
5d90b8 |
- wla-Remove-FIPS-setting-from-the-default-config.patch [bz#1467553]
|
|
|
5d90b8 |
- Resolves: bz#1451172
|
|
|
5d90b8 |
([WALA] Request to package WALA 2.2.14 into RHEL 7 Repo)
|
|
|
5d90b8 |
- Resolves: bz#1467553
|
|
|
5d90b8 |
([WALA] Remove FIPS from default config in WALA-2.2.14)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Apr 26 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.10-1.el7
|
|
|
5d90b8 |
- Rebase to 2.2.10 [bz#1443425]
|
|
|
5d90b8 |
- Resolves: bz#1443425
|
|
|
5d90b8 |
([WALA]Request to package WALA 2.2.10 into RHEL 7 Repo)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Apr 19 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.4-2.el7
|
|
|
5d90b8 |
- Enable AutoUpdate by default [bz#1434933]
|
|
|
5d90b8 |
- Resolves: bz#1434933
|
|
|
5d90b8 |
([WALA][RHEL-7] Enable AutoUpdate by default)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Mar 01 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.4-1.el7
|
|
|
5d90b8 |
- Rebase to 2.2.4 [bz#1419201]
|
|
|
5d90b8 |
- resolves: bz#1419201
|
|
|
5d90b8 |
WALA 2.2.4
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Mon Jan 16 2017 Miroslav Rezanina <mrezanin@redhat.com> - 2.2.0-4.el7
|
|
|
5d90b8 |
- agent-RHEL-7-hostname-533.patch [bz#1413674]
|
|
|
5d90b8 |
- agent-fix-for-hostnamectl-534.patch [bz#1413674]
|
|
|
5d90b8 |
- Resolves: bz#1413674
|
|
|
5d90b8 |
([WALA] Fail to send hostname to DHCP server during provisioning)
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Fri Sep 30 2016 Dave Anderson <anderson@redhat.com> - 2.2.0-1
|
|
|
5d90b8 |
- Update to v2.2.0
|
|
|
5d90b8 |
Resolves: rhbz#1360492
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Wed Sep 21 2016 Dave Anderson <anderson@redhat.com> - 2.1.5-2
|
|
|
5d90b8 |
- Several QE updates to this file
|
|
|
5d90b8 |
Resolves: rhbz#1360492
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Tue Sep 13 2016 Dave Anderson <anderson@redhat.com> - 2.1.5-1
|
|
|
5d90b8 |
- Update to v2.1.5
|
|
|
5d90b8 |
Resolves: rhbz#1360492
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Thu Jan 14 2016 Dave Anderson <anderson@redhat.com> - 2.0.16-1
|
|
|
5d90b8 |
- Update to 2.0.16
|
|
|
5d90b8 |
Resolves: rhbz#1296360
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Mon Jun 01 2015 Dave Anderson <anderson@redhat.com> - 2.0.13-1
|
|
|
5d90b8 |
- Update to upstream 2.0.13 package.
|
|
|
5d90b8 |
- Remove global commit md5sum and fix Source0 to point to correct location.
|
|
|
5d90b8 |
- Fix setup to deal with "WALinuxAgent-WALinuxAgent" naming scheme
|
|
|
5d90b8 |
- Added files reference for /udev/rules.d/99-azure-product-uuid.rules
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Thu May 07 2015 Dave Anderson <anderson@redhat.com> - 2.0.11-3
|
|
|
5d90b8 |
- Remove Requires: ntfsprogs for RHEL7
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Sat Jan 10 2015 Scott K Logan <logans@cottsay.net> - 2.0.11-2
|
|
|
5d90b8 |
- Use systemd for rhel7
|
|
|
5d90b8 |
- Own logrotate.d
|
|
|
5d90b8 |
- Fix python2-devel dep
|
|
|
5d90b8 |
|
|
|
5d90b8 |
* Sat Dec 20 2014 Scott K Logan <logans@cottsay.net> - 2.0.11-1
|
|
|
5d90b8 |
- Initial package
|