Репозитории ALT
S: | 0.3.12-alt1 |
5.1: | 0.3.6-alt2 |
4.1: | 0.3.5-alt1 |
4.0: | 0.3.5-alt1 |
3.0: | 0.3.3-alt1 |
Группа :: Работа с файлами
Пакет: chrooted
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
12 мая 2021 Vladimir D. Seleznev <vseleznv at altlinux.org> 0.3.12-alt1
- Added config file installed to %_sysconfdir/chrooted.
- Added support for DISABLE_HARDLINKS config option that makes update_chrooted
copy files instead of hardlinking.
- Copy: always dereference symbolic links in SOURCE
(by Alexey Shabalin; closes: #33591).
- Fixes:
+ OVE-20200311-0001 Normal update operations by root can corrupt/crash running processes through modifying libraries
(Normally, the processes that can be affected are only the services
already running in the chrooted environment being updated, if it is on
a different filesystem than the system libraries, and hence they
can't be hardlinked. Extraordinarily, if a file in a chrooted
environment has been a hardlink to a system library, but ln hasn't
succeeded this time for some reason, the affected processes are any
already running processes system-wide.
This could happen only as a result of actions initiated by root:
for example, a package upgrade which included the old version of
chrooted, or a package upgrade which included libraries in a system
with the old version of chrooted, or an invocation of
/sbin/update_chrooted.)
- copy_resolv_conf: added support for symlinked /etc/localtime (see #32346).
- copy_resolv_conf: forcibly remove stale optional config files.
- copy_resolv_conf: treat /etc/localtime as an optional config file.
- added a hook for openresolv
- functions (copy_resolv_lib): Copy required NSS libraries only.
- %post: Force full update.
- updated to play well with nss_mdns
- Reduced macro abuse in specfile.
- chroot.d/functions (copy_resolv_conf): added multilib support.
- Updated FSF postal address.
- chroot.d/functions (CopyLibs): enhanced new ldd(1) output handling.
- chroot.d/functions (is_yes): new function.
- chroot.d/functions:
+ added options: --no-force/--no-verbose;
+ changed force default value to be $FORCE-dependent;
+ changed verbose default value to be $VERBOSE-dependent.
- chroot.d/functions (CopyLibs):
+ fix readlink usage for coreutils >= 5.2.1-alt3. - chroot.d/functions (copy_resolv_conf):
+ attempt to copy /var/nis/NIS_COLD_START file only if it exists. - update_chrooted: added --list option.
- update_chrooted: added more options and document them.
- chroot.d/functions:
+ parse common options;
+ optimized getopt handling code;
+ added functions: Info, Verbose;
+ added functions: copy_resolv_conf, copy_resolv_lib. - Added /etc/chroot.d/.provides.sh file.
- Added update_chrooted(8) manpage.
- update_chrooted: propagate --force option to scripts.
- chroot.d/functions:
+ added comments (#0001443);
+ added Fatal() function;
+ Copy(): use cp(1) for simple cases, install(1) for others.
- Provides: /etc/chroot.d
- update_chrooted: exit during install.
- update_chrooted: relocated from /usr/sbin/ to /sbin/
(compatibility symlink created).
- chroot.d/functions (CopyLibs): when in Copy mode,
call Copy (by default) in "-m 755" mode. - Updated package requires.
- chroot.d/functions (Copy): really skip missing source files.
- chroot.d/functions (Copy): allow empty exe list, be less verbose.
- chroot.d/functions (Copy): skip missing source files.
- chroot.d/functions (CopyLibs): skip missing libraries.
- Initial revision.