Теперь по поводу altlinux-update_chrooted.service
К слову, на Сизифе данного сервиса нет, так что при переходе на p8 проблема уйдёт сама собой.
Ладно, смотрим, что он из себя представляет:
cat /lib/systemd/system/altlinux-update_chrooted.service
[Unit]
Description=Updating chrooted environments
DefaultDependencies=no
Conflicts=shutdown.target
After=local-fs.target
Before=multi-user.target network.service
ConditionPathExists=/usr/sbin/update_chrooted
[Service]
ExecStart=/usr/sbin/update_chrooted conf lib
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target
Видим, что это запускается скрипт /usr/sbin/update_chrooted которому передаются два операнда: conf и lib
Type=oneshot говорит нам, что это скрипт
RemainAfterExit=yes что сервис будет считаться активным после завершения скрипта
Сервис стартует после того как будет достигнута цель local-fs.target, т.е. смонтированы локальные файловые системы.
Пока сервис не запустится, т.е. не выполнится не начнут выполняться multi-user.target network.service
Теперь смотрим, что же делает /usr/sbin/update_chrooted.
#!/bin/sh
#
# Copyright (C) 2001-2005 Dmitry V. Levin <ldv@altlinux.org>
#
# The chrooted environment update program.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
[ -z "$DURING_INSTALL" ] || exit 0
unset a f t force verbose
# override PATH
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
usage()
{
[ "$1" = 0 ] || exec >&2
cat <<EOF
update_chrooted - updates chrooted environments according to specified types.
Usage: update_chrooted [options] <type>...
Valid options are:
-l, --list list registered types;
-f, --force force update;
-v, --verbose try to be more verbose;
-V, --version print program version and exit;
-h, --help show this text and exit.
Report bugs to http://bugs.altlinux.ru/
EOF
[ -n "$1" ] && exit "$1" || exit
}
print_version()
{
cat <<EOF
update_chrooted version 0.3.8
Copyright (C) 2001-2005 Dmitry V. Levin <ldv@altlinux.org>
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Dmitry V. Levin <ldv@altlinux.org>
EOF
exit
}
t=`getopt -n update_chrooted -o l,f,v,V,h -l list,force,verbose,help,version -- "$@"` || exit
eval set -- "$t"
list=
force="--no-force"
verbose="--no-verbose"
while :; do
case "$1" in
-l|--list) list=1
;;
-f|--force) force="-f"
;;
-v|--verbose) verbose="-v"
;;
-V|--version) print_version
;;
-h|--help) usage 0
;;
--) shift; break
;;
*) echo "update_chrooted: unrecognized option: $1" >&2; exit 1
;;
esac
shift
done
if [ -n "$list" ]; then
# No arguments, please.
[ "$#" -eq 0 ] || usage
type_list=
for f in /etc/chroot.d/*.*; do
# Check if the executable exists.
[ -e "$f" ] || continue
# Don't run *.rpm* and *~ scripts
[ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue
f="${f##*/}"
type_list="$type_list ${f##*.}"
done
type_list="$(echo "$type_list" |
tr -s ' ' '\n' |
grep '^.' |
LC_COLLATE=C sort -u |
tr '\n' ' ')"
if [ -n "$type_list" ]; then
echo "List of registered types: $type_list"
else
echo "No registered types found"
fi
exit
fi
# At least one argument, please.
[ "$#" -ge 1 ] || usage
for type in "$@"; do
[ -n "$type" ] || continue
for f in /etc/chroot.d/*."$type"; do
# Check if the executable exists.
[ -x "$f" ] || continue
# Don't run *.rpm* and *~ scripts
[ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue
"$f" $force $verbose
done
done
:
Особо не вникая, видно, что чего-то делает с /etc/chrot.d/*.$type где $type это conf и lib.
Так что приведите сюда содержимое каталога /etc/chrot.d/*:
ls -l /etc/chrot.d/*
и к кому файлы принадлежат:
rpm -qf /etc/chrot.d/* | uniq
А дальше будем думать.