Fstab pas monté ?

Bonjour,

J’essaye de monter une partition samba d’un serveur local au boot. En mount “manuel” (sudo mount -t smbfs …) tout se passe bien mais au boot, le mount ne se fait pas.

[code]/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda4 /home ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

//Debian/data /mnt/debian/data smbfs dmask=777,fmask=777 0 0
//Debian/partage /mnt/debian/www smbfs dmask=777,fmask=777 0 0
/dev/hda1 /mnt/windows ntfs nls=utf8,umask=0222 0 0
[/code]

Je précise également qu’un sudo mount -a monte le tout correctement après le boot. Pas de message particulier dans syslog/messages. Les //Debian/data et //Debian/partage sont ouverts à tous sur le serveur (par acquis de conscience, je vais tout de même jeter un coup d’oeil sur les logs samba mais je doute qu’il s’agisse d’un problème de droits).

A quel moment et sous quels UID (root?) fstab est-il monté?

Il faut peut être rajouter des credentials (user+password dans un fichier) ou ajouter des options username=,password=.
Si ça ne suffit pas, remplaces smbfs par cifs, et mets les options user=,password= pour voir.
C’est pour se connecter à une machine 2003, ou vista ?

sinon, j’avais pas vu que le problême concernait le montage auto.
Avec un petit mount -a dans le /etc/rc.local, ça devrait aller ?

Je n’ai pas mis l’historique de mes essais mais, oui, j’ai essayé sans plus de succès:

Mes log samba sont normaux. Pas de particularité. Mais il reste totalement muet lors du boot du client. (tail -f sur le log samba). Comme si fstab refusait de tenter un mount smbfs

[quote=“mattotop”]Si ça ne suffit pas, remplaces smbfs par cifs, et mets les options user=,password= pour voir.
C’est pour se connecter à une machine 2003, ou vista ?[/quote]

Non, c’est un serveur Debian de fichiers accessibles par des stations Windows et Debian. Les clients windows s’y connectent sans soucis, le client debian également sous gnome (Se connecter à un serveur etc…). Mais pas en fstab. J’en ai besoin pour l’exécution d’un script (sous Gnome) qui doit accéder au mnt. M’énerve parce-que ça je ne vois pas où regarder.

Pour cifs, je poste ce message, change fstab et reboot.

Pas plus de succès avec cifs. mount -a fonctionne correctement mais rien au boot. Il me vient une une idée, serait-il possible que les mount de Gnome mette le bordel dans les mount du boot?

Comment rebooter et d’éviter le chargement de gdm/gnome pour vérifier?

Edit: c’était pas ça. J’ai redémarré en single-user. Même problème. ??

mount -a dans /etc/rc.local ne donne rien non plus sauf un avertissement que tout est déjà monté (voir ligne en rouge ci-après). Cette ligne n’existait pas avant la modif du rc.local

Au cas où voici mon syslog du boot:

[quote]Jun 3 11:53:10 localhost syslogd 1.4.1#18: restart.
Jun 3 11:53:10 localhost kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jun 3 11:53:10 localhost kernel: Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12etch2) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed May 9 23:03:12 UTC 2007
Jun 3 11:53:10 localhost kernel: BIOS-provided physical RAM map:
Jun 3 11:53:10 localhost kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Jun 3 11:53:10 localhost kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Jun 3 11:53:10 localhost kernel: BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
Jun 3 11:53:10 localhost kernel: BIOS-e820: 0000000000100000 - 000000001ff40000 (usable)
Jun 3 11:53:10 localhost kernel: BIOS-e820: 000000001ff40000 - 000000001ff50000 (ACPI data)
Jun 3 11:53:10 localhost kernel: BIOS-e820: 000000001ff50000 - 0000000020000000 (ACPI NVS)
Jun 3 11:53:10 localhost kernel: 0MB HIGHMEM available.
Jun 3 11:53:10 localhost kernel: 511MB LOWMEM available.
Jun 3 11:53:10 localhost kernel: DMI 2.3 present.
Jun 3 11:53:10 localhost kernel: ACPI: PM-Timer IO Port: 0x408
Jun 3 11:53:10 localhost kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Jun 3 11:53:10 localhost kernel: Processor #0 15:2 APIC version 20
Jun 3 11:53:10 localhost kernel: ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
Jun 3 11:53:10 localhost kernel: IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
Jun 3 11:53:10 localhost kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
Jun 3 11:53:10 localhost kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Jun 3 11:53:10 localhost kernel: Enabling APIC mode: Flat. Using 1 I/O APICs
Jun 3 11:53:10 localhost kernel: Using ACPI (MADT) for SMP configuration information
Jun 3 11:53:10 localhost kernel: Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)
Jun 3 11:53:10 localhost kernel: Detected 1993.614 MHz processor.
Jun 3 11:53:10 localhost kernel: Built 1 zonelists. Total pages: 130880
Jun 3 11:53:10 localhost kernel: Kernel command line: root=/dev/hda2 ro
Jun 3 11:53:10 localhost kernel: Enabling fast FPU save and restore… done.
Jun 3 11:53:10 localhost kernel: Enabling unmasked SIMD FPU exception support… done.
Jun 3 11:53:10 localhost kernel: Initializing CPU#0
Jun 3 11:53:10 localhost kernel: PID hash table entries: 2048 (order: 11, 8192 bytes)
Jun 3 11:53:10 localhost kernel: Console: colour VGA+ 80x25
Jun 3 11:53:10 localhost kernel: Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Jun 3 11:53:10 localhost kernel: Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Jun 3 11:53:10 localhost kernel: Memory: 511408k/523520k available (1544k kernel code, 11588k reserved, 577k data, 196k init, 0k highmem)
Jun 3 11:53:10 localhost kernel: Checking if this processor honours the WP bit even in supervisor mode… Ok.
Jun 3 11:53:10 localhost kernel: Calibrating delay using timer specific routine… 3991.09 BogoMIPS (lpj=7982190)
Jun 3 11:53:10 localhost kernel: Security Framework v1.0.0 initialized
Jun 3 11:53:10 localhost kernel: SELinux: Disabled at boot.
Jun 3 11:53:10 localhost kernel: Capability LSM initialized
Jun 3 11:53:10 localhost kernel: Mount-cache hash table entries: 512
Jun 3 11:53:10 localhost kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Jun 3 11:53:10 localhost kernel: CPU: L2 cache: 512K
Jun 3 11:53:10 localhost kernel: CPU: Hyper-Threading is disabled
Jun 3 11:53:10 localhost kernel: Intel machine check architecture supported.
Jun 3 11:53:10 localhost kernel: Intel machine check reporting enabled on CPU#0.
Jun 3 11:53:10 localhost kernel: CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
Jun 3 11:53:10 localhost kernel: CPU0: Thermal monitoring enabled
Jun 3 11:53:10 localhost kernel: Compat vDSO mapped to ffffe000.
Jun 3 11:53:10 localhost kernel: Checking ‘hlt’ instruction… OK.
Jun 3 11:53:10 localhost kernel: SMP alternatives: switching to UP code
Jun 3 11:53:10 localhost kernel: Freeing SMP alternatives: 16k freed
Jun 3 11:53:10 localhost kernel: ACPI: Core revision 20060707
Jun 3 11:53:10 localhost kernel: CPU0: Intel® Pentium® 4 CPU 2.00GHz stepping 04
Jun 3 11:53:10 localhost kernel: Total of 1 processors activated (3991.09 BogoMIPS).
Jun 3 11:53:10 localhost kernel: ENABLING IO-APIC IRQs
Jun 3 11:53:10 localhost kernel: …TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Jun 3 11:53:10 localhost kernel: Brought up 1 CPUs
Jun 3 11:53:10 localhost kernel: migration_cost=0
Jun 3 11:53:10 localhost kernel: checking if image is initramfs… it is
Jun 3 11:53:10 localhost kernel: Freeing initrd memory: 4411k freed
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 16
Jun 3 11:53:10 localhost kernel: ACPI: bus type pci registered
Jun 3 11:53:10 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
Jun 3 11:53:10 localhost kernel: PCI: Using configuration type 1
Jun 3 11:53:10 localhost kernel: Setting up standard PCI resources
Jun 3 11:53:10 localhost kernel: ACPI: Interpreter enabled
Jun 3 11:53:10 localhost kernel: ACPI: Using IOAPIC for interrupt routing
Jun 3 11:53:10 localhost kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
Jun 3 11:53:10 localhost kernel: * The chipset may have PM-Timer Bug. Due to workarounds for a bug,
Jun 3 11:53:10 localhost kernel: * this clock source is slow. If you are sure your timer does not have
Jun 3 11:53:10 localhost kernel: * this bug, please use “acpi_pm_good” to disable the workaround
Jun 3 11:53:10 localhost kernel: PCI quirk: region 0400-047f claimed by ICH4 ACPI/GPIO/TCO
Jun 3 11:53:10 localhost kernel: PCI quirk: region 0480-04bf claimed by ICH4 GPIO
Jun 3 11:53:10 localhost kernel: PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Jun 3 11:53:10 localhost kernel: PCI: Transparent bridge - 0000:00:1e.0
Jun 3 11:53:10 localhost kernel: ACPI: Power Resource [URP1] (off)
Jun 3 11:53:10 localhost kernel: ACPI: Power Resource [FDDP] (off)
Jun 3 11:53:10 localhost kernel: ACPI: Power Resource [LPTP] (off)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12 14 15)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 7 9 10 11 12 14 15)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *9 10 11 12 14 15)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 7 9 10 11 12 14 15)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
Jun 3 11:53:10 localhost kernel: Linux Plug and Play Support v0.97 © Adam Belay
Jun 3 11:53:10 localhost kernel: pnp: PnP ACPI init
Jun 3 11:53:10 localhost kernel: pnp: PnP ACPI: found 13 devices
Jun 3 11:53:10 localhost kernel: PnPBIOS: Disabled by ACPI PNP
Jun 3 11:53:10 localhost kernel: PCI: Using ACPI for IRQ routing
Jun 3 11:53:10 localhost kernel: PCI: If a device doesn’t work, try “pci=routeirq”. If it helps, post a report
Jun 3 11:53:10 localhost kernel: pnp: 00:0b: ioport range 0x400-0x47f could not be reserved
Jun 3 11:53:10 localhost kernel: pnp: 00:0b: ioport range 0x680-0x6ff has been reserved
Jun 3 11:53:10 localhost kernel: pnp: 00:0b: ioport range 0x480-0x4bf has been reserved
Jun 3 11:53:10 localhost kernel: PCI: Bridge: 0000:00:01.0
Jun 3 11:53:10 localhost kernel: IO window: disabled.
Jun 3 11:53:10 localhost kernel: MEM window: fc900000-fe9fffff
Jun 3 11:53:10 localhost kernel: PREFETCH window: e4600000-f46fffff
Jun 3 11:53:10 localhost kernel: PCI: Bridge: 0000:00:1e.0
Jun 3 11:53:10 localhost kernel: IO window: d000-dfff
Jun 3 11:53:10 localhost kernel: MEM window: fea00000-feafffff
Jun 3 11:53:10 localhost kernel: PREFETCH window: f4700000-f47fffff
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 2
Jun 3 11:53:10 localhost kernel: IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
Jun 3 11:53:10 localhost kernel: TCP established hash table entries: 16384 (order: 5, 131072 bytes)
Jun 3 11:53:10 localhost kernel: TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
Jun 3 11:53:10 localhost kernel: TCP: Hash tables configured (established 16384 bind 8192)
Jun 3 11:53:10 localhost kernel: TCP reno registered
Jun 3 11:53:10 localhost kernel: audit: initializing netlink socket (disabled)
Jun 3 11:53:10 localhost kernel: audit(1180871539.976:1): initialized
Jun 3 11:53:10 localhost kernel: VFS: Disk quotas dquot_6.5.1
Jun 3 11:53:10 localhost kernel: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Jun 3 11:53:10 localhost kernel: Initializing Cryptographic API
Jun 3 11:53:10 localhost kernel: io scheduler noop registered
Jun 3 11:53:10 localhost kernel: io scheduler anticipatory registered
Jun 3 11:53:10 localhost kernel: io scheduler deadline registered
Jun 3 11:53:10 localhost kernel: io scheduler cfq registered (default)
Jun 3 11:53:10 localhost kernel: isapnp: Scanning for PnP cards…
Jun 3 11:53:10 localhost kernel: isapnp: No Plug & Play device found
Jun 3 11:53:10 localhost kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Jun 3 11:53:10 localhost kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Jun 3 11:53:10 localhost kernel: 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Jun 3 11:53:10 localhost kernel: RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Jun 3 11:53:10 localhost kernel: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
Jun 3 11:53:10 localhost kernel: PNP: PS/2 controller doesn’t have AUX irq; using default 12
Jun 3 11:53:10 localhost kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Jun 3 11:53:10 localhost kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Jun 3 11:53:10 localhost kernel: mice: PS/2 mouse device common for all mice
Jun 3 11:53:10 localhost kernel: TCP bic registered
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 1
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 17
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 8
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 20
Jun 3 11:53:10 localhost kernel: Using IPI No-Shortcut mode
Jun 3 11:53:10 localhost kernel: ACPI: (supports S0 S1 S3 S4 S5)
Jun 3 11:53:10 localhost kernel: Freeing unused kernel memory: 196k freed
Jun 3 11:53:10 localhost kernel: Time: tsc clocksource has been installed.
Jun 3 11:53:10 localhost kernel: ACPI: Processor [CPU1] (supports 8 throttling states)
Jun 3 11:53:10 localhost kernel: input: AT Translated Set 2 keyboard as /class/input/input0
Jun 3 11:53:10 localhost kernel: usbcore: registered new driver usbfs
Jun 3 11:53:10 localhost kernel: usbcore: registered new driver hub
Jun 3 11:53:10 localhost kernel: USB Universal Host Controller Interface driver v3.0
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.0: irq 169, io base 0x0000e800
Jun 3 11:53:10 localhost kernel: usb usb1: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: hub 1-0:1.0: USB hub found
Jun 3 11:53:10 localhost kernel: hub 1-0:1.0: 2 ports detected
Jun 3 11:53:10 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Jun 3 11:53:10 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jun 3 11:53:10 localhost kernel: dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 177
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.1: irq 177, io base 0x0000e880
Jun 3 11:53:10 localhost kernel: usb usb2: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: hub 2-0:1.0: USB hub found
Jun 3 11:53:10 localhost kernel: hub 2-0:1.0: 2 ports detected
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 185
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
Jun 3 11:53:10 localhost kernel: uhci_hcd 0000:00:1d.2: irq 185, io base 0x0000ec00
Jun 3 11:53:10 localhost kernel: usb usb3: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: hub 3-0:1.0: USB hub found
Jun 3 11:53:10 localhost kernel: hub 3-0:1.0: 2 ports detected
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 193
Jun 3 11:53:10 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Jun 3 11:53:10 localhost kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
Jun 3 11:53:10 localhost kernel: ehci_hcd 0000:00:1d.7: debug port 1
Jun 3 11:53:10 localhost kernel: ehci_hcd 0000:00:1d.7: irq 193, io mem 0xfebffc00
Jun 3 11:53:10 localhost kernel: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Jun 3 11:53:10 localhost kernel: usb usb4: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: hub 4-0:1.0: USB hub found
Jun 3 11:53:10 localhost kernel: hub 4-0:1.0: 6 ports detected
Jun 3 11:53:10 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 185
Jun 3 11:53:10 localhost kernel: eth0: Davicom DM9102 at pci0000:02:02.0, 00:08:a1:0b:26:28, irq 185.
Jun 3 11:53:10 localhost kernel: ICH4: IDE controller at PCI slot 0000:00:1f.1
Jun 3 11:53:10 localhost kernel: PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
Jun 3 11:53:10 localhost kernel: ICH4: chipset revision 1
Jun 3 11:53:10 localhost kernel: ICH4: not 100%% native mode: will probe irqs later
Jun 3 11:53:10 localhost kernel: ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
Jun 3 11:53:10 localhost kernel: ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Jun 3 11:53:10 localhost kernel: hda: Maxtor 6E040L0, ATA DISK drive
Jun 3 11:53:10 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 3
Jun 3 11:53:10 localhost kernel: usb 1-2: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jun 3 11:53:10 localhost kernel: usb 2-2: new full speed USB device using uhci_hcd and address 2
Jun 3 11:53:10 localhost kernel: usb 2-2: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: hub 2-2:1.0: USB hub found
Jun 3 11:53:10 localhost kernel: hub 2-2:1.0: 4 ports detected
Jun 3 11:53:10 localhost kernel: usb 2-2.2: new low speed USB device using uhci_hcd and address 3
Jun 3 11:53:10 localhost kernel: hdc: LITEON DVD-ROM LTD163, ATAPI CD/DVD-ROM drive
Jun 3 11:53:10 localhost kernel: usb 2-2.2: configuration #1 chosen from 1 choice
Jun 3 11:53:10 localhost kernel: usbcore: registered new driver hiddev
Jun 3 11:53:10 localhost kernel: input: Logitech Optical USB Mouse as /class/input/input1
Jun 3 11:53:10 localhost kernel: input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.1-2.2
Jun 3 11:53:10 localhost kernel: usbcore: registered new driver usbhid
Jun 3 11:53:10 localhost kernel: drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Jun 3 11:53:10 localhost kernel: hdd: _NEC CD-RW NR-9100A, ATAPI CD/DVD-ROM drive
Jun 3 11:53:10 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jun 3 11:53:10 localhost kernel: hda: max request size: 128KiB
Jun 3 11:53:10 localhost kernel: hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
Jun 3 11:53:10 localhost kernel: hda: cache flushes supported
Jun 3 11:53:10 localhost kernel: hda: hda1 hda2 hda3 < hda5 > hda4
Jun 3 11:53:10 localhost kernel: hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Jun 3 11:53:10 localhost kernel: Uniform CD-ROM driver Revision: 3.20
Jun 3 11:53:10 localhost kernel: hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Jun 3 11:53:10 localhost kernel: Attempting manual resume
Jun 3 11:53:10 localhost kernel: kjournald starting. Commit interval 5 seconds
Jun 3 11:53:10 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun 3 11:53:10 localhost kernel: ts: Compaq touchscreen protocol output
Jun 3 11:53:10 localhost kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Jun 3 11:53:10 localhost kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jun 3 11:53:10 localhost kernel: Linux agpgart interface v0.101 © Dave Jones
Jun 3 11:53:10 localhost kernel: agpgart: Detected an Intel i845 Chipset.
Jun 3 11:53:10 localhost kernel: agpgart: AGP aperture is 64M @ 0xf8000000
Jun 3 11:53:10 localhost kernel: input: PC Speaker as /class/input/input2
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 201
Jun 3 11:53:10 localhost kernel: parport: PnPBIOS parport detected.
Jun 3 11:53:10 localhost kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Jun 3 11:53:10 localhost kernel: parport0: Printer, HEWLETT-PACKARD DESKJET 970C
Jun 3 11:53:10 localhost kernel: Floppy drive(s): fd0 is 1.44M
Jun 3 11:53:10 localhost kernel: Real Time Clock Driver v1.12ac
Jun 3 11:53:10 localhost kernel: FDC 0 is a post-1991 82077
Jun 3 11:53:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 201
Jun 3 11:53:10 localhost kernel: intel8x0_measure_ac97_clock: measured 54072 usecs
Jun 3 11:53:10 localhost kernel: intel8x0: clocking to 48000
Jun 3 11:53:10 localhost kernel: Adding 473876k swap on /dev/hda5. Priority:-1 extents:1 across:473876k
Jun 3 11:53:10 localhost kernel: EXT3 FS on hda2, internal journal
Jun 3 11:53:10 localhost kernel: loop: loaded (max 8 devices)
Jun 3 11:53:10 localhost kernel: device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
Jun 3 11:53:10 localhost kernel: kjournald starting. Commit interval 5 seconds
Jun 3 11:53:10 localhost kernel: EXT3 FS on hda4, internal journal
Jun 3 11:53:10 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun 3 11:53:10 localhost kernel: NET: Registered protocol family 10
Jun 3 11:53:10 localhost kernel: lo: Disabled Privacy Extensions
Jun 3 11:53:10 localhost kernel: IPv6 over IPv4 tunneling driver
Jun 3 11:53:12 localhost hpiod: 1.6.10 accepting connections at 2208…
Jun 3 11:53:12 localhost if-up.d/mountnfs[eth0]: if-up.d/mountnfs[eth0]: lock /var/run/network/mountnfs exist, not mounting
Jun 3 11:53:14 localhost kernel: ACPI: Power Button (FF) [PWRF]
Jun 3 11:53:14 localhost kernel: ACPI: Sleep Button (CM) [SLPB]
Jun 3 11:53:14 localhost kernel: lp0: using parport0 (interrupt-driven).
Jun 3 11:53:14 localhost kernel: ppdev: user-space parallel port driver
Jun 3 11:53:20 localhost kernel: Installing knfsd (copyright © 1996 okir@monad.swb.de).
Jun 3 11:53:20 localhost kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 3 11:53:20 localhost kernel: NFSD: starting 90-second grace period
Jun 3 11:53:25 localhost kernel: nvidia: module license ‘NVIDIA’ taints kernel.
Jun 3 11:53:25 localhost kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
Jun 3 11:53:25 localhost kernel: NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8776 Mon Oct 16 21:56:04 PDT 2006
Jun 3 11:53:25 localhost kernel: agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Jun 3 11:53:25 localhost kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
Jun 3 11:53:25 localhost kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
Jun 3 11:53:40 localhost gconfd (-3226): démarrage (version 2.16.1), pid 3226 utilisateur « ***** »
Jun 3 11:53:40 localhost gconfd (
-3226): Adresse « xml:readonly:/etc/gconf/gconf.xml.mandatory » résolue vers une source de configuration en lecture seule à la position 0
Jun 3 11:53:40 localhost gconfd (-3226): Adresse « xml:readwrite:/home//.gconf » résolue vers une source de configuration accessible en écriture à la position 1
Jun 3 11:53:40 localhost gconfd (-3226): Adresse « xml:readonly:/etc/gconf/gconf.xml.defaults » résolue vers une source de configuration en lecture seule à la position 2
Jun 3 11:53:40 localhost gconfd (
-3226): Adresse « xml:readonly:/var/lib/gconf/debian.defaults » résolue vers une source de configuration en lecture seule à la position 3
Jun 3 11:53:40 localhost gconfd (-3226): Adresse « xml:readonly:/var/lib/gconf/defaults » résolue vers une source de configuration en lecture seule à la position 4
Jun 3 11:53:46 localhost gconfd (
-3226): Adresse « xml:readwrite:/home/*****/.gconf » résolue vers une source de configuration accessible en écriture à la position 0[/quote]

Bon, le topo:
[ul]
[li]un mount -a en shell après le boot fonctionne sans problème. Le fstab est donc bien exécuté.
[/li]
[li]Au boot, tout se monte correctement sauf les mount vers un nom de share samba.
[/li]
[li]mount -a dans /etc/rc.local se plante apparemment en raison d’un mot de passe (au halt, un message bref apparaît password … rc.local)
[/li]
[li]J’ai essayé de mettre un mount -a dans /etc/init.d/bootmisc.sh maisl là aussi, au boot, il me prompte pour le mdp root.
[/li]
[li]La seule solution qui marche c’est de faire le mount -a en cron root:

Tout ça ne me satisfait pas totalement. C’est une emplâtre sur une jambe de bois et j’aimerais savoir le pourquoi du comment. Y a-t-il une possibilité de loger tout ce qui se passe au boot autrement que se qui se met déjà dans le syslog? Le plus râlant c’est que je suis presque sûr que ça a fonctionné sur cette machine. Sa configuration logicielle a très peu changé - aux upgrade près. (ETCH)

Salut,

dmask=777,fmask=777

Ceci a pour signification qu’un fichier nouveau ne peut être ni lu ni écrit ni exécuté par personne.
Est-ce vraiment cela qui est recherché ?

Pour moi, fmask 777 donne les droits 777 à tout fichier créé sur le mnt. Et c’est apparemment ce qui se passe aussi.

et je ne vois pas en quoi ça serait lié au problême de mount.
Bon, ben pas d’idée supplémentaire pour résoudre le pb, , juste un autre contournement:
tu pourrais mettre tes mounts samba en autofs, et ils ne se monteraient que si tu y fais appel.
Non ?

autofs? Hum, ça m’a l’air intéressant ça. J’essayerai par curiosité. Merci pour la piste.

Au fait, dans gnome, lorsque l’on fait une connexion sur un share samba, il “monte” le share et, assez curieusement, ce mount n’apparaît pas dans la liste retournée par un $ mount. S’agit-il d’un pseudo mount? Utilise t-il smbclient?

Ça ressemble au principe d’autofs mais ça n’en est pas.