[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sobre el código no normal que aparece en el arranque de Debian




El 01/05/14 13:41, Santiago Vila escribió:
On Thu, May 01, 2014 at 12:41:33PM +0100, "José Manuel (EB8CXW)" wrote:
Como se si tengo "systemd" o "systemv".
Esto te dirá cuáles tienes instalados:

dpkg -s systemd
dpkg -s sysvinit

Y el proceso número 1 te dice cuál estás usando de los dos.
En wheezy con sysv sale esto:

  ps ax|awk '$1 == 1'
     1 ?        Ss     0:07 init [2]

Y si tienes jessie y cambiaste el menú de grub para usar systemd
te saldrá /bin/systemd. Pero si instalaste systemd-sysv para que systemd
sea tu único sistema de inicio y quitaste la línea extra del menú de
grub te volverá a salir init.

¿Puede pasar qué tenga los dos?
Puedes tener los dos instalados pero solamente funcionará uno de ellos
cada vez que arranques. Igual que pasa con el núcleo.

Si es así, ¿eso es bueno, o debería eliminar uno de los dos? ¿Cuál
de ellos?
Igual que cuando tienes varios núcleos instalados, no interfieren
entre sí. Así que en principio no hace falta borrar ninguno ni el
sistema va a funcionar mejor por quitar el que no estés usando.


Hola Santiago.

Gracias por contestar,

Realice esa comprobaciones, sale en inglés, que no es mi fuerte.

En consola:

Pongo: dpkg -s systemd:
root@debianPapa:/home/eb8cxw# dpkg -s systemd
Package: systemd
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 4711
Maintainer: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Architecture: i386
Version: 204-8
Depends: libacl1 (>= 2.2.51-8), libaudit1 (>= 1:2.2.1), libc6 (>= 2.17), libcap2 (>= 2.10), libcryptsetup4 (>= 2:1.4.3), libdbus-1-3 (>= 1.1.1), libgcrypt11 (>= 1.5.1), libkmod2 (>= 5~), liblzma5 (>= 5.1.1alpha+20120614), libpam0g (>= 0.99.7.1), libselinux1 (>= 2.1.9), libsystemd-daemon0 (= 204-8), libsystemd-journal0 (= 204-8), libudev1 (>= 189), libwrap0 (>= 7.6-4~), libsystemd-login0 (= 204-8), util-linux (>= 2.19.1-2), initscripts (>= 2.88dsf-17), sysv-rc, udev, acl, adduser, libcap2-bin
Recommends: libpam-systemd
Suggests: systemd-ui
Breaks: lsb-base (<< 4.1+Debian4), lvm2 (<< 2.02.84-1)
Conflicts: klogd
Conffiles:
 /etc/systemd/system.conf 77af11f0ff6fcfeecf42a388f0808543
 /etc/systemd/user.conf ffdaa50f9889dd58d14ce2b8ff60e054
 /etc/systemd/journald.conf 15383d428b7e569fd61805d1e0e8a1eb
 /etc/systemd/bootchart.conf 4ec372c0e2ad1039d5c4e809bc47e498
 /etc/systemd/logind.conf 24cc087eb0d0ac88d097c1b96420a999
/etc/dbus-1/system.d/org.freedesktop.systemd1.conf 2cf2ec0f7b56318a785aff6efc8ca332 /etc/dbus-1/system.d/org.freedesktop.hostname1.conf f55c94d000b5d62b5f06d38852977dd1 /etc/dbus-1/system.d/org.freedesktop.locale1.conf 5893ab03e7e96aa3759baceb4dd04190 /etc/dbus-1/system.d/org.freedesktop.timedate1.conf 682369fbf3de26b21e775732c89a2bbe /etc/dbus-1/system.d/org.freedesktop.login1.conf dad9f3cbe8feac9d6ae686a1da816b56
Description: system and service manager
 systemd is a replacement for sysvinit.  It is dependency-based and
 able to read the LSB init script headers in addition to parsing rcN.d
 links as hints.
 .
 It also provides process supervision using cgroups and the ability to
 not only depend on other init script being started, but also
 availability of a given mount point or dbus service.
Homepage: http://www.freedesktop.org/wiki/Software/systemd
root@debianPapa:/home/eb8cxw#


Pongo: dpkg -s sysvinit:
root@debianPapa:/home/eb8cxw# dpkg -s sysvinit
Package: sysvinit
Essential: yes
Status: install ok installed
Priority: required
Section: admin
Installed-Size: 80
Maintainer: Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>
Architecture: i386
Version: 2.88dsf-53
Pre-Depends: sysvinit-core | upstart | systemd-sysv
Description: System-V-like init utilities - metapackage
 This package is an essential metapackage which allows you to select from
 three available init systems in Debian (sysvinit, upstart, systemd) while
 ensuring that one of these is available on the system at all times.
Homepage: http://savannah.nongnu.org/projects/sysvinit
root@debianPapa:/home/eb8cxw#

Como lo ves, gracias

--
Un saludo,
José Manuel
Gran Canaria/España

Si vas a escribir.. piensa en esto:
no digas nada que no sea mas precioso que el silencio!!!


Reply to: