Мигрировал ли я на systemd?

По мотивам последней новости: Завершение поддержки initscripts

Всё хотел спросить, но не решался. Хочу понять, переехал ли я окончательно на systemd?
  • rc.conf не использую (вот и ответ)(хотя очень жалею об этом, с ним было очень легко)
  • $ systemctl --failed
    0 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    $ 
  • Всё ли нужное запустил? Может, что лишнее?
    $ systemctl
    UNIT                      LOAD   ACTIVE SUB       JOB DESCRIPTION
    proc-sys...misc.automount loaded active running       Arbitrary Executable File 
    sys-devi...d-card0.device loaded active plugged       82801FB/FBM/FR/FW/FRW (ICH
    sys-devi...et-eth0.device loaded active plugged       88E8053 PCI-E Gigabit Ethe
    sys-devi...-1\x2d2.device loaded active plugged       Samsung_ML-2570_Series
    sys-devi...ock-sr0.device loaded active plugged       _NEC_DVD_RW_ND-3550A
    sys-devi...da-sda1.device loaded active plugged       WDC_WD1200JS-00MHB0
    sys-devi...da-sda2.device loaded active plugged       WDC_WD1200JS-00MHB0
    sys-devi...da-sda5.device loaded active plugged       WDC_WD1200JS-00MHB0
    sys-devi...da-sda6.device loaded active plugged       WDC_WD1200JS-00MHB0
    sys-devi...ock-sda.device loaded active plugged       WDC_WD1200JS-00MHB0
    sys-devi...ock-fd0.device loaded active plugged       /sys/devices/platform/flop
    sys-devi...y-ttyS2.device loaded active plugged       /sys/devices/platform/seri
    sys-devi...y-ttyS3.device loaded active plugged       /sys/devices/platform/seri
    sys-devi...y-ttyS0.device loaded active plugged       /sys/devices/pnp0/00:0f/tt
    sys-devi...y-ttyS1.device loaded active plugged       /sys/devices/pnp0/00:10/tt
    sys-devi...et-ppp0.device loaded active plugged       /sys/devices/virtual/net/p
    sys-module-fuse.device    loaded active plugged       /sys/module/fuse
    sys-subs...es-eth0.device loaded active plugged       88E8053 PCI-E Gigabit Ethe
    sys-subs...es-ppp0.device loaded active plugged       /sys/subsystem/net/devices
    -.mount                   loaded active mounted       /
    dev-hugepages.mount       loaded active mounted       Huge Pages File System
    dev-mqueue.mount          loaded active mounted       POSIX Message Queue File S
    media-bc...b6960be0.mount loaded active mounted       /media/bcb536f2-ef06-4838-
    proc-sys...fmt_misc.mount loaded active mounted       Arbitrary Executable File 
    run-user-1000-gvfs.mount  loaded active mounted       /run/user/1000/gvfs
    sys-fs-f...nections.mount loaded active mounted       FUSE Control File System
    sys-kernel-debug.mount    loaded active mounted       Debug File System
    tmp.mount                 loaded active mounted       Temporary Directory
    cups.path                 loaded active running       CUPS Printer Service Spool
    systemd-...d-console.path loaded active waiting       Dispatch Password Requests
    systemd-...word-wall.path loaded active waiting       Forward Password Requests 
    accounts-daemon.service   loaded active running       Accounts Service
    acpid.service             loaded active running       ACPI event daemon
    colord.service            loaded active running       Manage, Install and Genera
    cups.service              loaded active running       CUPS Printing Service
    dbus.service              loaded active running       D-Bus System Message Bus
    dcron.service             loaded active running       Periodic Command Scheduler
    gdm.service               loaded active running       GNOME Display Manager
    netcfg.service            loaded active exited        Netcfg multi-profile daemo
    polkit.service            loaded active running       Authorization Manager
    rc-local.service          loaded active exited        /etc/rc.local Compatibilit
    rtkit-daemon.service      loaded active running       RealtimeKit Scheduling Pol
    systemd-binfmt.service    loaded active exited        Set Up Additional Binary F
    systemd-journald.service  loaded active running       Journal Service
    systemd-logind.service    loaded active running       Login Service
    systemd-...s-load.service loaded active exited        Load Kernel Modules
    systemd-...unt-fs.service loaded active exited        Remount Root and Kernel Fi
    systemd-sysctl.service    loaded active exited        Apply Kernel Variables
    systemd-...-setup.service loaded active exited        Recreate Volatile Files an
    systemd-...rigger.service loaded active exited        udev Coldplug all Devices
    systemd-udevd.service     loaded active running       udev Kernel Device Manager
    systemd-...ssions.service loaded active exited        Permit User Sessions
    systemd-...-setup.service loaded active exited        Setup Virtual Console
    udisks2.service           loaded active running       Disk Manager
    upower.service            loaded active running       Daemon for power managemen
    acpid.socket              loaded active listening     ACPID Listen Socket
    cups.socket               loaded active listening     CUPS Printing Service Sock
    dbus.socket               loaded active running       D-Bus System Message Bus S
    systemd-initctl.socket    loaded active listening     /dev/initctl Compatibility
    systemd-journald.socket   loaded active running       Journal Socket
    systemd-shutdownd.socket  loaded active listening     Delayed Shutdown Socket
    systemd-...control.socket loaded active listening     udev Control Socket
    systemd-...-kernel.socket loaded active running       udev Kernel Socket
    dev-sda5.swap             loaded active active        /dev/sda5
    arch-daemons.target       loaded active active        Arch Daemons
    basic.target              loaded active active        Basic System
    cryptsetup.target         loaded active active        Encrypted Volumes
    getty.target              loaded active active        Login Prompts
    graphical.target          loaded active active        Graphical Interface
    local-fs-pre.target       loaded active active        Local File Systems (Pre)
    local-fs.target           loaded active active        Local File Systems
    multi-user.target         loaded active active        Multi-User
    network.target            loaded active active        Network
    printer.target            loaded active active        Printer
    remote-fs.target          loaded active active        Remote File Systems
    sockets.target            loaded active active        Sockets
    sound.target              loaded active active        Sound Card
    swap.target               loaded active active        Swap
    sysinit.target            loaded active active        System Initialization
    systemd-...es-clean.timer loaded active waiting       Daily Cleanup of Temporary
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    JOB    = Pending job for the unit.
    80 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    (END)
    basic.target              loaded active active        Basic System
    cryptsetup.target         loaded active active        Encrypted Volumes
    getty.target              loaded active active        Login Prompts
    graphical.target          loaded active active        Graphical Interface
    local-fs-pre.target       loaded active active        Local File Systems (Pre)
    local-fs.target           loaded active active        Local File Systems
    multi-user.target         loaded active active        Multi-User
    network.target            loaded active active        Network
    printer.target            loaded active active        Printer
    remote-fs.target          loaded active active        Remote File Systems
    sockets.target            loaded active active        Sockets
    sound.target              loaded active active        Sound Card
    swap.target               loaded active active        Swap
    sysinit.target            loaded active active        System Initialization
    systemd-...es-clean.timer loaded active waiting       Daily Cleanup of Temporary Directories
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    JOB    = Pending job for the unit.
    80 loaded units listed. Pass --all to see loaded but inactive units, too.
  • Помимо всего имею проблему с Systemd Journal. Выхлоп journalctl -b, имеет следующие ошибки, предупреждения строки:
    pulseaudio: bluetooth-util.c: org.bluez.Manager.ListAdapters() failed: org.freedesktop.systemd1.Loa

    pppd: Cannot determine ethernet address for proxy ARP

    gnome-session: WARNING: Detected that screensaver has left the bus
    gnome-session: CRITICAL: gsm_manager_set_phase: assertion `GSM_IS_MANAGER (manager)' failed
    gdm-simple-slave: WARNING: Failed to remove slave program access to the display. Trying to proceed.

    gnome-session: WARNING: Application ‘at-spi-registryd.desktop’ killed by signal 11

    pulseaudio: bluetooth-util.c: org.bluez.Manager.ListAdapters() failed: org.freedesktop.systemd1.Loa
    systemd-logind: Removed session 1.
    gnome-session: WARNING: Application ‘at-spi-registryd.desktop’ failed to register before timeout

    pulseaudio: pid.c: Daemon already running.

    kernel: end_request: I/O error, dev fd0, sector 0
    kernel: end_request: I/O error, dev fd0, sector 0

    через 6 минут имеется вот такая строка ещё:

    systemd-tmpfiles: stat(/run/user/1000/gvfs) failed: Permission denied



"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
у меня точно такие-же ошибки, только небольшая разница как я понимаю у тебя гном работает, а вот у меня нет!!!!
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
samson4747
По мотивам последней новости: Завершение поддержки initscripts
Всё хотел спросить, но не решался. Хочу понять…
Тоже пытаюсь разобраться в причинах
Покажи пожалуйста вывод systemctl list-unit-files
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
Да, у меня gnome.
systemctl list-unit-files

Кстати: Мигрировал ли я на systemd?
Относительно проблемы с Systemd Journal, можем в соответсвующую тему Systemd Journal перейти.
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
pacman -Qs systemd-sysvcompat
если есть, то наверно переехал.
Лозунг у них был такой: "Познание бесконечности требует бесконечного времени". С этим я не спорил, но они делали из этого неожиданный вывод: "А потому работай не работай — все едино". И в интересах неувеличения энтропии Вселенной они не работали. (с)
sleepycat
pacman -Qs systemd-sysvcompat
если есть, то наверно переехал.
Долго думал, но
$ pacman -Qs systemd-sysvcompat
$ 
причём:
$ pacman -Qs systemd
local/initscripts 2012.10.1-1
    System initialization/bootup scripts
local/systemd 195-2
    system and service manager
$ 
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
А должно быть так:
$ pacman -Qs systemd
local/systemd 195-2
    system and service manager
local/systemd-sysvcompat 195-2 (base)
    sysvinit compat for systemd
Осталось установить systemd-sysvcompat, выкинуть опцию init из параметров ядра, переместить куда-нибудь /etc/rc.conf и удалить initscripts.
Это будет полный переезд.
Заодно посмотрим, не возникнет ли проблем как у Пал Палыча.
grunewald
А должно быть так:
$ pacman -Qs systemd
local/systemd 195-2
    system and service manager
local/systemd-sysvcompat 195-2 (base)
    sysvinit compat for systemd
Осталось установить systemd-sysvcompat, выкинуть опцию init из параметров ядра, переместить куда-нибудь /etc/rc.conf и удалить initscripts.
Это будет полный переезд.
Заодно посмотрим, не возникнет ли проблем как у Пал Палыча.

Эх, не хочу рисковать, но надо), давайте определим пошагово: :)

Верно ли понимаю?
  • $ sudo pacman -S systemd-sysvcompat
  • выкинуть опцию init из параметров ядра, скажите пожалуйста, что и откуда, а то могу хапом удалить нужное, заранее благодарен
  • /etc/rc.conf удалён уже давно
  • $ sudo pacman -Rnsc initscripts

    Верно ли всё понял? Как напишите мне подробней второй шаг, проделаю всё) Спасибо.
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
Если эту опцию не прописывали, то взяться ей неоткуда.
Но можете проверить наличие init=/usr/lib/systemd/systemd в /boot/grub/grub.conf.
Остальные шаги поняли верно.
/boot/grub/grub.cfg
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
 
Зарегистрироваться или войдите чтобы оставить сообщение.