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

Re: systemd : problème démarrage services au boot



On 09/09/2012 05:37 PM, Frederic MASSOT wrote:
Le 09/09/2012 16:44, maderios a écrit :
On 09/09/2012 03:53 PM, Frederic MASSOT wrote:
Le 09/09/2012 12:43, maderios a écrit :
Bonjour
J'ai installé systemd il y a quelques jours. Je suis obligé de
lancer le
réseau et cups à la main après chaque boot

Dans syslog
/sbin/ifup: failed to open statefile /run/network/ifstate: No such file
or directory

Tu as bien les dossiers "/run" ou "/run/network" ?

Oui

Est-ce que la commande mount retourne une ligne comme :

tmpfs on /run type tmpfs (rw,nosuid,relatime,size=409924k,mode=755)

mount -v ne retourne pas cela mais le truc habituel
mount: you didn't specify a filesystem type for /dev/sda4
I will try type ext4
/dev/sda4 on /mnt/sda4 type ext4 (rw)

La commande "mount" te retourne bien plusieurs lignes ?

Non seulement ceci Ex mount /dev/sda4  /mnt/sda4 -v
mount: you didn't specify a filesystem type for /dev/sda4
       I will try type ext4
/dev/sda4 on /mnt/sda4 type ext4 (rw)


Sur ce poste j'ai entre autres pour les pseudo systèmes de fichiers :

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)

Je n'ai pas de répertoire ou fichier "sysfs" dans sys
J'ai dans /sys les répertoires block bus class dev device firmware fs kernel module power

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
oui

udev on /dev type devtmpfs
(rw,relatime,size=10240k,nr_inodes=219573,mode=755)
je n'ai pas de répertoire ou fichier "udev" ou "devtmpfs" dans /dev


devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

J'ai /dev/pts 755

tmpfs on /run type tmpfs (rw,nosuid,relatime,size=409924k,mode=755)

Pas de tmpfs dans run

tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)

pas de tmpfs dans /dev/shm


A propos de /dev/tmpfs, je découvre dans ma conf de noyau

Symbol: DEVTMPFS_MOUNT [=n] │ Type : boolean │ Prompt: Automount devtmpfs at /dev, after the kernel mounted the rootfs │ │ Defined at drivers/base/Kconfig:44 │ Depends on: DEVTMPFS [=y] │ Location: │ -> Device Drivers │ -> Generic Driver Options │ -> Maintain a devtmpfs filesystem to mount at /dev (DEVTMPFS [=y])

CONFIG_DEVTMPFS_MOUNT:

LA DOC

│ This will instruct the kernel to automatically mount the │ devtmpfs filesystem at /dev, directly after the kernel has │ mounted the root filesystem. The behavior can be overridden │ with the commandline parameter: devtmpfs.mount=0|1. │ This option does not affect initramfs based booting, here │ the devtmpfs filesystem always needs to be mounted manually │ after the roots is mounted. │ With this option enabled, it allows to bring up a system in │ rescue mode with init=/bin/sh, even when the /dev directory
  │ on the rootfs is completely empty.

--
Maderios



Reply to: