| Summary: | /sbin/systemctl is linked with a library in /usr | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Michael Shigorin <mike> |
| Component: | systemd | Assignee: | Alexey Shabalin <shaba> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P3 | CC: | arseny, at, ldv, real.altlinux.org, real, shaba |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
| URL: | http://rutracker.org/forum/viewtopic.php?t=4890456 | ||
|
Description
Michael Shigorin
2015-01-05 02:29:23 MSK
Starting with systemd-216-alt1, /sbin/systemctl is linked with /usr/lib64/liblz4.so.1
$ nm -D /sbin/systemctl |grep -F LZ4
U LZ4_decompress_safe
U LZ4_decompress_safe_partial
$ git grep -Fl LZ4_decompress_safe
src/journal/compress.c
systemctl uses it via show_journal_by_unit() in "status" command to "show terse runtime status information about one or more units, followed by most recent log data from the journal".
<shaba> меня бы больше устроило lz4 в /lib. Не уследил за зависимостями. Думал что lz4 нужен только для journalctl и journald. Не хотелось бы лишать systemd возможности использовать для сжатия журналов алгоритм lz4, поэтому лучше перенести lz4 в /lib. to real@: перенесешь liblz4 в /lib? или отключать поддержку lz4 в systemd? "перенесешь liblz4 в /lib?" Сейчас. |