# xz

The .xz file format is a container format for compressed streams, supported by compression libraries and command-line tools.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Nix Weekly Recap: 2024-03-31

DevFeed: [Nix Weekly Recap: 2024-03-31](<https://devfeed.tech/articles/nix-weekly-recap-2024-03-31-34712.md>)

Original publisher: [Read original article](<https://nixpkgs.news/archive/2024-03-31/>)

Published: 2024-03-31T00:00:00Z

Content type: article

Language: en

Sources: [nixpkgs.news](<https://devfeed.tech/sources/nixpkgs-news.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [Security](<https://devfeed.tech/topics/security.md>), [backdoor](<https://devfeed.tech/topics/backdoor.md>), [CVE 2024 3094](<https://devfeed.tech/topics/cve-2024-3094.md>), [liblzma](<https://devfeed.tech/topics/liblzma.md>), [xz](<https://devfeed.tech/topics/xz.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Python](<https://devfeed.tech/topics/python.md>), [Repl.it](<https://devfeed.tech/topics/replit.md>)

Tags: [backdoor](<https://devfeed.tech/tags/backdoor.md>), [cve-2024-3094](<https://devfeed.tech/tags/cve-2024-3094.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [github](<https://devfeed.tech/tags/github.md>), [liblzma](<https://devfeed.tech/tags/liblzma.md>), [python](<https://devfeed.tech/tags/python.md>), [recap](<https://devfeed.tech/tags/recap.md>), [security](<https://devfeed.tech/tags/security.md>), [weekly](<https://devfeed.tech/tags/weekly.md>), [xz](<https://devfeed.tech/tags/xz.md>)

### AI overview

A weekly recap of Nix community and NixPkgs activity, including the response to the critical xz/liblzma backdoor vulnerability CVE-2024-3094, release staffing, an RFC, new tools, testing, documentation, and a Python-environment update.

### Source excerpt

Weekly recap of the announcements and activity in the Nix community and on the NixPkgs package repository.

## logrotate: kompresja logów xz

DevFeed: [logrotate: kompresja logów xz](<https://devfeed.tech/articles/logrotate-kompresja-logow-xz-27571.md>)

Original publisher: [Read original article](<https://gagor.pro/2013/07/logrotate-kompresja-logow-xz/>)

Author: Tom

Published: 2013-07-29T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [xz](<https://devfeed.tech/topics/xz.md>)

Tags: [linux](<https://devfeed.tech/tags/linux.md>), [xz](<https://devfeed.tech/tags/xz.md>)

### AI overview

This tutorial explains how to configure logrotate to compress logs with xz by setting xz and unxz as the compression commands, using the .xz extension, and optionally adding compression options.

### Source excerpt

Narzędzia xz-utils dostępne w nowszych systemach korzystają z mocniejszych algorytmów kompresji (jakaś odmiana LZMA, coś w stylu 7zip'a) przy zachowaniu kompatybilności składni poleceń z gzip'em/bzip'em - da się je zatem łatwo zintegrować w obecnych systemach. Ja chciałem wykorzystać xz do kompresji logów, które bywają przydatne ale przez większość czasy tylko zajmują miejsce :simple_smile: W /etc/logrotate.conf dopisujemy: compresscmd /usr/bin/xz uncompresscmd /usr/bin/unxz compressext .xz compressoptions -9T2 compressoptions można nie ustawiać bo domyślnie ma wartość -9 (czyli kompresuj na maxa), mój dodatek (czyli -T2) użyje dwóch wątków procesora gdy już ten mechanizm zostanie zimplementowany (bo na razie nie jest) :simple_smile: