Revisions of cobbler

Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 1087687 from Pablo Suárez Hernández's avatar Pablo Suárez Hernández (PSuarezHernandez) (revision 153)
- Fix package building with Sphinx >= 7.0.0
- Switch packaging from patch based to Git tree based development
- All patches that are being removed in this revision are contained in
  the new Git tree.
- Do generate boot menus even if no profiles or systems - only local boot
- Avoid crashing running buildiso in certain conditions.
- Fix settings migration schema to work while upgrading on existing running
  Uyuni and SUSE Manager servers running with old Cobbler settings (bsc#1203478)
- Consider case of "next_server" being a hostname during migration
  of Cobbler collections.
- Fix problem with "proxy_url_ext" setting being None type.
- Update v2 to v3 migration script to allow migration of collections
  that contains settings from Cobbler 2. (bsc#1203478)
- Fix problem for the migration of "autoinstall" collection attribute.
- Fix failing Cobbler tests after upgrading to 3.3.3.
- Fix regression: allow empty string as interface_type value (bsc#1203478) 
- Avoid possible override of existing values during migration
  of collections to 3.0.0 (bsc#1206160)
- Add new "cobbler-tests-containers" subpackage which contains setup and
  configuration files to run Cobbler tests in containers.
- Add missing code for previous patch file around boot_loaders migration.
- Improve Cobbler performance with item cache and threadpool (bsc#1205489)
- Skip collections that are inconsistent instead of crashing (bsc#1205749)
- Items: Fix creation of "default" NetworkInterface (bsc#1206520)
- S390X systems require their kernel options to have a linebreak at
  79 characters (bsc#1207595)
- settings-migration-v1-to-v2.sh will now handle paths with whitespace
  correct
- Fix renaming Cobbler items (bsc#1204900, bsc#1209149)
- Fix cobbler buildiso so that the artifact can be booted by EFI firmware.
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 990539 from Enno Gotthold's avatar Enno Gotthold (SchoolGuy) (revision 152)
Added specfile corrections
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 990514 from Enno Gotthold's avatar Enno Gotthold (SchoolGuy) (revision 151)
- Fix issue that a custom kernel with the extension ".kernel" is not
  accepted by "cobbler distro add"
- Fix issue with "get_item_resolved_value" that prevented it from
  returning in cases where a complex object would have been returned
- Fix issue where the logs would have been spammed with "grab_tree"
  messages that are meant for debugging
- Added:
  * backport_complex_xmlrpc_objects_and_logger_spam.patch
  * backport_kernel_regex_error_message.patch 
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 980622 from Pablo Suárez Hernández's avatar Pablo Suárez Hernández (PSuarezHernandez) (revision 150)
- Update to version 3.3.3
  * New:
    * Uyuni Proxies can now be set with the schema validation.
    * Cobbler should now build on AlmaLinux.
    * The initrd is not required anymore as it is an optional file.
    * XML-RPC: Added dump_vars endpoint. This is intended to replace get_blended_data as of 3.4.0.
    * XML-RPC: Added get_item_resolved_value & set_item_resolved_value endpoints.
  * Breaking Changes:
    * The field virt_file_size is now a float and the related settings as well.
  * Changes: 
    * The error messages for duplicated objects now contains the name of the duplicated object.
  * Bugfixes:
    * Dictionaries had the wrong value set for <<inherit>>.
    * There were some cases in which the autoinstallation manager was handed the wrong object and then crashed.
    * The inheritance of the owners field was fixed.
    * Serial Console options should not contain bogous -1 value anymore.
    * HTTP API should not throw permission errors anymore.
    * During build the log was not visible due to a custom logger without output.
    * cobbler mkloaders now also copies dependencies of menu.c32.
    * We now generate the grub configuration for the architectures correct again.
    * virt_file_size now is a float at all times.
    * Cobbler should restart successfully now if you have attached an image to a system.
    * If you have a system named default the bootloader was not removed properly before.
    * cobbler buildiso: The isolinux.cfg was not properly formatted.
    * There were unharmful templating errors in the log related to redhat_management_type. The parts depending on this were removed.
    * The DNS managers were non-functional before because of a not existing function call.
    * cobbler buildiso failed with --tmpdirs that don't end in buildiso.
    * cobbler buildiso had outdated docs and help messages for some parameters.
    * cobbler import: It was impossible to import Rocky Linux 8.5 successfully.
    * Cobbler created duplicated settings files before.
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 966415 from S Bluhm's avatar S Bluhm (sbluhm) (revision 149)
- Added workaround to build Cobbler 3.3.2 on AlmaLinux.
Pablo Suárez Hernández's avatar Pablo Suárez Hernández (PSuarezHernandez) accepted request 961095 from Enno Gotthold's avatar Enno Gotthold (SchoolGuy) (revision 148)
- This update fixes CVE-2022-0860 (bsc#1197027)
- Version 3.3.0 fixed jsc#SUMA-112
- Update to version 3.3.2
  * New:
    * cobbler sync doesn't have to be executed no more after enable_ipxe was flipped
    * Auth: Support for Global Secure Catalog via LDAP provider
  * Changes:
    * Reposync now deletes old metadata to prevent metadata merge conflicts
    * The automigration of the settings is now not enabled per default.
    * We removed ppc from RedHat EL 7 as it is not supported
  * Bugfixes:
    * Network interface is not subscriptable errors were fixed
    * The stacktraces related to the package and file pre & post triggers should no longer appear
    * You should be able to add multiple initrds if needed again
    * Debian: Fix regex for SHIM_FILE which now provides a working reasonable default
Pablo Suárez Hernández's avatar Pablo Suárez Hernández (PSuarezHernandez) accepted request 955896 from Alexander Graul's avatar Alexander Graul (agraul) (revision 147)
- This update contains fixes for CVE-2021-45082 and 2021-45083
- Update to version 3.3.1.0+git.f5b0599a:
  * Fix spec error introduced with CVE fix
  * Security: Fix incomplete template sanitization
  * Security: Restrict config file accessibility
  * Docker: CentOS to Rocky Linux move for Compose
  * Remove old Cobbler Web leftovers
  * Utils: Check if service is running before stopping it
  * CI: Remove test report parsing and publishing
  * System-Tests: Remove broken Test report parser
  * Use distro_build_configs.sh for fixing bind path
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 925263 from Thomas Renninger's avatar Thomas Renninger (trenn) (revision 146)
- Update to version 3.3.0.50+git.c1d81950:
  * Add support for Windows 11
  * Do not warn users about missing files during removal
  * Collections: Simplify the duplication checks
  * mkloaders: Add checks for required components
  * mkgrub: Rename file and class to mkloaders
  * mkgrub: Use grub subdirectory for storing binary executables
  * Downgrade info to debug message when loading systems
  * Show startup time in seconds if python3-psutil is installed
  * Use newly introduce per item serializer on parent/profile addings
  * Remove check_for_duplicate_netinfo parameter checking, this is done in interface setter now
  * Introduce new serialize_one_item function
  * Exclude ourselves from duplicate checks for ip/mac/dns duplicates
  * mkgrub: Improve bootloader building process
  * mkgrub: Apply opinionated formatting
  * Fix defaults and path to the ipxe files
  * Version bump to V3.3.1
  * Remove not existent check for disabled spacewalk registration
  * Security: Flag gate for modify_setting in XMLRPC
  * Safeguard XMLRPC against rce
  * Ease up condition checking and do not add interfaces to dhcp6 without ipv6 address
  * MAC address should already be properly formatted
  * Write message that initrd has successfully been loaded
  * Set default menu if netboot is enabled
  * Use the grub formatted tftp URL in for loading kernel/initrd remotely
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 920180 from Thomas Renninger's avatar Thomas Renninger (trenn) (revision 145)
- Update to version 3.2.1.336+git.5639a3af:
  * Autoinstall Manager: Fix utils.die calls and removed unused variable
  * Docs: Add the mkgrub command to the CLI
  * Add docstring to new API method
  * Added new keys to the migration module for 3.3.0
  * spec file needs an open source license header to be build in open build service
  * Expose GrubImage Action in api.py and cli.py
  * Add GrubImage action
  * Refactor the hardlink command to support non default web directories.
  * Cobbler-settings: Change options order
  * docs: Fix docstrings and logger formatting
  * Adjustments to cobbler-settings validate
  * Update sleep time in setup-supervisor script
  * reposync_ssl
  * Feat.: add support for Debian 11 Bullseye
  * fix: cobbler reposync

- Do not export spec file from git, due to bad licence format
- Add rpmlintrc to sources
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 915721 from Thomas Renninger's avatar Thomas Renninger (trenn) (revision 144)
- Update to version v3.2.1.295+git.af118f52:
  * Refactor the hardlink command to support non default web directories.
  * Cobbler-settings: Change options order
  * docs: Fix docstrings and logger formatting
  * docs: Update and cleanup
  * Adjustments to cobbler-settings validate
  * fix/windows
  * Applied suggestions from @agraul and @vzhestkov
  * Update sleep time in setup-supervisor script
  * reposync_ssl
  * Feat.: add support for Debian 11 Bullseye
  * fix: cobbler reposync
- Set disabled service to localonly
- Remove unused patch
D    prevent-race-condition-writting-tftpboot-files-bsc1186124.patch
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 894046 from Pablo Suárez Hernández's avatar Pablo Suárez Hernández (PSuarezHernandez) (revision 143)
https://github.com/cobbler/cobbler/pull/2636

- Prevent some race conditions when writting tftpboot files and
  the destination directory is not existing (bsc#1186124)
- Added:
  * prevent-race-condition-writting-tftpboot-files-bsc1186124.patch
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 888820 from Ferdinand Thiessen's avatar Ferdinand Thiessen (susnux) (revision 142)
rpmlintrc missing as Source as well (will still get declined by Factory auto without this change).
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 888558 from Ferdinand Thiessen's avatar Ferdinand Thiessen (susnux) (revision 141)
A license header is required for Factory
Thomas Renninger's avatar Thomas Renninger (trenn) committed (revision 140)
Thomas Renninger's avatar Thomas Renninger (trenn) accepted request 879438 from Thomas Renninger's avatar Thomas Renninger (trenn) (revision 139)
- Update to version 3.2.1+git20210315.f7482f6b:
  * API: Add HTTP 200 Return in case we have an OPTIONS request
  * Install everything in scripts/ to get migrate-data-v2-to-v3.py
  * Update issue templates
  * Webinterface: Removal of the Django Version
  * Remove get-loader code
  * Remove internal tftp python server and remove tornado dependencies
  * Increase version of Cobbler to 3.2.1
  * Move legacy field setting
  * Add tests for distro.py and item.py
  * Templates: Move macros back to the template_api and fix snippets
  * Templates: Remove old subject parameter; rename Template to CobblerTemplate
  * Templates: Improve Cheetah template child class (linter & comments)
  * Templates: Improve docs and fix linter errors with sedsec
  * CLI: Add class docstring for the main class
  * Actions - Replicate: Add class docstring
  * Serializer - Mongo: Revert explicit type because of soft req on MongoDB
  * Grub: Add tests and catch some errors
  * Fix several issues in module file.py
  * remove esxi70u1 from signatures and template from spec
  * remove esxi70u1 config and templates

- Update to version 3.2.0+git20210221.644f267c:
  * Address review concerns by @nodeg
  * Add schema checking code and test it
  * Convert integer bools to real bools
  * Docs: Rearrange to alphabetical order & add missing settings
  * Add python-schema to our requirements
  * post_report: Use with syntax to close file in case of an error.
  * Fix linter errors in check.py
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 865964 from Dominik Gedon's avatar Dominik Gedon (dgedon) (revision 138)
- Update spec file to satisfy current rpmbuild (>=4.16) and make
  the build on Tumbleweed work again.
- Update tarball from upstream to remove the .pc quilt folder.
- Fix string replacement for @@xyz@@
- Better performing string replacements
- Added:
  * better-string-replacement-performance.diff
  * fix-string-replacement.diff
- Remove redundant '.json' suffix
- Added:
  * remove-redundant-json-suffix.diff
- Fixes usage of str.join()
- Added:
  * fix-for-old-str.join-usage.diff
- Add fence-agents package as requirement
- Fix position of wrong endif
- Add cobbler-tests subpackage for unit testing for openSUSE/SLE
- Adds LoadModule definitions for openSUSE/SLE
- Added:
  * load_module_apache_suse_fix.diff
- Switch to new refactored auth module.
- Added:
  * refactored_auth_module.diff
- Adding tornado dependency for cobbler tftpd again.
- cgi.parse_qs is deprecated. Using urllib instead.
- Added:
  * cgi_parse_qs_is_deprecated.diff
- Adds requirement for python-distro
- Removes Tornado as dependency and only recommends Ldap3
- Bring changelog in sync with Uyuni:
- Fixes template engine selection(bsc#1170462)
  Fixed mainline by commit 33c769e99
D fix-template-engine-selection.patch
- Fixes a template rendering error (bsc#1169779)
  Fixed mainline by commit 5e5ef6c8c
D fixes-a-template-rendering-error.patch
- use systemctl to restart cobblerd on logfile rotation (bsc#1169207)
  Mainline logrotate conf file uses already /sbin/service instead of
  outdated: /etc/init.d/cobblerd
- Fix cobbler sync for DHCP or DNS (bsc#1169553)
  Fixed mainline by commit 2d6cfe42da
  D fix_cobbler_sync_for_dhcp_or_dns.diff
- Signatures file now uses "default_autoinstall" which fixes import
  problem happening with some distributions (bsc#1159010)
  Fixed mainline by commit 33d181199f0da1da
- Fix for kernel and initrd detection (bsc#1159010)
  Fixed mainline by commit 872f505f66c50059
- New:
  * For the distro there is now a parameter remote_boot_initrd and remote_boot_kernel ()
  * For the profile there is now a parameter filename for DHCP. (#2280)
  * Signatures for ESXi 6 and 7 (#2308)
  * The hardlink command is now detected more dynamically and thus more error resistant (#2297)
  * HTTPBoot will now work in some cases out of the bug. (#2295)
  * Additional DNS query for a case where the wrong record was queried in the nsupdate system case (#2285)
- Changes:
  * Enabled a lot of tests, removed some and implemented new. (#2202)
  * Removed not used files from the codebase. (#2302)
  * Exchanged mkisofs to xorrisofs. (#2296)
  * Removed duplicate code. (#2224)
  * Removed unreachable code. (#2223)
  * Snippet creation and deletion now works again via xmlrpc. (#2244)
  * Replace createrepo with createrepo_c. (#2266)
  * Enable Kerberos through having a case sensitive users.conf. (#2272)
- Bugfixes:
  * General various Bugfixes (#2331, )
  * Makefile usage and commands. (#2344, #2304)
  * Fix the dhcp template. (#2314)
  * Creation of the management classes and gPXE. (#2310)
  * Fix the scm_track module. (#2275, #2279)
  * Fix passing the netdevice parameter correctly to the linuxrc. (#2263)
  * powerstatus from cobbler now works thanks to a wrapper for ipmitool. (#2267)
  * In case the LDAP is used for auth, it now works with ADs. (#2274)
  * Fix passthru authentication. (#2271)
- Other:
  * Add Codecov. (#2229)
  * Documentation updates. (#2333, #2326, #2305, #2249, #2268)
  * Buildprocess:
    *  Recreation and cleanup of Grub2. (#2278)
    *  Fix small errors for openSUSE Leap. (#2233)
    *  Fix rpmlint errors. (#2237)
    *  Maximum compatibility for debbuild package creation. (#2255, #2292, #2242, #2300)
  * Fixes related to our CI Pipeline (#2254, #2269)
  * Internal Code cleanup (#2273, #2270)
- Breaking Changes:
  * Hash handling in users.digest file. (#2299)
- Removed not needed files in obs. This is now all mainline:
D logrotate_cobbler
D fix_hardcoded_libpath_for_websession.patch
D fence_ipmitool.template
D cobbler_management_mac.diff
D AUTHORS
- Added source files:
A cobbler.obsinfo
A cobbler-rpmlintrc
D exclude_get-loaders_command.patch
Spec file is mostly adopted to mainline spec file.
Still it is not directly extracted from mainline tarball.
First the remaining diff has to be submitted mainline.
- Change group to Productivity/Networking/Boot/Servers
- Disable any python_*_dependency_generator macros
  According to Tomas Chvatal they are much too experimental yet
  in OBS to be used. They have to be undefined, because of a half
  baken implementation in SLE 15 SP2 build env (defined but not
  properly implemented). At some point of time the introduced
  undefine python_*_dependency_generator
  will be conditionally removed via suse_version.
- Updated to version 3.1.1.
  * Introduce new packaging from upstream
  * Changelog see below
- New:
  * We are now having a cross-distro specfile which can be build in the OBS
    (#2220) - before rewritten it was improved by #2144 & #2174
  * Grub Submenu for net-booting machines (#2217)
  * Building the Cent-OS RPMs in Docker (#2190 #2189)
  * Reintroduced manpage build in setup.py (#2185)
  * mgmt_parameters are now passed to the dhcp template (#2182)
  * Using the standard Pyhton3 logger instead of a custom one (#2160 #2139 #2151)
  * Script for converting the settings file from 3.0.0 to 3.0.1 (#2154)
  * Docs now inside the repo instead of cobbler.github.io and improved with sphinx (#2117)
- Changes:
  * The default tftpboot directory is now /var/lib/tftpboot instead of previously /srv/tftpboot (#2220)
  * Distro signatures were adjusted where necessary (#2219 #2134)
  * Removed requirements.txt and placed the requirements in setup.py (#2204)
  * Display only entries in grub which are from the same arch (#2191 #2216)
  * Change the name of the cobbler manpage form cobbler-cli to cobbler back and move it to section 8 (#2188 #2186)
- Bugfixes:
  * Incremented Version to 3.1.1 from 3.0.1
  * S390 Support was cleaned up (#2207 #2178)
  * PowerPC Support was cleaned up (#2178)
  * Added a missing import while importing a distro with cobbler import (#2201)
  * Fixed a case where a stacktrace would be produced so pass none instead (#2203)
  * Rename of suse_kopts_textmode_overwrite to kops_overwrite to utils (#2143 #2200)
  * Fix rsync subprocess call (#2199 #2179)
  * Fixed an error where the template rendering did not work (#2176)
  * Fixed some cobbler import errors (#2172)
  * Wrong shebang in various scripts (#2148)
  * Fix some imports which fixes errors introduced by the remodularization (#2150 #2153)
- Other:
  * Issue Templates for Github (#2187)
- Update to latest git HEAD code base
  This version (from mainline so for quite a while already)
  also includes fixes for "bsc#1149075" and bsc#1151875
  These patches are mainline already:
D kopts-utils-path.diff
D item-repo-import-fix.diff
D no-system-in-kopts-call.diff
  This patch is going to be submitted mainline:
A cobbler_management_mac.diff
- Fix up manpage creation: Do not zip manpages ourselves
  Thanks to namtrac.
- Fix for cobbler import and buildiso (bsc#1156574)
- Added:
  * kopts-utils-path.diff
  * no-system-in-kopts-call.diff
  * item-repo-import-fix.diff
- Update to latest git HEAD code base (commit fbebd758)
- Adjusted manpage creation (needs sphinx as BuildRequires)
- Switch to openSUSE latest_mulitarch_work for shortterm until
  everything is in place and submitted mainline
- started to switch to Sphinx manpage generation, but comment out.
  SuMa people must have done this already somewhere.
- Already mainline:
D fix_module_renaming.diff
- Fix cobbler sync for dhcp and dns enabled due to latest module
  renaming patches
- Update to latest git HEAD
   - Fixes permission denied in apache2 context when trying to write
     cobbler log
   - Fixes a bad import in import_signature (item)
   - Fixes bad shebang bash path in mkgrub.sh (used in post section)
- Now track Github master branch
  WARNING: This release contains breaking changes for your settings file!
  * Notable changes:
    - Now using standard python logger
    - Updated dhcpd.template
- Removed fix_shebang.patch: now in upstream.
- added -s parameter to fdupes call to prevent hardlink across
  partititons
- Update to latest v3.0.0 cobbler release
- Add previouly added patch: exclude_get-loaders_command.patch to
  the list of patches to apply.
- Fix log file world readable (as suggested by Matthias Gerstner)
  and change file attributes via attr in spec file
- Do not allow get-loaders command (download of third party
  provided network boot loaders we do not trust)
A exclude_get-loaders_command.patch
- Add apache min version requires to 2.4 (due to mainline commit:
  31a1aa31d26c4a096f0e0
  Remove apache IfVersion tags from apache configs
- Fix Tumbleweed build where python2-Cheetah3 and python3-Cheetah3
  are build for a while by changing (Build- and) Requires from:
  Cheetah3 to python3-Cheetah3
- Setting test package group to a valid one
- Fix test files to be added to test package, not only the directory
- Remove general dir from file section: %{_datadir}
- Fix test package requires
  missing Requires: python3-pytest python3-pyflakes python3-pycodestyle
- Mainline fixes:
  3172d1df9b9cc8 Add missing help text in redhat_management_key field
  c8f5490e507a72 Set default interface if cobbler system add has no
                 --interface= param
  31a1aa31d26c4a Remove apache IfVersion tags from apache configs
- Updated to latest git master branch
commit d43461b39073ac01a54a3f52be0b133d36cb8061
Author: Jochen Breuer <jbreuer@suse.de>
Date:   
  Remove already mainline patches:
D fix-login-error.patch
D remove-newline-from-token.diff
D fixes-distro-none-case.diff
D return-the-name-of-the-unknown-method.patch
D call-with-logger-where-possible.patch
D fix-http-status-code.patch
D create-system-directory-at-the-correct-place.patch
D remodeled-distro-detection.diff
D disable_nsupdate_enabled_by_default.diff
D power_system_xmlrpc_api.patch
D renamed-methods-alias.patch
D changes-return-to-float.diff
D revert-redhat-management-removal.patch
D add-docker-integration-testing.diff
D refactor-unittest-to-pytest.diff
D renamed-methods-alias-part2.patch
D changes-detection-to-distro-like-for-suse-distributions.diff
D rhn-mngmnt-key-field-fix.diff
- Re-enabling build for cobbler-test package.
- Integrated fixes that came in from mainline from other products
  (to calm down obs regression checker):
  CVE-2011-4953, fate#312397, bsc#660126, bsc#671212, bsc#672471, bsc#682665
  bsc#687891, bsc#695955, bsc#722443, bsc#722445, bsc#757062, bsc#763610
  bsc#783671, bsc#790545, bsc#796773, bsc#811025, bsc#812948, bsc#842699
  bsc#846580, bsc#869371, bsc#884051, bsc#976826, bsc#984998
  Some older bugs need bnc# references as well:
  bnc#660126, bnc#671212, bnc#672471, bnc#682665
  bnc#687891, bnc#695955, bnc#722443, bnc#722445, bnc#757062, bnc#763610
  bnc#783671, bnc#790545, bnc#796773, bnc#811025, bnc#812948, bnc#842699
  bnc#846580, bnc#869371, bnc#884051
- Fix for redhat_management_key not being listed as a choice
  during profile rename (bsc#1134588)
- Added:
  * rhn-mngmnt-key-field-fix.diff
- Fixes distribution detection in setup.py for SLESo
- Added:
  * changes-detection-to-distro-like-for-suse-distributions.diff
- Moving to pytest and adding Docker test integration
- Added:
  * add-docker-integration-testing.diff
  * refactor-unittest-to-pytest.diff
- Additional compatability changes for old Koan versions.
- Modified:
  * renamed-methods-alias-part2.patch
- Old Koan versions not only need method aliases, but also need
  compatible responses
- Added:
  * renamed-methods-alias-part2.patch
- Add the redhat_managment_* fields again to enable templating in SUMA.
- Added:
  * revert-redhat-management-removal.patch
- Changes return of last_modified_time RPC to float
- Added:
  * changes-return-to-float.diff
- provide old name aliases for all renamed methods:
  - get_distro_for_koan     =>  get_distro_as_rendered
  - get_profile_for_koan    =>  get_profile_as_rendered
  - get_system_for_koan     =>  get_system_as_rendered
  - get_repo_for_koan       =>  get_repo_as_rendered
  - get_image_for_koan      =>  get_image_as_rendered
  - get_mgmtclass_for_koan  =>  get_mgmtclass_as_rendered
  - get_package_for_koan    =>  get_package_as_rendered
  - get_file_for_koan       =>  get_file_as_rendered
- Renamed:
  get_system_for_koan.patch => renamed-methods-alias.patch
- provide renamed method "get_system_for_koan" under old name
  for old clients.
- Added:
  * get_system_for_koan.patch
- Bring back power_system method in the XML-RPC API
- Changed lanplus option to lanplus=true in fence_ipmitool.template
- Added:
  * power_system_xmlrpc_api.patch
- Changed:
  * fence_ipmitool.template
- Disables nsupdate_enabled by default
- Added:
  * disable_nsupdate_enabled_by_default.diff
- Fixes issue in distribution detection with "lower" function call.
- Modified:
  * remodeled-distro-detection.diff
- Adds imporoved distribution detection. Since now all base products
  get detected correctly, we no longer need the SUSE Manager patch.
- Added:
  * remodeled-distro-detection.diff
- fix grub directory layout
- Added:
  * create-system-directory-at-the-correct-place.patch
- fix HTTP status code of XMLRPC service
- Added:
  * fix-http-status-code.patch
- touch /etc/genders when it not exists (bsc#1128926)
- Add patches to fix logging
- Added:
  * return-the-name-of-the-unknown-method.patch
  * call-with-logger-where-possible.patch
- Switching version schema from 3.0 to 3.0.0
- Fixes case where distribution detection returns None (bsc#1130658)
- Added:
  * fixes-distro-none-case.diff
- Removes newline from token, which caused authentication error (bsc#1128754)
- Added:
  * remove-newline-from-token.diff
- Added a patch which fixes an exception when login in with a non-root user.
- Added:
  * fix-login-error.patch
- Added a patch which fixes an exception when login in with a non-root user.
- Added:
  * fix-login-error.patch
- Remove patch merged at upstream:
  * 0001-return-token-as-string.patch
- change grub2-x86_64-efi dependency to Recommends
- grub2-i386pc is not really required. Changed to recommended
  to allow building for architectures other than x86_64
- Use cdrtools starting with SLE-15 and Leap-15 again. (bnc#1081739)
- Update cobbler loaders server hostname (bsc#980577)
- Update outdated apache config (bsc#956264)
- Replace builddate with changelog date to fix build-compare (bsc#969538)
- LOCKFILE usage removed on openSUSE (bnc#714618)
- Power management subsystem completely re-worked to prevent
  command-injection (CVE-2012-2395)
- Removed patch merged at upstream:
  * cobblerd_needs_apache2_service_started.patch
- Checking bug fixes of released products are in latest develop pkg:
  - remove fix-nameserver-search.fix; bug is invalid (bsc#1029276)
    -> not needed anymore
  - fix cobbler yaboot handling (bsc#968406, bsc#966622)
    -> no yaboot support anymore
  - support UEFI boot with cobbler generated tftp tree (bsc#1020376)
    -> upstream
  - Enabling PXE grub2 support for PowerPC (bsc#986978)
    -> We have grub2 support for ppc64le
  - (bsc#1048183) fix missing args and location for xen
    -> is in
  - no koan support anymore:
    bsc#969541, bsc#924118, bsc#967523
  - not installed (bsc#966841)
    works.
- These still have to be looked at:
  SUSE system as systemd only (bsc#952844)
  handle list value for kernel options
  correctly (bsc#973413)
  entry in pxe menu (bsc#988889)
- This still has to be switched off (at least in internal cobbler versions):
  Disabling 'get-loaders' command and 'check' fixed. bsc#973418
- Add python3-requests and removed old python2 requires:
  Requires:       python-PyYAML
  Requires:       python-urlgrabber
  (originally from jbreuer@suse.de)
- Add explicity require to tftp, so it is used for both SLE
  and openSUSE (originally from jgonzalez@suse.com)
- Moved Recommends according to spec_cleaner
- Require latest apache2-mod_wsgi-python3 package
  This fixes interface to http://localhost/cblr/svc/...
- Use latest github cobbler/cobbler master branch in _service file
- cobblerd_needs_apache2_service_started.patch reverted, that is mainline
  now:
D cobblerd_needs_apache2_service_started.patch
- Only recommend grub2-arm and grub2-ppc packages or we might not be
  able to build on factory where arm/ppc might not be built
- Remove genders package requires. A genders file is generated, but
  we do not need/use the genders package.
- Cleanup with spec-cleaner
- Update to latest cobbler version 3.0 mainline git HEAD version
  and remove already integrated or not needed anymore patches:
D    cobbler-symlink.diff
D    detect-parallel-cobbler-sync.patch
D    escape-shell-parameters-provided-by-user-on-reposync.patch
D    fix_subprocess_sp_encoding.patch
D    fix-os-release.patch
D    disable_not_relevant_checks_bnc_828453.patch
D    update-outdated-apache-config-bsc956264.patch
D    cve-2018-10931-forbid-exposure-of-private-methods-in.patch
D    fix-broken-tests.diff
D    fix-manpage-creation.patch
D    do_not_use_grubby_compat_when_grub2_is_in_use.diff
D    fix_hardcoded_libpath_for_websession.patch
D    looking_for_cobbler_order_changed.diff
D    grubby-compat.diff
D    fix-restart-paravirt-xen.dif
D    koan_old_cobbler_compat.diff
D    fix_shebang.patch
D    catch_cheetah_exception.patch
D    fix-script-endpoint-security-bug-1030582.patch
D    cobbler_web_config.diff
D    fix-koan-port-guessing.dif
D    cobblerd_needs_apache2_service_started.patch
D    fix-powermanagement-status.dif
D    check-access-token-when-calling-modify_setting-api-e.patch
D    fix_sle_detection.patch
D    fix_test_create_systems.diff
D    fix_subprocess_sp_encoding.patch
D    cobbler-2.4.2-reprovision-rhel-on-suse-bnc883487.patch
- Serial console support added, did some testing already
  Things should start to work as expected
- Add general grub2 support
- Put mkgrub.* into mkgrub.sh
- Add git date and commit to version string for now
- Add grub2 mkimage scripts:
mkgrub.i386-pc
mkgrub.powerpc-ieee1275
mkgrub.x86_64-efi
mkgrub.arm64-efi
  and generate grub executables with them in the %post section
** Backported fixes from SLE12 SP3
- build server wants explicite package in BuildRequires; use tftp
- require tftp(server) instead of atftp
- cleanup: cobbler is noarch, so arch specific requires do not make
  sense
- SLES15 is using /etc/os-release instead of /etc/SuSE-release, use
  this one for checking also
- Add:
  * sles15.patch
- add sles15 distro profile (bsc#1090205)
- Add:
  * add-sles15-distro.patch
- fix signature for SLES15 (bsc#1075014)
- Updated:
  * add-sles15-distro.patch
- fix signature for SLES15 (bsc#1075014)
- Updated:
  * add-sles15-distro.patch
Missing fixes
=============
This SLE fixes are missing.
The reason for this is that koan got split out into a separate
package, these changes (changelog entries) therefore are not relevant
for this package anymore:
Koan specific:
--------------
- fix koan wait parameter initialization
  Added:
  * fix-wait.patch
- Fix koan shebang
- Add:
  * fix-usr-bin-env-bash-koan.diff
But these patches still have to be double checked and
probably applied to current cobbler sources.
The patches are still added in the package, but do not
get patched. If this work has been done, these changelog
entries should show up in the
** Backported fixes from SLE12 SP3
section above to please maintenance and "factory first"
release checking tools:
cobbler specific (still have to be done):
-----------------------------------------
- Escape shell parameters provided by the user for the
  reposync action (CVE-2017-1000469) (bsc#1074594)
- Added:
  * escape-shell-parameters-provided-by-user-on-reposync.patch
- detect if there is already another instance of "cobbler sync"
  running and exit with failure if so (bsc#1081714)
- Add:
  * detect-parallel-cobbler-sync.patch
- do not try to hardlink to a symlink. The result will be a
  dangling symlink in the general case (bsc#1097733)
- Added:
  * cobbler-symlink.diff
- fix kernel options when generating bootiso (bsc#1101670)
- Added:
  * cobbler-buildiso-list-to-string.patch
- Refreshed:
  * cobbler-symlink.diff
- fix service restart after logrotate for cobblerd (bsc#1113747)
- rotate cobbler logs at higher frequency to prevent disk fillup
  (bsc#1113747)
- Forbid exposure of private methods in the API (CVE-2018-10931)
  (CVE-2018-1000225) (bsc#1104287) (bsc#1104189) (bsc#1105442)
- Check access token when calling 'modify_setting' API endpoint
  (bsc#1104190) (bsc#1105440) (CVE-2018-1000226)
- Added:
  * check-access-token-when-calling-modify_setting-api-e.patch
  * cve-2018-10931-forbid-exposure-of-private-methods-in.patch
- Escape shell parameters provided by the user for the
  reposync action (CVE-2017-1000469) (bsc#1074594)
- Added:
  * escape-shell-parameters-provided-by-user-on-reposync.patch
- Use cdrtools starting with SLE-15 and Leap-15 again.
  (bnc#1081739)
- Cleanup of the spec file.
- fix creation of manpages:
    option '--release ""' resulted in empty man pages
- added patch:
  * fix-manpage-creation.patch
- Update to latest stable version of cobbler (2.8.2)
  * many changes since 2.6.6. see: https://cobbler.github.io/posts/
- rebase patches
  * koan_old_cobbler_compat.diff
  * disable_not_relevant_checks_bnc_828453.patch
  * update-outdated-apache-config-bsc956264.patch
    + potentionally fixed in 3d4db162c7b7c0fe7de00c30fcb81798b7db5039
- remove fix-cobbler-loaders-server-bsc980577.patch
  * fixed in 77328c0b05d37878f13704efa31e4daa162fda12
- remove vendor-files.tar.bz2
  * use built in manpage instead of vendored one
  * add cobbler_firewall_settings to package root
- use py macros to do installation
- fix script endpoint security bug CVE-2016-9605 (bsc#1030582)
  Add:
    * fix-script-endpoint-security-bug-1030582.patch
- fix setup.py to identify SUSE OS correctly bsc#1046679
  Added:
  * fix-os-release.patch
- Recommend fence-agents for broader power switch support
- Update cobbler loaders server hostname bsc#980577
  Added:
  * fix-cobbler-loaders-server-bsc980577.patch
- Update outdated apache config bsc#956264
  * update-outdated-apache-config-bsc956264.patch
- Replace builddate with changelog date to fix build-compare (bsc#969538)
- Added 'fix_test_create_systems.diff': fixes the "create_systens" unit test
- Fix runtime dependency: ensure the yaml module is available.
- Install the right cobblerd.service file
- Do not ship cobbler_web.conf inside of the cobbler package, get rid
  of part of our patches to setup.py,
- Added new patch required to fix the broken unit tests:
  * fix-broken-tests.diff
- Removed another no longer needed patch:
  * fix-textmode-for-SUSE.dif
- Update to latest stable version of cobbler (2.6.6)
- Removed no longer needed patches
  * bnc_877009.patch
  * cobbler-2.4.2-Fix-koan-s-get_insert_script.patch
  * fix-broken-tests.diff
  * fix-initscript.diff
  * suse_config.diff
- Fixed old patches to apply against the new code:
  * catch_cheetah_exception.patch
  * grubby-compat.diff
  * setup_py.diff
- Fix the broken unit tests
- Created sub package for unit tests
- use fdupes only on SUSE
- Fix for re-installation of machines on SLE with static
  network configuration (bnc#883487)
- Added patches:
  * cobbler-2.4.2-Fix-koan-s-get_insert_script.patch
  * cobbler-2.4.2-reprovision-rhel-on-suse-bnc883487.patch
- fix port guessing in koan (bsc#855389)
  * fix-koan-port-guessing.dif
- add "copy-default" option to grubby-compat (bsc#855389)
- handle elilo in SUSE (bsc#855389)
- fix wrong option "text" in SUSE environment (bsc#901058)
  * fix-textmode-for-SUSE.dif
- Added do_not_use_grubby_compat_when_grub2_is_in_use.diff: prevents
  usage of grubby-compat when grub2 is active. Use grub2 features
  do modify the boot loader.
- Moved grubby-compat inside of the koan sub-package. The scrit was accidentally
  moved into the cobbler package.
- Added fix_sle_detection.patch: ensures SLE12 is properly detected.
- Did some cleanup of the spec file.
- Fix source of cobbler package inside of spec file (required by openSUSE:Factory)
- Added bnc_877009.patch, fixes CVE-2014-3225: cobbler: Local file inclusion (bnc#877009)
- Got rid of some of the rpmlint warnings.
- Fixed error inside of koan tool introduced by the 'grubby-compat.diff' patch.
- Requires tfpt-server but atftp/tftpt packages provide tfpt(server)
- Added conditional requires for s390x and syslinux-x86_64
- Added patches:
  + catch_cheetah_exception.patch
      - forward cheetah exception as 500 SERVER ERROR (bnc#787879)
  + disable_not_relevant_checks_bnc_828453.patch
  + fence_ipmitool.sh
    - add fence_ipmitool script for power management
  + fix-powermanagement-status.dif
    - fix evaluation of power status calls
  + fix-restart-paravirt-xen.dif
    - fix XEN fullvirt installation
  + grubby-compat.diff
  + koan_old_cobbler_compat.diff
    - add new grubby-compat tool
  + looking_for_cobbler_order_changed.diff
    - fix cobbler checks on SUSE (bnc#828453)
  + setup_py.diff
    - update paths for suse apache
- Modified fix-initscript.diff -Failed to patch due to new line in newer version
- Removed patches:
  - suse_newver.patch - Upstreamed
  - users_patch.diff - Upstreamed
  - cheetah_template_autoescape.patch - No longer needed
- update to version 2.4.2
  + Adding support for gPXE
  + Adding support for ESXi5
  + fix install=... kernel parameter when importing a SUSE distro
  + koan: Port xen creation to virt-install
  + koan: Port qcreate to virt-install
  + Port koan from virtinst to virt-install command (v2)
  + add qcow2 driver type
  + Adding ability to use https for API calls (cobbler CLI)
  + Use ip instead of ifconfig for network snippets
  + minor modifications to templar to show template rendering errors
  + bugfixes and refactoring
- Update to 2.4.0
  Major Features:
  - Dynamic Settings
  - Distro Signatures
  - Vastly improved support for Ubuntu, OpenSUSE and VMware ESXi (5.0 and 5.1)
  - Added in new templated scripting support (needs documentation)
  - New web interface improvements (tabs, etc.)
  - Added apt-specific fields for repositories to make mirroring them easier
  - Support for parameterized classes and defines in puppet using management classes
  Minor Features:
  - Added the bonded_bridge_slave interface type:
  - Improved template error reporting
  - Variables in fields are now evaluated through the templating engine
  - Added openvz as a virtualization type for koan
  - Added --virt-pxe-boot option for koan to force PXE booting of new systems
  - Added a per-interface gateway option, for systems that support it
  - Added support for new puppet command syntax
  - Exposed replication rsync options
  Major Bugfixes:
  - --available-as no longer copies all files.
  - Improved gPXE/iPXE support, including FreeBSD
  - Deleting objects now respects the --recursive option again
  Minor Bugfixes:
  - Too many to list
- fix filelist to fix build on factory: rpm does not allow to
  mark a non-directory as dir anymore
- use systemd for openSUSE 12.3 and later
- change release number to match upstream
- drop obsolete setup_py.diff
- add required apache modules for cobbler-web
- add suse_newver.patch to add support for SLES11 SP3,
  openSUSE 12.3 and openSUSE 13.1
- update to 2.2.3
  + Multiple security fixes
  + CSRF support for the web GUI, which will now default to using
    https too.
  + Power management subsystem completely re-worked to prevent
    command-injection (CVE-2012-2395)
  + Support for bind in chroot'd environments
  + Koan now uses virt-install CLI instead of directly accessing
    the virtinst API
  + Various improvements for SuSE and autoyast, especially for
    PPC64-based systems.
  + BETA support for ESXi5 and gPXE
  + BETA support for using other template languages, like jinja2
- rebase patches
- drop obsolete manage_import_suse.py
- no longer requires mod_python
- require syslinux only on x86 arch
- moved the secret generation from RPM post-script to the
  init-script, to avoid that all appliances will still have the
  same key
- create a secret during installation
- update to 2.2.2
  * please see CHANGELOG for more info
- remove obsolete virt-auto-boot patch
- rebase patches
- fixed return value of rccobblerd status
- patch license to follow spdx.org standard
- fix install=... kernel option when you import a SUSE distro
- virtual machines autostart on boot fixed
- Import modules, which allowed easy integration of...
- Ubuntu and Debian support again!
- Better support for SuSE
- Support for FreeBSD
- Support for ESX 4+/ESXi
- Integration with the python TFTP server pytftpd
- "fetchable files" and "boot files" support for distros that need to
  get more files from the TFTP server
- Faster sync using link cache
- Support for EFI grub booting
- Support for bridged interfaces
- WSGI instead of mod_python for the web interface.
- Lots of Web UI improvements
- A lot more I'm sure I missed when going through the change log
- version 2.2.1
- Remove redundant tags/sections from specfile
- LOCKFILE usage removed on openSUSE
  (bnc#714618)
- fixed the handling of cheetah template code in
  AutoYaST XML files
  (thanks to Jörgen Maas for pointing me to the bug)
- fixed parameter list in build-ISO code
  (thanks to Jörgen Maas for the patch)
- added a backported upstream patch for tainted file error
  message
- fix hostname in install=...
- fix init-script
- fixed apache config typo
- added SUSE breed to import-webui
- build ISO for SUSE fixed
- added patch for autoyast XML files and cobbler triggers
- added patch to fix koan with SUSE dists
- fixed tftp-root path on SUSE
- added support for importing a SUSE distribution
- fixed the start of cobblerd when [tftpd] section is missing
  in the modules.conf
- version from 2.0.10 to 2.1.0
- changed logfiles to root:root (bnc#678433)
- changed permissions in /var/log/ to root:www (bnc#678433)
- patches cleaned up
- fixed a crash because xml.dom.ext is not available on 11.4
- fixed the restarting of services on SUSE
- missing rc-script link added
- don't add "#raw" comment per default anymore
- cobbler failed to export kickstart profiles with $SNIPPET(...)
  cheetah_class_fix.diff added for that
- removed grubby from the requires
- packaged the cobbler.conf instead of cobbler_wsgi.conf
  (bnc#668968)
- spec file fixed
- fixed apache config to avoid warning
- added firewall config
- version update to 2.0.10
- some template files were not packaged
- removed xinetd from start script
- update to version 2.0.8
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 848372 from Jochen Breuer's avatar Jochen Breuer (brejoc) (revision 137)
- Remove redundant '.json' suffix
- Added:
  * remove-redundant-json-suffix.diff
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 845904 from Jochen Breuer's avatar Jochen Breuer (brejoc) (revision 136)
- Added:
  * fix-for-old-str.join-usage.diff
Enno Gotthold's avatar Enno Gotthold (SchoolGuy) accepted request 845695 from Jochen Breuer's avatar Jochen Breuer (brejoc) (revision 135)
- Fixes usage of str.join()
Jochen Breuer's avatar Jochen Breuer (brejoc) accepted request 836055 from Dominik Gedon's avatar Dominik Gedon (dgedon) (revision 134)
- Add fence-agents package as requirement
- Fix position of wrong endif
Displaying revisions 1 - 20 of 153
openSUSE Build Service is sponsored by