libpve-common-perl (8.0.9) bookworm; urgency=medium * section config: fix handling unknown sections with arrays which broke the jobs configuration when running 'qm destroy ID --purge'. * tools: improve error handling for run with timeout helpers. * tools: allow forcing UTF-8 encoding in file set contents helper. -- Proxmox Support Team Mon, 11 Sep 2023 13:46:15 +0200 libpve-common-perl (8.0.8) bookworm; urgency=medium * fix #4849: download file from url: add opt parameter for a decompression command * ldap: handle errors explicitly to improve user visible error messages * section config: allow base properties for 'createSchema' and 'updateSchema' -- Proxmox Support Team Fri, 11 Aug 2023 13:25:04 +0200 libpve-common-perl (8.0.7) bookworm; urgency=medium * schema: increase pve-config-digest maxLength to 64 -- Proxmox Support Team Mon, 24 Jul 2023 11:55:39 +0200 libpve-common-perl (8.0.6) bookworm; urgency=medium * network: cope with non-existing interfaces config when getting local IPs * run with timeout: return if timeout happened in list context -- Proxmox Support Team Sat, 01 Jul 2023 19:24:06 +0200 libpve-common-perl (8.0.5) bookworm; urgency=medium * api dump: ignore proxyto_callback code refs -- Proxmox Support Team Sat, 17 Jun 2023 13:58:23 +0200 libpve-common-perl (8.0.4) bookworm; urgency=medium * read firstline helper: only map ENOENT to undef, raise error otherwise * ldap: fail authentication if DN is emptyu * syslog: map cut-off priority level 'warn' to 'warning' as convenience, we use the former in quite some places already. * fix #4778: fix recent regression with boolean type check for JSON parameters over the API * schema: explicitly set min/max for VMID option, which then propagates into our API viewer tool, pointing our actual valid range out more prominently to users and external developers. -- Proxmox Support Team Fri, 16 Jun 2023 10:29:19 +0200 libpve-common-perl (8.0.3) bookworm; urgency=medium * implement array support for section configs * drop support for the '-alist' format -- Proxmox Support Team Wed, 07 Jun 2023 13:51:34 +0200 libpve-common-perl (8.0.2) bookworm; urgency=medium * schema: add support for array parameter in api calls, cli and config * schema: improve description of bwlimit parameter * remove unused SysFSTools::pci_cleanup_mdev_device -- Proxmox Support Team Wed, 07 Jun 2023 13:12:18 +0200 libpve-common-perl (8.0.1) bookworm; urgency=medium * cli usage: remove extra newlines before descriptions * d/control: record dependency on libanyevent-perl -- Proxmox Support Team Fri, 19 May 2023 14:39:05 +0200 libpve-common-perl (8.0.0) bookworm; urgency=medium * re-build for Debian 12 Bookworm based release series -- Proxmox Support Team Mon, 08 May 2023 15:12:53 +0200 libpve-common-perl (7.4-1) bullseye; urgency=medium * REST & CLI handler: minimize scope of no-strict-refs exemption * cert: fix invalid CSR version * partially fix #1454: meminfo: also return arcsize * cgroup: allow one to set the memory.high CGv2 knob too -- Proxmox Support Team Wed, 26 Apr 2023 12:23:26 +0200 libpve-common-perl (7.3-4) bullseye; urgency=medium * fix #4615: REST environment: improve AnyEvent detectíon in child cleanup -- Proxmox Support Team Mon, 27 Mar 2023 10:36:41 +0200 libpve-common-perl (7.3-3) bullseye; urgency=medium * fix #4299: network: check the interface specific sysfs path to detect if IPv6 is disabled, as the global one might be available either way * certificate: add helper to check if cert and key match * API REST environment: postpone worker process collection on SIGCHLD if it's likely that the process runs in an AnyEvent loop to avoid a race resulting in failure to update the active task list * section config: add helper for deleting keys from a entry * certificate: actually print openssl errors -- Proxmox Support Team Thu, 16 Mar 2023 16:35:39 +0100 libpve-common-perl (7.3-2) bullseye; urgency=medium * fix #4299: check full path to 'disable_ipv6' file in case ipv6 is disabled but the directory for it exists * add callback based filtering for dump_logfile and add a stateful variant usable for multiple files via handles -- Proxmox Support Team Fri, 27 Jan 2023 10:28:32 +0100 libpve-common-perl (7.3-1) bullseye; urgency=medium * network: fix learning-on check for adding and deleting FDB entries * dump logfile: return whole log file if `limit` parameter is `0` -- Proxmox Support Team Thu, 24 Nov 2022 17:12:56 +0100 libpve-common-perl (7.2-8) bullseye; urgency=medium * pbs client: use 25s timeout and add extra-params * network: support adding fdb directly in tap_plug -- Proxmox Support Team Sun, 20 Nov 2022 16:26:19 +0100 libpve-common-perl (7.2-7) bullseye; urgency=medium * job registry: avoid injecting the section id unconditionally in configs * network: tap plug: auto-disable learning if `bridge-disable-mac- learning` option is set on the underlying Linux bridge; modern VM/CT management stack adds the MAC then manually to the forwarding DB (FDB) on start or (migration-)resume. -- Proxmox Support Team Sun, 13 Nov 2022 15:53:53 +0100 libpve-common-perl (7.2-6) bullseye; urgency=medium * section config: optionally support unknown types so that a local plugin can edit their own entries without needing to understand all possible types in a configuration backed by the section config format. * move the scheduled job base config & registry over from pve-manager as PVE::Job::Registry for better reuse -- Proxmox Support Team Sat, 12 Nov 2022 16:04:59 +0100 libpve-common-perl (7.2-5) bullseye; urgency=medium * schema: take over 'pve-targetstorage' option * cgroup: change cpu shares: drop ignored $cgroupv1_default parameter -- Proxmox Support Team Mon, 07 Nov 2022 16:05:10 +0100 libpve-common-perl (7.2-4) bullseye; urgency=medium * pbs client: drop namespace parameter in backup_fs_tree * pbs client: deprecate explicit namespace parameters in favor of requiring it to be configured on instantiation * pbs client: use the configured namespace as default instead of the root namespace where the namespace parameter is optional * pbs client: suppress meaningless "data: null" output when removing snapshots * pbs client: do not consider deleting a non-existent password an error * cgroup: move get_cpuunits helper from qemu-server as clamp_cpu_shares -- Proxmox Support Team Fri, 04 Nov 2022 14:06:28 +0100 libpve-common-perl (7.2-3) bullseye; urgency=medium * proc fs tools: handle proc/stat without guest values * sysfs: get name from mediated device types, if any * network: improve setting MTU of TAP devices if re-plugged on a different bridge or if used with OVS * remove PVE::Subscription and friends, replaced by common rust implementation * cgroup: get mode by checking /sys/fs/cgroup mount point -- Proxmox Support Team Mon, 19 Sep 2022 11:30:30 +0200 libpve-common-perl (7.2-2) bullseye; urgency=medium * tools: use int() on all integer syscall parameters to avoid that stringification leads to using the address as argument, fixing among other things CT restore with custom id mappings -- Proxmox Support Team Fri, 20 May 2022 14:01:17 +0200 libpve-common-perl (7.2-1) bullseye; urgency=medium * pbs-client: namespace support -- Proxmox Support Team Thu, 12 May 2022 14:42:37 +0200 libpve-common-perl (7.1-6) bullseye; urgency=medium * json schema: allow to export print_property_string * formatter: render duration: support autolimiting accurarcy * SysFSTools: factor out normalizing the PCI domain * REST handler: get property description: escape curly braces for asciidoc -- Proxmox Support Team Thu, 28 Apr 2022 16:40:34 +0200 libpve-common-perl (7.1-5) bullseye; urgency=medium * network: fix default of new bridge learning flag -- Proxmox Support Team Fri, 18 Mar 2022 10:13:48 +0100 libpve-common-perl (7.1-4) bullseye; urgency=medium * REST environment: allow export of log_warn * RESTenv: fork worker: fallback to root@pam for task log user-id * network: add support for disabling bridge learning on tap|veth|fwln ports * inotify: add bridge-disable-mac-learning option to bridges. * sysfs tools: allow longer pci domains * switch to using Proxmox::RS::CalendarEvent -- Proxmox Support Team Thu, 17 Mar 2022 14:10:58 +0100 libpve-common-perl (7.1-3) bullseye; urgency=medium * add 'map_id' helper for ID maps -- Proxmox Support Team Wed, 09 Feb 2022 18:36:44 +0100 libpve-common-perl (7.1-2) bullseye; urgency=medium * calendar event: base on more capable rust implementation via perlmod * procfs statistics: + initialize all fields to 0 + subtract guest && guest_nice from user && nice time similar to other metric tools like htop or telegraf + add irq/softirq/steal to total used cpu + use total of all non-idle fields to compute percentage -- Proxmox Support Team Thu, 13 Jan 2022 17:13:27 +0100 libpve-common-perl (7.0-14) bullseye; urgency=medium * schema: rename 'storagepair' format to 'storage-pair' * schema: add 'pve-bridge-id' option, format and pair * schema: add 'proxmox-remote' format and option -- Proxmox Support Team Thu, 11 Nov 2021 12:33:48 +0100 libpve-common-perl (7.0-13) bullseye; urgency=medium * getxattr: trim the returned buffer to the correct size * Ticket: uri-escape colons -- Proxmox Support Team Wed, 10 Nov 2021 11:50:51 +0100 libpve-common-perl (7.0-12) bullseye; urgency=medium * safe_read_from: bump default size limit to 1 MiB to match pmxcfs * cgroup: cpu quota: fix resetting period length for v1 * cgroup v2: io stats: fix parsing disk writes -- Proxmox Support Team Sun, 07 Nov 2021 21:36:08 +0100 libpve-common-perl (7.0-11) bullseye; urgency=medium * tempfile: improve base path selection, use user-specific rundir if available, fallback to `/tmp` if that's not the case and the process doesn't run under the root UID * tools: add set/get xattr methods to expose the syscalls with the same name -- Proxmox Support Team Tue, 19 Oct 2021 09:35:38 +0200 libpve-common-perl (7.0-10) bullseye; urgency=medium * net: get local ip: catch any error from get_reachable_networks * inotify: network: detect "allow-auto" as "auto" synonym * subscription: switch verification domain over to shop.proxmox.com * inotify: network: improve "allow-hotplug" & "auto" interaction by mapping the former to the later (for now). -- Proxmox Support Team Wed, 29 Sep 2021 10:01:09 +0200 libpve-common-perl (7.0-9) bullseye; urgency=medium * fix #2368: network: extend infiniband recognition in regex * net: ip from host: avoid using an undefined variable in error message * net: add helpers to get all reachable networks -- Proxmox Support Team Sat, 18 Sep 2021 14:51:44 +0200 libpve-common-perl (7.0-6) bullseye; urgency=medium * fix #2831: never set bridge_fd to 0 with STP on * ProcFSTools: read_proc_stat: add more cpu stats from /proc/stat -- Proxmox Support Team Fri, 6 Aug 2021 13:52:37 +0200 libpve-common-perl (7.0-5) bullseye; urgency=medium * fix #3527: cgroup: drop file buffers from memory usage -- Proxmox Support Team Wed, 14 Jul 2021 11:50:46 +0200 libpve-common-perl (7.0-4) bullseye; urgency=medium * tools: add upid_normalize_status_type helper * JSON schema: add pve-task-status-type format * fix #3153: INotify: adding comment of interface to inet6 section when this is the only section -- Proxmox Support Team Mon, 28 Jun 2021 14:57:20 +0200 libpve-common-perl (7.0-3) bullseye; urgency=medium * SysFSTools: add verbose flag to pci_device_info * systemd: allow setting SendSIGKILL and TimeoutStopUSec dbus properties -- Proxmox Support Team Wed, 23 Jun 2021 12:07:55 +0200 libpve-common-perl (7.0-2) bullseye; urgency=medium * inotify: read network interfaces: add vlan-id and vlan-raw-device on dot notation vlan interfaces * network: is_ip_in_cidr: correctly handle the CIDR being a singleton range (e.g. /32 for IPv4) * network: add canonical_ip abd unique_ips helper * tools: add download_file_from_url, upid_status_is_error and renameat2 helper -- Proxmox Support Team Thu, 17 Jun 2021 16:41:53 +0200 libpve-common-perl (7.0-1) bullseye; urgency=medium * re-build for Debian 11 Bullseye based releases -- Proxmox Support Team Sun, 09 May 2021 17:29:22 +0200 libpve-common-perl (6.4-3) pve pmg; urgency=medium * daemon: explicitly bind to the general wildcard address and fall back to the IPv4 one if socket creation fails, as then IPv6 is highly probable disabled for the setup -- Proxmox Support Team Fri, 07 May 2021 16:24:29 +0200 libpve-common-perl (6.4-2) pve pmg; urgency=medium * INotify: add support for a loopback like "dummy" interfaces type required for bgp with multipath/ecmp to have a unique src ip * REST handler: make potentially resource intensive API return validation opt-in, enable it only in the CLI handler by default. It was not really useful anyway, and most of the time we had false positives due to the schema missing some optional property. -- Proxmox Support Team Mon, 26 Apr 2021 19:34:21 +0200 libpve-common-perl (6.4-1) pve pmg; urgency=medium * cli: get options: don't set optional positional params to `undef` * JSONSchema: don't cycle-check 'download' responses * daemon: create_reusable_socket: listen on IPv6 and IPv4 * PBS client: add file-restore helper * allow workers to log and count warnings, providing the WARNING finish-state for tasks which encounered some non-fatal problems -- Proxmox Support Team Fri, 23 Apr 2021 14:59:51 +0200 libpve-common-perl (6.3-5) pve pmg; urgency=medium * network: get_local_ip_from_cidr: filter to only return unique IPs * format: fix render_bytes with CLIFormatter -- Proxmox Support Team Tue, 09 Mar 2021 08:35:04 +0100 libpve-common-perl (6.3-4) pve pmg; urgency=medium * sendmail: use more complete email regex and shellquote * register email-or-username format * fix #3259: always free certificate file after reading it -- Proxmox Support Team Fri, 19 Feb 2021 15:50:16 +0100 libpve-common-perl (6.3-3) pve pmg; urgency=medium * SectionConfig: parse_config: add errors to result * extract PVE::Format from PVE::CLIFormatter for reuse * add CGroup CPU/IO/Memory pressure stats helpers -- Proxmox Support Team Mon, 08 Feb 2021 16:09:09 +0100 libpve-common-perl (6.3-2) pve pmg; urgency=medium * PBS client: add helper method to get a repository url easier * tools: add extract_sensitive_params -- Proxmox Support Team Thu, 03 Dec 2020 16:53:17 +0100 libpve-common-perl (6.3-1) pve pmg; urgency=medium * subscription: use more specific machine repo definition for Proxmox VE and Proxmox Mail Gateway, to improve co-installability of all products. * network: ignore vlan-id if already specified by "iface.X" notation -- Proxmox Support Team Fri, 27 Nov 2020 15:30:18 +0100 libpve-common-perl (6.2-6) pve pmg; urgency=medium * rest: register method: allow minus in path template parameter names -- Proxmox Support Team Tue, 17 Nov 2020 16:07:53 +0100 libpve-common-perl (6.2-5) pve pmg; urgency=medium * move over CGroup handling code for reuse * move over Proxmox Backup Sercer client helper module for reuse -- Proxmox Support Team Tue, 17 Nov 2020 14:29:13 +0100 libpve-common-perl (6.2-4) pve pmg; urgency=medium * fix #3108: properly check IPv6 local address * systemd: add helpers for parsing unit files * network config parser: allow bond of bond * ProcFSTools: add helper methods to read CPU/Memory/IO pressure metrics -- Proxmox Support Team Thu, 05 Nov 2020 10:55:57 +0100 libpve-common-perl (6.2-3) pve pmg; urgency=medium * properly encode CLI tool's output when using YAML output-format via YAML::XS * fix the behavior of the sync_mountpoint helper and improve its error propagation -- Proxmox Support Team Fri, 18 Sep 2020 17:33:56 +0200 libpve-common-perl (6.2-2) pve pmg; urgency=medium * sendmail helper: only send multipart if necessary * sendmail helper: allow empty display name in "from" field * CLI option parser: allow ommiting optional positional arguemnts, if there's no ambiguity about it. -- Proxmox Support Team Mon, 07 Sep 2020 10:01:03 +0200 libpve-common-perl (6.2-1) pve pmg; urgency=medium * file get contents: bump default size limit to 512k to match pmxcfs max file size * run command helper: improve performance for logging and long lines * run command helper: fix matching of \r\n line ending -- Proxmox Support Team Wed, 19 Aug 2020 12:29:06 +0200 libpve-common-perl (6.1-5) pve pmg; urgency=medium * JSONSchema: add format validator support and cleanup check_format * sendmail: separate 'mailto' list from the rest of the parameters -- Proxmox Support Team Tue, 07 Jul 2020 19:26:58 +0200 libpve-common-perl (6.1-4) pve pmg; urgency=medium * fix #2374: bridge-ports is assumed to be defined * schema: register timezone format and add verification method * fix #2796: debian/postinst: check for existing /etc/aliases -- Proxmox Support Team Fri, 03 Jul 2020 14:16:49 +0200 libpve-common-perl (6.1-3) pve pmg; urgency=medium * network: vlan-aware bridge: fix PVID when trunks are defined * Add total sum of physical CPU core count to CPU info used by node status API call * netowrk: always autostart bond slaves interfaces -- Proxmox Support Team Mon, 08 Jun 2020 17:37:11 +0200 libpve-common-perl (6.1-2) pve pmg; urgency=medium * fix adding VLAN trunks to virtual guests NICs -- Proxmox Support Team Sat, 09 May 2020 21:00:29 +0200 libpve-common-perl (6.1-1) pve pmg; urgency=medium * fix #2696: avoid 'undefined value' warning in unkown commands * ProcFSTools: fix read_meminfo without KSM * network: fix adding vlan tags to bridge -- Proxmox Support Team Wed, 06 May 2020 12:14:19 +0200 libpve-common-perl (6.0-20) pve pmg; urgency=medium * network: replace system() with run_command() * acme: split out into new package proxmox-acme-perl -- Proxmox Support Team Mon, 20 Apr 2020 10:03:53 +0200 libpve-common-perl (6.0-19) pve pmg; urgency=medium * cpuset: cgroupv2 support and cleanup/refactor * cpuset: allow empty cpusets * JSONSchema: add acme-plugin-format * JSONSchema: add idmap parser and storagepair format -- Proxmox Support Team Sat, 04 Apr 2020 19:55:24 +0200 libpve-common-perl (6.0-18) pve pmg; urgency=medium * ldap: add optional classes to query_users and use them to filter * ldap: optionally save group name by attribute -- Proxmox Support Team Sat, 21 Mar 2020 16:49:47 +0100 libpve-common-perl (6.0-17) pve pmg; urgency=medium * inotify: ensure backwards compatibility on interface read * normalize cidr, address and netmask entries. -- Proxmox Support Team Fri, 13 Mar 2020 12:24:58 +0100 libpve-common-perl (6.0-16) pve pmg; urgency=medium * notify: fix compatibility when address and netmask got passed separately on write -- Proxmox Support Team Thu, 12 Mar 2020 16:15:17 +0100 libpve-common-perl (6.0-15) pve pmg; urgency=medium * inotify: read interfaces: avoid uninitialized value access * RESTHandler getopt_usage: schema properties can be optional * add ldap-simple-attr format from Proxmox Mailgateway for reuse -- Proxmox Support Team Mon, 09 Mar 2020 17:01:42 +0100 libpve-common-perl (6.0-14) pve pmg; urgency=medium * INotify: use 'auto' for ovs interfaces with ifupdown2 * INotify : fix OVSBond and OvsintPort order, and add more tests -- Proxmox Support Team Sat, 07 Mar 2020 17:51:16 +0100 libpve-common-perl (6.0-13) pve pmg; urgency=medium * INotify: fix mtu check and add test * INotify : check_bridge : fix bridge-ports with vlan tagged interface * zsh-completion: Add missing "options end here flag" to compadd * get_ip_from_hostname: check all address we get from getaddrinfo_all for non-local IP * INotify: use cidr for address on config change * partially fix #2618: increase maximum port for spice to 61999 * add LDAP Wrapper code from Mailgateway -- Proxmox Support Team Wed, 04 Mar 2020 15:44:15 +0100 libpve-common-perl (6.0-12) pve pmg; urgency=medium * systemd: add un-/escape_unit helpers * procfs: add check_kernel_release -- Proxmox Support Team Fri, 31 Jan 2020 10:32:59 +0100 libpve-common-perl (6.0-11) pve pmg; urgency=medium * ACME: use GET-as-POST call for compatibility with new API authorization requirements * API schema: add 'allowtoken' property * INotify network: improve vlan interface parsing -- Proxmox Support Team Tue, 28 Jan 2020 11:33:21 +0100 libpve-common-perl (6.0-10) pve pmg; urgency=medium * INotify: add "bond-primary" and "ovs_mtu" option * INotify: allow vlan tagged bridge interface on non-vlanaware bridge * INotify: forbid ip address on bridged interface. * generate_csr: allow to set CN explicitly -- Proxmox Support Team Mon, 13 Jan 2020 17:51:58 +0100 libpve-common-perl (6.0-9) pve pmg; urgency=medium * add kernel_version helper to ProcFSTools -- Proxmox Support Team Sat, 23 Nov 2019 16:15:10 +0100 libpve-common-perl (6.0-8) pve pmg; urgency=medium * fix Tools::df for big storage usage values * ProcFSTools: include ppid in read_proc_pid_stat * add new Kernel mount API wrappers and constants * ysFSTools: do not assume PCI domain 0000 -- Proxmox Support Team Wed, 20 Nov 2019 18:43:05 +0100 libpve-common-perl (6.0-7) pve pmg; urgency=medium * cert: add fingerprint helper * JSONSchema: add pve-tag format -- Proxmox Support Team Fri, 08 Nov 2019 12:48:29 +0100 libpve-common-perl (6.0-6) pve pmg; urgency=medium * fix #2433: add new TFA-secret format and support longer secrets -- Proxmox Support Team Tue, 29 Oct 2019 08:07:29 +0100 libpve-common-perl (6.0-5) pve pmg; urgency=medium * fix #2339: Handle multiple blank lines correctly in SectionConfig * add postinst hook to fix /etc/aliases whitespace error~ * network: add uplink-id option * network: use 'allow-ovs' instead of 'auto' for OVSBridge to fix race with the then generated systemd ifup@.service on startup * network: handle autostart setting for OVS interfaces -- Proxmox Support Team Fri, 20 Sep 2019 16:38:39 +0200 libpve-common-perl (6.0-4) pve pmg; urgency=medium * fix #2303: detect IPs of p2p interfaces * CLIHandler: consider all valid prefixes again for completion * Tools: add fchownat syscall -- Proxmox Support Team Sat, 17 Aug 2019 11:31:24 +0200 libpve-common-perl (6.0-3) pve pmg; urgency=medium * cert: add public key type and size to info and JSON schema * include all available CPU flags in read_cpuinfo * add array_intersect method -- Proxmox Support Team Tue, 23 Jul 2019 09:14:58 +0200 # Older entries have been removed from this changelog. # To read the complete changelog use `apt changelog libpve-common-perl`.