Hallo,
ich bin gerade umgestiegen von ubuntu und richte im Moment mein System ein. Dabei habe ich jetzt folgendes Problem das ich nicht gelöst bekomme.
Ich hab in der fstab ein paar CIFS Freigaben von meiner NAS Platte eingetragen. Manche mit auto mount und ein paar mit noauto. Dies ist meiner Meinung nach auch richtig eingetragen da zum einen es seither unter ubuntu ja auch funktioniert hat und zum anderen der mount über
sudo mount -a
auch funktioniert.
Es ist jetzt aber so das mein “normaler” User das nicht darf. Nach der Anmeldung am System sind die Pfade in der fstab nicht gemountet und wenn ich über Dolphin draufklick erhalte ich die Meldung das es nur root darf.
Dies hat in meinem bisherigen System immer wunderbar funktioniert.
Was ist hier bei suse anders? Was ist zu beachten?
Eigentlich solltest du ja vom Dolphin eine Fehlermeldung bekommen haben, die erklärt warum es nicht geht, oder?
Jedenfalls bekomme ich hier folgendes, wenn ich eine Share als Benutzer manuell mounten will:
:~> mount /media/myshare
This program is not installed setuid root - "user" CIFS mounts not supported.
Also auf deutsch: CIFS mounts als Benutzer sind nicht möglich, weil das Programm /sbin/mount.cifs aus Sicherheitsgründen nicht das SUID root flag gesetzt hat, das ihm die notwendigen root-Rechte zum Mounten gibt.
Sh. auch:
Abhilfe kann jetzt sein, das s bit zu setzen (und die damit verbundenen Sicherheitsrisiken in Kauf zu nehmen):
sudo chmod +s /sbin/mount.cifs
Dann sollte es eigentlich funktionieren.
Um diese Änderung permanent zu machen, solltest du folgende Zeile zu /etc/permissions.local hinzufügen:
/sbin/mount.cifs root:root 4755
Du könntest aber auch z.B. smb4k nehmen um deine Shares zu mounten.
Das kann Shares auch automatisch beim Login (als Benutzer) mounten.
In dem Fall würde ich aber die Version von [noparse]KDE:Extra[/noparse] empfehlen, die ist neuer als die die standardmäßig dabei ist. http://software.opensuse.org/package/smb4k
Hi Wolfi,
ich sah die Dolphin Meldung, aber wenn man nicht Experte ist fangt man leider oft nichts damit an. Ich hatte dann recherchiert und zumindest gesehen das dass Paket cfis-utils installiert ist. Das war z.B. in ubuntu manuell nötig damit es funktioniert. Vermutlich setzt ubuntu dann tatsächlich das s-bit standardmäßig.
Vielen Dank für Deine ausführliche Erklärung. Das hilft mir extrem weiter und schon wieder was gelernt
Ich werde jetzt mal recherchieren welche Sicherheitsbedenken es in dem s-bit Fall so gibt und mir auch mal Deinen smb4k Vorschlag anschauen und danach entscheiden was ich mache. Hoffentlich klappt es dann auch.
Wäre es auch noch eine Alternative das man mit visudo arbeitet? Kann man da nicht sagen das der Standarduser z.B. den mount Befehl ausführen darf? Oder kommt das hier nicht in Frage?
Vermutlich.
Ich persönlich würde das mögliche Sicherheitsrisiko allerdings als nicht sehr hoch einschätzen…
Wäre es auch noch eine Alternative das man mit visudo arbeitet? Kann man da nicht sagen das der Standarduser z.B. den mount Befehl ausführen darf? Oder kommt das hier nicht in Frage?
Natürlich kannst du auch “sudo” zum Mounten verwenden.
sudo mount /media/myDS_music
sollte funktionieren.
Und mit “visudo” könntest du sudo so konfigurieren, dass dein Benutzer (oder auch alle) für diesen Befehl kein Passwort benötigen.
Also ich hab jetzt mal das s bit gesetzt. Das mounten über Dolphin klappt, aber nur bei den FSTAB Einträgen bei denen “noauto” definiert ist.
Meine “auto” Einträgen, die also sofort beim Start gemountet werden sollen, klappen nicht. Bei denen habe ich jetzt das “auto” in der FSTAB weggelassen da es anscheinend nicht nötig ist da dies als Standard definiert ist sofern nicht noauto eingetragen ist.
Bevor ich also mit den Mounts arbeiten möchte muss ich entweder über die Shell kurz mounten oder Dolphin aufmachen und auf den “mount” klicken, dann wird gemountet, auch die “auto” mounts. Vorher kann ich z.B. ein Dokument auf dem Desktop das in dem mount liegt nicht öffnen.
Wirklich komisch das es hier so ein Problem ist, hat auf meiner seitherigen Linux Distro gut funktioniert.
Vielleicht muss ich doch smb4k verwenden.
Mal eine grundsätzliche Frage. Ich möchte ja auf eine Synology NAS mounten mit einem EXT4 Filesystem und auch z.B. NFS ist dort möglich. Sollte ich dann nicht tatsächlich NFS mounts verwenden? CIF oder SMB wären doch eher auf Windows Shares…
Aber an sich sollte es von Haus aus möglich sein, die Shares in der fstab zu mounten, auch ohne das s flag (das wird ja sowieso als root gemacht).
Ich kann mir nur vorstellen, dass zu dem Zeitpunkt wo die Shares gemountet werden noch keine Netzwerkverbindung aufgebaut ist.
Du solltest die Mount-Option “_netdev” bei den Shares setzen, damit das System weiß, dass ein Netzwerk nötig ist.
Sh. “man mount”:
**_netdev**
The filesystem resides on a device that requires network access
(used to prevent the system from attempting to mount these
filesystems until the network has been enabled on the system).
(das ist übrigens nicht openSUSE spezifisch… )
Außerdem ist noch die Frage, wie die Netzwerkverbindung aufgebaut wird.
Eine Benutzerverbindung mit NetworkManager wird erst aufgebaut, wenn der entsprechende Benutzer einloggt. Das ist natürlich viel zu spät für die fstab.
In dem Fall entweder die Verbindung auf “Systemverbindung” umstellen (in KDE’s NetworkManager-Plasmoid, “Verbindungen verwalten”), oder in YaST->Netwerkgeräte->Netzwerkeinstellungen “Traditionelle Methode mittels ifup” aktivieren.
Mal eine grundsätzliche Frage. Ich möchte ja auf eine Synology NAS mounten mit einem EXT4 Filesystem und auch z.B. NFS ist dort möglich. Sollte ich dann nicht tatsächlich NFS mounts verwenden? CIF oder SMB wären doch eher auf Windows Shares…
Sicher, wäre auch eine Möglichkeit.
Aber mit NFS mounts kenne ich mich überhaupt nicht aus. Hab NFS noch nie verwendet…
Hi,
danke für Deine Tipps. Mich wundert das schon das Ganze.
Ich dachte auch die fstap wird unter Root gemacht und zwar schon ziemlich bald jedoch aber nachdem die Netzverbindung steht. Ich hab erst gedacht es liegt am WLAN, hab das dann aber auch mal mit Kabel versucht ohne Unterschied.
Gut ich hab jetzt halt den Zustand das ich erst Dolphin aufmachen muss und mit einem Klick kann ich dann mounten.
Ich bleib aber dran und versuch das mal weiter zu untersuchen. Kurz hab ich mal nach dem _netdev geschaut. Ich werde das mal testen aber ich glaub mount.cifs kennt die Option nicht, zumindest laut man mount.cifs.
Ich denke ich teste dann auch mal die Tipps von hier.
Da ich hauptsächlich am WLAN hänge könnte es wohl so sein das einfach noch nicht die Verbindung besteht. In dem Link wird beschrieben wie man ein “Systemweites Automount” hinbekommt…
“_netdev” ist eine globale Mount-Option, nicht von einzelnen Dateisystemen. (und sie ist in “man mount” gelistet, wie ich geschrieben habe)
Wie gesagt, das teilt mount (oder systemd) mit, dass ein Netzwerk benötigt wird.
Gerade mit systemd wird alles parallel gestartet (und das mounten sowieso ziemlich früh, das System braucht ja seine Dateien…), da kann es leicht sein dass das Netwerk noch nicht da ist.
Was glaubst du denn, warum es diese Option gibt?
Bzgl. deinem Link:
Bei Ubuntu mags vielleicht (noch) ohne gehen, die verwenden ja auch (noch) upstart um das System zu starten.
Es ist aber auf jeden Fall Glücksache obs geht oder nicht, wenn die Option nicht angegeben ist.
Jedenfalls ist diese Option dazu da, netzwerkbasierte Mounts zu kennzeichnen, also benutze sie auch!
Da ich hauptsächlich am WLAN hänge könnte es wohl so sein das einfach noch nicht die Verbindung besteht.
Dann nehme ich an du verwendest NetworkManager.
Du solltest also auf jeden Fall die Verbindung zu einer “Systemverbindung” machen, sonst wird sie erst aufgebaut wenn KDE gestartet wird, die Sachen in fstab werden aber schon viel früher gemountet wie gesagt. http://wstaw.org/m/2014/07/06/nm.png
Hi,
also zusammenfassend hab ich jetzt folgendes gemacht:
NetworkManager WLAN auf „Systemverbindung“ gesetzt (macht auf jedenfall Sinn damit es frühstmöglichst verbunden wird, danke!)
SUID Bit gesetzt damit vom User ohne Root gemountet werden kann. Ist lt. ubuntu wiki wohl zwingend nötig.
chmod +s /sbin/mount.cifs
visudo Eintrag vorgenommen damit ohne Passwortabfrage gemountet werden kann
*username* ALL = NOPASSWD: /usr/bin/mount
*username* ALL = NOPASSWD: /usr/bin/umount
Über “Systemeinstellungen”, „Starten und Beenden“ ein Startscript mit “sudo mount -a” erstellt.
Jetzt funktioniert es wie gewünscht. Meine “auto” Mounts sind sofort nach der KDE Anmeldung gemounted und die “noauto” werden automatisch gemounted sobald ich z.B. im Dolphin darauf klicke.
Ich hatte das zuerst ohne Punkt 4 und stattdessen in der fstab die “_netdev” Option gesetzt wie von Dir vorgeschlagen, hat aber leider dann nicht geklappt das nach der Anmeldung gemoundet war.
Ähem, das ist doch vollkommen unnötig.
Wenn du das s bit setzt (chmod +s /sbin/mount.cifs), kannst du sowieso als beliebiger User Shares mounten. Dann brauchst du ja kein sudo.
Über “Systemeinstellungen”, „Starten und Beenden“ ein Startscript mit “sudo mount -a” erstellt.
Ok, ist ein Workaround, das sudo sollte aber nicht notwendig sein, wenn du “user” in der fstab setzt.
Ich hatte das zuerst ohne Punkt 4 und stattdessen in der fstab die “_netdev” Option gesetzt wie von Dir vorgeschlagen, hat aber leider dann nicht geklappt das nach der Anmeldung gemoundet war.
Also bei mir funktioniert das einwandfrei, dass Shares beim Booten gemountet werden.
Aber wenn dein Workaround mit “mount -a” funktioniert ists ja auch ok, würde ich sagen…
Eine Idee, warums evtl. nicht klappt:
Du hast die Option “credentials=/home/mabox/.myDS_smbcredentials”, ich nehme an auch bei den “auto”-Mounts.
Evtl. ist die /home Partition zu dem Zeitpunkt noch nicht gemountet?
Wenn du das näher untersuchen willst, wäre ein Blick in die Logfiles sinnvoll, oder ein “systemctl status name_des_mounts”.
Sh. auch “systemctl --failed” um die fehlgeschlagenen Dienste zu listen, da sollten auch deine Mounts aufscheinen.
Aber wie gesagt, wenn du mit dem Workaround zufrieden bist, ists auch ok.
Also das ist komisch. Denn ich habe das SUID gesetzt aber wenn ich mount -a mache bekomme ich die Meldung dennoch:
mount: only root can use "--all" option
Wobei ich denke gerade das ich vermutlich den mount direkt angeben muss und nicht über -a.
Stimmt, das mit der /home leuchtet mir ein, evtl. ist die noch nicht verfügbar. Also der Workaround ist für mich in Ordnung, dennoch würde ich trotzdem den Fall weiter untersuchen wollen damit ich es verstehe und was lerne
In welchen Logfiles müsste ich genau schauen? Der Befehl systemctl status … klappt bei mir nicht. Vermutlich gebe ich den auch einfach falsch ein.
Ja, richtig. Für “mount -a” braucht man root-Rechte. Nur ein spezifischer mount geht auch als User, wenn mount.xxx das s Bit gesetzt und der entsprechende fstab-Eintrag die “user” Mountoption angegeben hat.
Daran hab ich nicht gedacht als ich antwortete, tschuldigung.
Stimmt, das mit der /home leuchtet mir ein, evtl. ist die noch nicht verfügbar. Also der Workaround ist für mich in Ordnung, dennoch würde ich trotzdem den Fall weiter untersuchen wollen damit ich es verstehe und was lerne
In welchen Logfiles müsste ich genau schauen?
Tja, da bin ich mir im Moment auch nicht ganz sicher.
Entweder /var/log/messages, /var/log/boot.log, oder “journalctl -bx” (als root) sollten was zutage bringen.
Oder eben “systemctl status”.
Werd mal selber versuchen so einen misslungenen Mount zu provozieren, aber das wird eine Weile dauern…
Der Befehl systemctl status … klappt bei mir nicht. Vermutlich gebe ich den auch einfach falsch ein.
Was hast du denn eingegeben?
“name_des_mounts” musst du natürlich korrekt angeben.
Z.B. meine Windows-Platte (hab jetzt hier momentan keine Share in der fstab):
:~> sudo systemctl status windows-C.mount
windows-C.mount - /windows/C
Loaded: loaded (/etc/fstab)
Active: active (mounted) since Mon 2014-07-07 08:29:47 CEST; 1 day 7h ago
Where: /windows/C
What: /dev/sdb1
Process: 557 ExecMount=/bin/mount /dev/sdb1 /windows/C -t ntfs-3g (code=exited, status=0/SUCCESS)
CGroup: /system.slice/windows-C.mount
└─561 /sbin/mount.ntfs-3g /dev/sdb1 /windows/C -o rw
Jul 07 08:29:46 amiga systemd[1]: windows-C.mount: Directory /windows/C to ...y.
Jul 07 08:29:47 amiga systemd[1]: Mounted /windows/C.
Jul 07 08:29:47 amiga ntfs-3g[561]: Version 2013.1.13 external FUSE 29
Jul 07 08:29:47 amiga ntfs-3g[561]: Mounted /dev/sdb1 (Read-Write, label ""...1)
Jul 07 08:29:47 amiga ntfs-3g[561]: Cmdline options: rw
Jul 07 08:29:47 amiga ntfs-3g[561]: Mount options: rw,allow_other,nonempty,...96
Jul 07 08:29:47 amiga ntfs-3g[561]: Ownership and permissions disabled, con... 1
Hint: Some lines were ellipsized, use -l to show in full.
“sudo systemctl status /windows/C” (also der Mount-Punkt) geht aber genauso. Um die vollständigen Meldungen zu bekommen braucht man root-Rechte (deshalb das sudo), und die Option “-l” kann sinnvoll sein, damit die Meldungen nicht abgekürzt werden, sh. den entsprechenden Hint in der Ausgabe.
Natürlich solltest du vorher das “sudo mount -a” entfernen, sonst sind die Mounts ja erfolgreich.
Als Test, obs an der credential-Datei bzw. dem evtl. nicht vorhandenen /home liegt, könntest du die Datei aber auch einfach mal irgendwohin auf die / Partition kopieren (z.B. / direkt) und den fstab-Eintrag entsprechend ändern.
Hallo,
wow genial Deine ausführliche Hilfe, vielen vielen Dank.
Also den systemctl status mountname Befehl hab ich jetzt hinbekommen. War dumm, den Mountnamen sollte man natürlich schon richtig schreiben
Ansonsten habe ich mir jetzt mal das boot.log durchgeschaut. Dort ist ja schon aufgelistet was alles wären des Booten passiert. Also der Mount von /home passiert schon vorher, daher sollten meine Credentials geladen sein.
Als nächstes folgt dann irgendwann der Networkmanager (WLAN denke ich) und erst ziemlich zum Schluß versucht er meine fstab Mounts zu mounten. Diese schlagen dann fehl. Soweit ich das interpretiere liegt es schon am Netzwerk bzw. das Remote Filesystem ist vermutlich noch nicht bereit.
Welcome to openSUSE 13.1 (Bottle) (x86_64)!
Starting Replay Read-Ahead Data...
Starting Collect Read-Ahead Data...
OK ] Listening on Syslog Socket.
OK ] Reached target System Time Synchronized.
OK ] Reached target Network is Online.
OK ] Listening on Delayed Shutdown Socket.
OK ] Listening on /dev/initctl Compatibility Named Pipe.
OK ] Listening on LVM2 metadata daemon socket.
OK ] Reached target Encrypted Volumes.
OK ] Listening on udev Kernel Socket.
OK ] Listening on udev Control Socket.
OK ] Set up automount Arbitrary Executable File Formats File System Automount Point.
OK ] Listening on Journal Socket.
Starting LSB: Set default boot entry if called...
Mounting POSIX Message Queue File System...
Mounting Debug File System...
Starting Create list of required static device nodes for the current kernel...
Mounting Huge Pages File System...
Starting Create dynamic rule for /dev/root link...
Starting Journal Service...
OK ] Started Journal Service.
Expecting device dev-vg0-lvswap.device...
Expecting device dev-disk-by\x2did-ata\x2dST1000LM024_HN\x2dM101MBB_S2TTJ9BCA02465\x2dpart2.device...
Expecting device dev-vg0-lvhome.device...
Expecting device dev-vg0-lvopt.device...
Expecting device dev-vg0-lvvarlog.device...
Expecting device dev-vg0-lvvar.device...
Expecting device dev-vg0-lvvartmp.device...
Expecting device dev-disk-by\x2duuid-92b73c66\x2d6e2c\x2d4348\x2d97e1\x2d30aa3d7df2db.device...
OK ] Created slice Root Slice.
OK ] Created slice User and Session Slice.
OK ] Created slice System Slice.
OK ] Created slice system-getty.slice.
OK ] Reached target Slices.
OK ] Started Collect Read-Ahead Data.
OK ] Started Replay Read-Ahead Data.
OK ] Mounted POSIX Message Queue File System.
OK ] Mounted Debug File System.
OK ] Mounted Huge Pages File System.
Starting Setup Virtual Console...
Starting Load Kernel Modules...
Starting File System Check on Root Device...
systemd-fsck[429]: /dev/mapper/vg0-lvroot: clean, 239180/786432 files, 1630251/3145728 blocks
OK ] Started LSB: Set default boot entry if called.
OK ] Started Create dynamic rule for /dev/root link.
OK ] Started Create list of required static device nodes for the current kernel.
OK ] Started Setup Virtual Console.
OK ] Started Load Kernel Modules.
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
Starting Create static device nodes in /dev...
OK ] Started udev Coldplug all Devices.
Starting Show Plymouth Boot Screen...
OK ] Started Apply Kernel Variables.
OK ] Started File System Check on Root Device.
Starting Remount Root and Kernel File Systems...
OK ] Started Remount Root and Kernel File Systems.
OK ] Started Create static device nodes in /dev.
Starting udev Kernel Device Manager...
OK ] Reached target Local File Systems (Pre).
OK ] Started udev Kernel Device Manager.
OK ] Started Show Plymouth Boot Screen.
OK ] Reached target Sound Card.
OK ] Found device /dev/vg0/lvvarlog.
Starting File System Check on /dev/vg0/lvvarlog...
OK ] Found device /dev/disk/by-uuid/92b73c66-6e2c-4348-97e1-30aa3d7df2db.
Mounting /virtualbox...
Starting LVM2 metadata daemon...
OK ] Started LVM2 metadata daemon.
OK ] Found device /dev/vg0/lvswap.
Activating swap /dev/vg0/lvswap...
OK ] Found device /dev/vg0/lvvartmp.
Starting File System Check on /dev/vg0/lvvartmp...
OK ] Found device /dev/vg0/lvopt.
Starting File System Check on /dev/vg0/lvopt...
OK ] Activated swap /dev/vg0/lvswap.
OK ] Reached target Swap.
OK ] Found device /dev/vg0/lvhome.
Starting File System Check on /dev/vg0/lvhome...
systemd-fsck[705]: /dev/mapper/vg0-lvvartmp: clean, 140/65536 files, 66868/262144 blocks
OK ] Found device ST1000LM024_HN-M101MBB.
Mounting /boot/efi...
OK ] Started File System Check on /dev/vg0/lvvartmp.
systemd-fsck[712]: /dev/mapper/vg0-lvhome: clean, 5862/3276800 files, 775703/13107200 blocks
OK ] Started File System Check on /dev/vg0/lvhome.
Mounting /home...
OK ] Mounted /virtualbox.
OK ] Mounted /boot/efi.
systemd-fsck[669]: /dev/mapper/vg0-lvvarlog: clean, 82/65536 files, 22371/262144 blocks
OK ] Found device /dev/vg0/lvvar.
Starting File System Check on /dev/vg0/lvvar...
OK ] Started File System Check on /dev/vg0/lvvarlog.
systemd-fsck[708]: /dev/mapper/vg0-lvopt: clean, 3106/131072 files, 124741/524288 blocks
OK ] Started File System Check on /dev/vg0/lvopt.
Mounting /opt...
OK ] Mounted /home.
systemd-fsck[736]: /dev/mapper/vg0-lvvar: clean, 1873/131072 files, 134065/524288 blocks
OK ] Started File System Check on /dev/vg0/lvvar.
Mounting /var...
OK ] Mounted /opt.
OK ] Mounted /var.
Starting Load/Save Screen Backlight Brightness of acpi_video0...
Starting Load/Save Screen Backlight Brightness of acpi_video1...
Mounting /var/tmp...
Mounting /var/log...
Starting Load/Save Random Seed...
Mounting Runtime Directory...
Mounting Lock Directory...
OK ] Mounted Runtime Directory.
OK ] Mounted Lock Directory.
OK ] Started Load/Save Random Seed.
OK ] Mounted /var/tmp.
OK ] Mounted /var/log.
OK ] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Recreate Volatile Files and Directories...
OK ] Started Load/Save Screen Backlight Brightness of acpi_video0.
OK ] Started Load/Save Screen Backlight Brightness of acpi_video1.
OK ] Started Tell Plymouth To Write Out Runtime Data.
OK ] Started Recreate Volatile Files and Directories.
Starting LSB: AppArmor initialization...
Starting Update UTMP about System Reboot/Shutdown...
OK ] Started Update UTMP about System Reboot/Shutdown.
OK ] Started LSB: AppArmor initialization.
OK ] Reached target System Initialization.
OK ] Listening on RPCbind Server Activation Socket.
OK ] Reached target RPC Port Mapper.
OK ] Listening on CUPS Printing Service Sockets.
OK ] Listening on PC/SC Smart Card Daemon Activation Socket.
OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
OK ] Reached target Paths.
OK ] Listening on D-Bus System Message Bus Socket.
OK ] Reached target Sockets.
OK ] Reached target Timers.
Starting Restore Sound Card State...
OK ] Reached target Basic System.
Starting D-Bus System Message Bus...
OK ] Started D-Bus System Message Bus.
Starting LSB: VirtualBox Linux kernel module...
Starting Avahi mDNS/DNS-SD Stack...
Starting Name Service Cache Daemon...
OK ] Started Name Service Cache Daemon.
Starting Modem Manager...
Starting System Logging Service...
Starting WPA Supplicant daemon...
Starting RPC Bind...
Starting Login Service...
Starting SuSEfirewall2 phase 1...
OK ] Started System Logging Service.
OK ] Started Avahi mDNS/DNS-SD Stack.
OK ] Started WPA Supplicant daemon.
OK ] Started Login Service.
Starting Authorization Manager...
OK ] Started Restore Sound Card State.
OK ] Started SuSEfirewall2 phase 1.
Starting Network Manager...
OK ] Started RPC Bind.
OK ] Started Authorization Manager.
OK ] Started Modem Manager.
OK ] Started Network Manager.
OK ] Reached target Network.
Starting LSB: NFS client services...
Starting OpenSSH Daemon...
Starting /etc/init.d/boot.local Compatibility...
OK ] Reached target Host and Network Name Lookups.
Starting TeamViewer remote control daemon...
Starting Network Manager Script Dispatcher Service...
OK ] Started OpenSSH Daemon.
OK ] Started /etc/init.d/boot.local Compatibility.
OK ] Started Network Manager Script Dispatcher Service.
Starting Bluetooth service...
OK ] Started Bluetooth service.
Starting Hostname Service...
OK ] Started Hostname Service.
OK ] Started LSB: NFS client services.
OK ] Reached target Remote File Systems (Pre).
Mounting /media/myDS_Download...
Mounting /media/myDS_homes...
Starting SuSEfirewall2 phase 2...
OK ] Started SuSEfirewall2 phase 2.
OK ] Started LSB: VirtualBox Linux kernel module.
Starting LSB: VirtualBox autostart service...
Starting LSB: VirtualBox watchdog daemon...
Starting LSB: VirtualBox web service API...
OK ] Started LSB: VirtualBox autostart service.
OK ] Started LSB: VirtualBox watchdog daemon.
OK ] Started LSB: VirtualBox web service API.
[FAILED] Failed to mount /media/myDS_Download.
See 'systemctl status media-myDS_Download.mount' for details.
[DEPEND] Dependency failed for Remote File Systems.
[DEPEND] Dependency failed for Postfix Mail Transport Agent.
[FAILED] Failed to mount /media/myDS_homes.
See 'systemctl status media-myDS_homes.mount' for details.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Command Scheduler...
OK ] Started Command Scheduler.
OK ] Started Trigger Flushing of Journal to Persistent Storage.
Starting Permit User Sessions...
OK ] Started Permit User Sessions.
Starting LSB: X Display Manager...
Starting Getty on tty1...
OK ] Started Getty on tty1.
OK ] Reached target Login Prompts.
Starting /etc/init.d/after.local Compatibility...
OK ] Started /etc/init.d/after.local Compatibility.
OK ] Reached target Multi-User System.
OK ] Started LSB: X Display Manager.
Mein kleines “Startscript” bei der Anmeldung funktioniert anschließend auf jedenfall und mounted mir meine zwei “auto” mounts
Ok. Systemd trennt also eh die Remote Filesystems von den Local Filesystems, wie man an deinem Boot-Log erkennt.
Und scheinbar erkennt er auch ohne _netdev korrekt, dass die Share Mounts ein Netzwerk brauchen, also Remote Filesystems sind.
Das wusste ich bis jetzt nicht.
Dann hab ich jetzt auch was gelernt…
“mount -a” kann das aber nicht soweit ich weiß, daher war beim sysvinit “_netdev” erforderlich.
Als nächstes folgt dann irgendwann der Networkmanager (WLAN denke ich) und erst ziemlich zum Schluß versucht er meine fstab Mounts zu mounten. Diese schlagen dann fehl. Soweit ich das interpretiere liegt es schon am Netzwerk bzw. das Remote Filesystem ist vermutlich noch nicht bereit.
Das Remote Filesystem sind ja die Shares.
Deutet die Ausgabe von “systemctl status” auf eine fehlende Netzwerkverbindung hin?
Da fällt mir ein, NetworkManager meldet ja sofort “gestartet”, um den Boot zu beschleunigen. Es wird standardmäßig nicht darauf gewartet, dass die Netwerkverbindung(en) tatsächlich aufgebaut sind.
Vielleicht braucht die WLAN-Verbindung zu lange bis sie steht, und ist noch nicht verfügbar wenn gemountet wird.
Probier mal die Option NM_ONLINE_TIMEOUT in /etc/sysconfig/network/config auf einen passenden Wert zu setzen.
Dann sollte es eigentlich klappen.
Der NetworkManager-wait-online.service muss aber natürlich auch “enabled” sein, das sollte aber standardmäßig so sein.
Mein kleines “Startscript” bei der Anmeldung funktioniert anschließend auf jedenfall und mounted mir meine zwei “auto” mounts
Ja. Da gibts dann die Netzwerkverbindung scheinbar schon.
Aber die fehlgeschlagenen Mounts während des Bootens verhindern auch den Start von postfix, wie man in deinem Boot-Log sieht. postfix.service benötigt nämlich remote-fs.target.
Falls wir das nicht hinbekommen, solltest du vielleicht die Mounts zu “noauto” machen, und dann explizit in deinem Script mounten (sind ja eh nur 2). Dann brauchst du auch kein “sudo”…
Hi,
also hier mal ein paar Ergebnisse. Anfangen tue ich nochmal mit dem boot.log von zuvor:
Versuch 1:
SUID gesetzt auf /sbin/mount.cifs
visudo Eintrag für meinen User damit er den mount Befehl darf ohne Passwortabfrage
Startscript nach der Anmeldung mit “sudo mount -a”
boot.log
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
Trying manual resume from /dev/vg0/lvswap
Invoking userspace resume from /dev/vg0/lvswap
resume: libgcrypt version: 1.5.3
Trying manual resume from /dev/vg0/lvswap
Invoking in-kernel resume from /dev/vg0/lvswap
Waiting for device /dev/mapper/vg0-lvroot to appear: ok
fsck from util-linux 2.23.2
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/mapper/vg0-lvroot
/dev/mapper/vg0-lvroot: clean, 239182/786432 files, 1630506/3145728 blocks
fsck succeeded. Mounting root device read-only.
Mounting root /dev/mapper/vg0-lvroot
mount -o ro,acl,user_xattr -t ext4 /dev/mapper/vg0-lvroot /root
Welcome to [0;32mopenSUSE 13.1 (Bottle) (x86_64)[0m!
Starting Replay Read-Ahead Data...
Starting Collect Read-Ahead Data...
[[32m OK [0m] Listening on Syslog Socket.
[32m OK [0m] Reached target System Time Synchronized.
[32m OK [0m] Reached target Network is Online.
[32m OK [0m] Listening on Delayed Shutdown Socket.
[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe.
[32m OK [0m] Listening on LVM2 metadata daemon socket.
[32m OK [0m] Reached target Encrypted Volumes.
[32m OK [0m] Listening on udev Kernel Socket.
[32m OK [0m] Listening on udev Control Socket.
[32m OK [0m] Set up automount Arbitrary Executable File Formats File System Automount Point.
[32m OK [0m] Listening on Journal Socket.
Starting LSB: Set default boot entry if called...
Mounting POSIX Message Queue File System...
Mounting Debug File System...
Starting Create list of required static device nodes for the current kernel...
Mounting Huge Pages File System...
Starting Create dynamic rule for /dev/root link...
Starting Journal Service...
[32m OK [0m] Started Journal Service.
Expecting device dev-vg0-lvswap.device...
Expecting device dev-disk-by\x2did-ata\x2dST1000LM024_HN\x2dM101MBB_S2TTJ9BCA02465\x2dpart2.device...
Expecting device dev-vg0-lvhome.device...
Expecting device dev-vg0-lvopt.device...
Expecting device dev-vg0-lvvarlog.device...
Expecting device dev-vg0-lvvar.device...
Expecting device dev-vg0-lvvartmp.device...
Expecting device dev-disk-by\x2duuid-92b73c66\x2d6e2c\x2d4348\x2d97e1\x2d30aa3d7df2db.device...
[32m OK [0m] Created slice Root Slice.
[32m OK [0m] Created slice User and Session Slice.
[32m OK [0m] Created slice System Slice.
[32m OK [0m] Created slice system-getty.slice.
[32m OK [0m] Reached target Slices.
[32m OK [0m] Started Collect Read-Ahead Data.
[32m OK [0m] Started Replay Read-Ahead Data.
[32m OK [0m] Mounted POSIX Message Queue File System.
[32m OK [0m] Mounted Debug File System.
[32m OK [0m] Mounted Huge Pages File System.
Starting Setup Virtual Console...
Starting Load Kernel Modules...
Starting File System Check on Root Device...
%Gsystemd-fsck[416]: /dev/mapper/vg0-lvroot: clean, 239182/786432 files, 1630506/3145728 blocks
[32m OK [0m] Started LSB: Set default boot entry if called.
[32m OK [0m] Started Create dynamic rule for /dev/root link.
[32m OK [0m] Started Create list of required static device nodes for the current kernel.
[32m OK [0m] Started Setup Virtual Console.
[32m OK [0m] Started Load Kernel Modules.
[32m OK [0m] Started File System Check on Root Device.
Starting Remount Root and Kernel File Systems...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
Starting Create static device nodes in /dev...
[32m OK [0m] Started Apply Kernel Variables.
[32m OK [0m] Started udev Coldplug all Devices.
Starting Show Plymouth Boot Screen...
[32m OK [0m] Started Create static device nodes in /dev.
Starting udev Kernel Device Manager...
[32m OK [0m] Started Remount Root and Kernel File Systems.
[32m OK [0m] Reached target Local File Systems (Pre).
[32m OK [0m] Started udev Kernel Device Manager.
[32m OK [0m] Started Show Plymouth Boot Screen.
[32m OK [0m] Reached target Sound Card.
[32m OK [0m] Found device /dev/vg0/lvhome.
Starting File System Check on /dev/vg0/lvhome...
[32m OK [0m] Found device /dev/disk/by-uuid/92b73c66-6e2c-4348-97e1-30aa3d7df2db.
Mounting /virtualbox...
[32m OK [0m] Found device /dev/vg0/lvvartmp.
Starting File System Check on /dev/vg0/lvvartmp...
Starting LVM2 metadata daemon...
[32m OK [0m] Started LVM2 metadata daemon.
[32m OK [0m] Found device /dev/vg0/lvvar.
Starting File System Check on /dev/vg0/lvvar...
[32m OK [0m] Found device /dev/vg0/lvswap.
Activating swap /dev/vg0/lvswap...
[32m OK [0m] Activated swap /dev/vg0/lvswap.
[32m OK [0m] Reached target Swap.
[32m OK [0m] Mounted /virtualbox.
[32m OK [0m] Found device ST1000LM024_HN-M101MBB.
Mounting /boot/efi...
systemd-fsck[679]: /dev/mapper/vg0-lvvartmp: clean, 148/65536 files, 66896/262144 blocks
[32m OK [0m] Found device /dev/vg0/lvopt.
Starting File System Check on /dev/vg0/lvopt...
[32m OK [0m] Mounted /boot/efi.
[32m OK [0m] Found device /dev/vg0/lvvarlog.
Starting File System Check on /dev/vg0/lvvarlog...
[32m OK [0m] Started File System Check on /dev/vg0/lvvartmp.
systemd-fsck[705]: /dev/mapper/vg0-lvvar: clean, 1880/131072 files, 144395/524288 blocks
[32m OK [0m] Started File System Check on /dev/vg0/lvvar.
Mounting /var...
systemd-fsck[728]: /dev/mapper/vg0-lvvarlog: clean, 83/65536 files, 21630/262144 blocks
systemd-fsck[668]: /dev/mapper/vg0-lvhome: clean, 6145/3276800 files, 1411858/13107200 blocks
[32m OK [0m] Mounted /var.
Starting Load/Save Screen Backlight Brightness of acpi_video1...
Starting Load/Save Screen Backlight Brightness of acpi_video0...
Mounting /var/tmp...
Starting Load/Save Random Seed...
Mounting Runtime Directory...
Mounting Lock Directory...
[32m OK [0m] Mounted Runtime Directory.
[32m OK [0m] Started File System Check on /dev/vg0/lvhome.
[32m OK [0m] Started File System Check on /dev/vg0/lvvarlog.
[32m OK [0m] Mounted Lock Directory.
Mounting /var/log...
Mounting /home...
[32m OK [0m] Mounted /var/tmp.
[32m OK [0m] Started Load/Save Random Seed.
[32m OK [0m] Mounted /home.
[32m OK [0m] Mounted /var/log.
systemd-fsck[720]: /dev/mapper/vg0-lvopt: clean, 3106/131072 files, 124760/524288 blocks
[32m OK [0m] Started Load/Save Screen Backlight Brightness of acpi_video1.
[32m OK [0m] Started Load/Save Screen Backlight Brightness of acpi_video0.
[32m OK [0m] Started File System Check on /dev/vg0/lvopt.
Mounting /opt...
[32m OK [0m] Mounted /opt.
[32m OK [0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Recreate Volatile Files and Directories...
[32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[32m OK [0m] Started Recreate Volatile Files and Directories.
Starting LSB: AppArmor initialization...
Starting Update UTMP about System Reboot/Shutdown...
[32m OK [0m] Started Update UTMP about System Reboot/Shutdown.
[32m OK [0m] Started LSB: AppArmor initialization.
[32m OK [0m] Reached target System Initialization.
[32m OK [0m] Listening on RPCbind Server Activation Socket.
[32m OK [0m] Reached target RPC Port Mapper.
[32m OK [0m] Listening on CUPS Printing Service Sockets.
[32m OK [0m] Listening on PC/SC Smart Card Daemon Activation Socket.
[32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[32m OK [0m] Reached target Paths.
[32m OK [0m] Listening on D-Bus System Message Bus Socket.
[32m OK [0m] Reached target Sockets.
[32m OK [0m] Reached target Timers.
Starting Restore Sound Card State...
[32m OK [0m] Reached target Basic System.
Starting D-Bus System Message Bus...
[32m OK [0m] Started D-Bus System Message Bus.
Starting LSB: VirtualBox Linux kernel module...
Starting Avahi mDNS/DNS-SD Stack...
Starting Name Service Cache Daemon...
[32m OK [0m] Started Name Service Cache Daemon.
Starting Modem Manager...
Starting System Logging Service...
Starting WPA Supplicant daemon...
Starting RPC Bind...
Starting Login Service...
Starting SuSEfirewall2 phase 1...
[32m OK [0m] Started System Logging Service.
[32m OK [0m] Started WPA Supplicant daemon.
[32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
[32m OK [0m] Started Login Service.
Starting Authorization Manager...
[32m OK [0m] Started Restore Sound Card State.
[32m OK [0m] Started Authorization Manager.
[32m OK [0m] Started Modem Manager.
[32m OK [0m] Started RPC Bind.
[32m OK [0m] Started SuSEfirewall2 phase 1.
Starting Network Manager...
[32m OK [0m] Started Network Manager.
[32m OK [0m] Reached target Network.
Starting LSB: NFS client services...
Starting OpenSSH Daemon...
Starting /etc/init.d/boot.local Compatibility...
[32m OK [0m] Reached target Host and Network Name Lookups.
Starting TeamViewer remote control daemon...
Starting Network Manager Script Dispatcher Service...
[32m OK [0m] Started /etc/init.d/boot.local Compatibility.
[32m OK [0m] Started OpenSSH Daemon.
[32m OK [0m] Started Network Manager Script Dispatcher Service.
Starting Bluetooth service...
[32m OK [0m] Started Bluetooth service.
Starting Hostname Service...
[32m OK [0m] Started Hostname Service.
[32m OK [0m] Started LSB: VirtualBox Linux kernel module.
[32m OK [0m] Started LSB: NFS client services.
[32m OK [0m] Reached target Remote File Systems (Pre).
Mounting /media/myDS_Download...
Mounting /media/myDS_homes...
Starting SuSEfirewall2 phase 2...
Starting LSB: VirtualBox autostart service...
Starting LSB: VirtualBox watchdog daemon...
Starting LSB: VirtualBox web service API...
[32m OK [0m] Started LSB: VirtualBox autostart service.
[32m OK [0m] Started LSB: VirtualBox watchdog daemon.
[32m OK [0m] Started LSB: VirtualBox web service API.
[32m OK [0m] Started SuSEfirewall2 phase 2.
[1;31mFAILED[0m] Failed to mount /media/myDS_Download.
See 'systemctl status media-myDS_Download.mount' for details.
[1;33mDEPEND[0m] Dependency failed for Remote File Systems.
[1;33mDEPEND[0m] Dependency failed for Postfix Mail Transport Agent.
[1;31mFAILED[0m] Failed to mount /media/myDS_homes.
See 'systemctl status media-myDS_homes.mount' for details.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Command Scheduler...
[32m OK [0m] Started Command Scheduler.
[32m OK [0m] Started Trigger Flushing of Journal to Persistent Storage.
Starting Permit User Sessions...
[32m OK [0m] Started Permit User Sessions.
Starting LSB: X Display Manager...
Starting Getty on tty1...
[32m OK [0m] Started Getty on tty1.
[32m OK [0m] Reached target Login Prompts.
Starting /etc/init.d/after.local Compatibility...
[32m OK [0m] Started /etc/init.d/after.local Compatibility.
[32m OK [0m] Reached target Multi-User System.
[32m OK [0m] Started LSB: X Display Manager.
Systemctl status mountname sagt folgendes:
Status mount:
media-myDS_homes.mount - /media/myDS_homes
Loaded: loaded (/etc/fstab)
Active: active (mounted) (Result: exit-code) since Mi 2014-07-09 17:23:08 CEST; 38s ago
Where: /media/myDS_homes
What: //192.168.1.73/homes
Process: 1168 ExecMount=/bin/mount //192.168.1.73/homes /media/myDS_homes -t cifs -o user,uid=1000,credentials=/home/mabo/.myDS_smbcredentials (code=exited, status=32)
… da ich leider anscheinend über die maximale Anzahl an Zeichen für einen Beitrag komme muss ich hier unterbrechen und meine weiteren Versuche extra posten…
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
Trying manual resume from /dev/vg0/lvswap
Invoking userspace resume from /dev/vg0/lvswap
resume: libgcrypt version: 1.5.3
Trying manual resume from /dev/vg0/lvswap
Invoking in-kernel resume from /dev/vg0/lvswap
Waiting for device /dev/mapper/vg0-lvroot to appear: ok
fsck from util-linux 2.23.2
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/mapper/vg0-lvroot
/dev/mapper/vg0-lvroot: clean, 239183/786432 files, 1630522/3145728 blocks
fsck succeeded. Mounting root device read-only.
Mounting root /dev/mapper/vg0-lvroot
mount -o ro,acl,user_xattr -t ext4 /dev/mapper/vg0-lvroot /root
Welcome to [0;32mopenSUSE 13.1 (Bottle) (x86_64)[0m!
Starting Replay Read-Ahead Data...
Starting Collect Read-Ahead Data...
[[32m OK [0m] Listening on Syslog Socket.
[32m OK [0m] Reached target System Time Synchronized.
[32m OK [0m] Reached target Network is Online.
[32m OK [0m] Listening on Delayed Shutdown Socket.
[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe.
[32m OK [0m] Listening on LVM2 metadata daemon socket.
[32m OK [0m] Reached target Encrypted Volumes.
[32m OK [0m] Listening on udev Kernel Socket.
[32m OK [0m] Listening on udev Control Socket.
[32m OK [0m] Set up automount Arbitrary Executable File Formats File System Automount Point.
[32m OK [0m] Listening on Journal Socket.
Starting LSB: Set default boot entry if called...
Mounting POSIX Message Queue File System...
Mounting Debug File System...
Starting Create list of required static device nodes for the current kernel...
Mounting Huge Pages File System...
Starting Create dynamic rule for /dev/root link...
Starting Journal Service...
[32m OK [0m] Started Journal Service.
Expecting device dev-vg0-lvswap.device...
Expecting device dev-disk-by\x2did-ata\x2dST1000LM024_HN\x2dM101MBB_S2TTJ9BCA02465\x2dpart2.device...
Expecting device dev-vg0-lvhome.device...
Expecting device dev-vg0-lvopt.device...
Expecting device dev-vg0-lvvarlog.device...
Expecting device dev-vg0-lvvar.device...
Expecting device dev-vg0-lvvartmp.device...
Expecting device dev-disk-by\x2duuid-92b73c66\x2d6e2c\x2d4348\x2d97e1\x2d30aa3d7df2db.device...
[32m OK [0m] Created slice Root Slice.
[32m OK [0m] Created slice User and Session Slice.
[32m OK [0m] Created slice System Slice.
[32m OK [0m] Created slice system-getty.slice.
[32m OK [0m] Reached target Slices.
[32m OK [0m] Started Collect Read-Ahead Data.
[32m OK [0m] Started Replay Read-Ahead Data.
Starting Setup Virtual Console...
%G Starting Load Kernel Modules...
Starting File System Check on Root Device...
[32m OK [0m] Mounted POSIX Message Queue File System.
[32m OK [0m] Mounted Debug File System.
[32m OK [0m] Mounted Huge Pages File System.
[32m OK [0m] Started Load Kernel Modules.
[32m OK [0m] Started Create list of required static device nodes for the current kernel.
Starting Create static device nodes in /dev...
Starting Apply Kernel Variables...
[32m OK [0m] Started Setup Virtual Console.
Starting udev Coldplug all Devices...
[32m OK [0m] Started udev Coldplug all Devices.
Starting Show Plymouth Boot Screen...
[32m OK [0m] Started Create dynamic rule for /dev/root link.
[32m OK [0m] Started Apply Kernel Variables.
[32m OK [0m] Started LSB: Set default boot entry if called.
[32m OK [0m] Started Create static device nodes in /dev.
Starting udev Kernel Device Manager...
[32m OK [0m] Started udev Kernel Device Manager.
systemd-fsck[417]: /dev/mapper/vg0-lvroot: clean, 239183/786432 files, 1630522/3145728 blocks
[32m OK [0m] Started File System Check on Root Device.
Starting Remount Root and Kernel File Systems...
[32m OK [0m] Started Remount Root and Kernel File Systems.
[32m OK [0m] Reached target Local File Systems (Pre).
[32m OK [0m] Started Show Plymouth Boot Screen.
[32m OK [0m] Reached target Sound Card.
Starting Show Plymouth Boot Screen...
[32m OK [0m] Started Show Plymouth Boot Screen.
Starting LVM2 metadata daemon...
[32m OK [0m] Started LVM2 metadata daemon.
[32m OK [0m] Found device /dev/disk/by-uuid/92b73c66-6e2c-4348-97e1-30aa3d7df2db.
Mounting /virtualbox...
[32m OK [0m] Found device /dev/vg0/lvopt.
Starting File System Check on /dev/vg0/lvopt...
[32m OK [0m] Found device /dev/vg0/lvvar.
Starting File System Check on /dev/vg0/lvvar...
[32m OK [0m] Found device /dev/vg0/lvvartmp.
Starting File System Check on /dev/vg0/lvvartmp...
[32m OK [0m] Found device /dev/vg0/lvhome.
Starting File System Check on /dev/vg0/lvhome...
[32m OK [0m] Mounted /virtualbox.
[32m OK [0m] Found device /dev/vg0/lvswap.
Activating swap /dev/vg0/lvswap...
[32m OK [0m] Found device ST1000LM024_HN-M101MBB.
Mounting /boot/efi...
systemd-fsck[732]: /dev/mapper/vg0-lvhome: clean, 6213/3276800 files, 1415257/13107200 blocks
systemd-fsck[726]: /dev/mapper/vg0-lvvar: clean, 1881/131072 files, 154592/524288 blocks
[32m OK [0m] Activated swap /dev/vg0/lvswap.
[32m OK [0m] Reached target Swap.
[32m OK [0m] Mounted /boot/efi.
[32m OK [0m] Found device /dev/vg0/lvvarlog.
Starting File System Check on /dev/vg0/lvvarlog...
systemd-fsck[706]: /dev/mapper/vg0-lvopt: clean, 3106/131072 files, 124758/524288 blocks
[32m OK [0m] Started File System Check on /dev/vg0/lvopt.
[32m OK [0m] Started File System Check on /dev/vg0/lvvar.
[32m OK [0m] Started File System Check on /dev/vg0/lvhome.
Mounting /home...
Mounting /var...
Mounting /opt...
systemd-fsck[752]: /dev/mapper/vg0-lvvarlog: clean, 83/65536 files, 22019/262144 blocks
[32m OK [0m] Mounted /var.
Starting Load/Save Screen Backlight Brightness of acpi_video0...
Starting Load/Save Screen Backlight Brightness of acpi_video1...
Starting Load/Save Random Seed...
Mounting Runtime Directory...
Mounting Lock Directory...
[32m OK [0m] Mounted /opt.
[32m OK [0m] Mounted Runtime Directory.
[32m OK [0m] Started File System Check on /dev/vg0/lvvarlog.
[32m OK [0m] Mounted Lock Directory.
Mounting /var/log...
[32m OK [0m] Mounted /home.
systemd-fsck[729]: /dev/mapper/vg0-lvvartmp: clean, 148/65536 files, 66894/262144 blocks
[32m OK [0m] Mounted /var/log.
[32m OK [0m] Started Load/Save Screen Backlight Brightness of acpi_video0.
[32m OK [0m] Started File System Check on /dev/vg0/lvvartmp.
Mounting /var/tmp...
[32m OK [0m] Started Load/Save Random Seed.
[32m OK [0m] Started Load/Save Screen Backlight Brightness of acpi_video1.
[32m OK [0m] Mounted /var/tmp.
[32m OK [0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Recreate Volatile Files and Directories...
[32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[32m OK [0m] Started Recreate Volatile Files and Directories.
Starting LSB: AppArmor initialization...
Starting Update UTMP about System Reboot/Shutdown...
[32m OK [0m] Started Update UTMP about System Reboot/Shutdown.
[32m OK [0m] Started LSB: AppArmor initialization.
[32m OK [0m] Reached target System Initialization.
[32m OK [0m] Listening on RPCbind Server Activation Socket.
[32m OK [0m] Reached target RPC Port Mapper.
[32m OK [0m] Listening on CUPS Printing Service Sockets.
[32m OK [0m] Listening on PC/SC Smart Card Daemon Activation Socket.
[32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[32m OK [0m] Reached target Paths.
[32m OK [0m] Listening on D-Bus System Message Bus Socket.
[32m OK [0m] Reached target Sockets.
[32m OK [0m] Reached target Timers.
Starting Restore Sound Card State...
[32m OK [0m] Reached target Basic System.
Starting Bluetooth service...
Starting D-Bus System Message Bus...
[32m OK [0m] Started D-Bus System Message Bus.
Starting LSB: VirtualBox Linux kernel module...
Starting Avahi mDNS/DNS-SD Stack...
Starting Name Service Cache Daemon...
[32m OK [0m] Started Name Service Cache Daemon.
Starting Modem Manager...
Starting System Logging Service...
Starting WPA Supplicant daemon...
Starting RPC Bind...
Starting Login Service...
Starting SuSEfirewall2 phase 1...
[32m OK [0m] Started System Logging Service.
[32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
[32m OK [0m] Started Bluetooth service.
[32m OK [0m] Reached target Bluetooth.
[32m OK [0m] Stopped target Bluetooth.
[32m OK [0m] Started WPA Supplicant daemon.
[32m OK [0m] Started Login Service.
Starting Authorization Manager...
[32m OK [0m] Started Restore Sound Card State.
[32m OK [0m] Started RPC Bind.
Starting Hostname Service...
[32m OK [0m] Started Hostname Service.
[32m OK [0m] Started SuSEfirewall2 phase 1.
Starting Network Manager...
[32m OK [0m] Started Authorization Manager.
[32m OK [0m] Started Modem Manager.
[32m OK [0m] Started Network Manager.
[32m OK [0m] Reached target Network.
Starting LSB: NFS client services...
Starting OpenSSH Daemon...
Starting /etc/init.d/boot.local Compatibility...
[32m OK [0m] Reached target Host and Network Name Lookups.
Starting TeamViewer remote control daemon...
Starting Network Manager Script Dispatcher Service...
[32m OK [0m] Started OpenSSH Daemon.
[32m OK [0m] Started /etc/init.d/boot.local Compatibility.
[32m OK [0m] Started Network Manager Script Dispatcher Service.
[32m OK [0m] Started LSB: VirtualBox Linux kernel module.
Starting LSB: VirtualBox autostart service...
Starting LSB: VirtualBox watchdog daemon...
Starting LSB: VirtualBox web service API...
[32m OK [0m] Started LSB: NFS client services.
[32m OK [0m] Reached target Remote File Systems (Pre).
Mounting /media/myDS_Download...
Mounting /media/myDS_homes...
Starting SuSEfirewall2 phase 2...
[32m OK [0m] Started LSB: VirtualBox autostart service.
[32m OK [0m] Started LSB: VirtualBox watchdog daemon.
[32m OK [0m] Started LSB: VirtualBox web service API.
[1;31mFAILED[0m] Failed to mount /media/myDS_Download.
See 'systemctl status media-myDS_Download.mount' for details.
[1;33mDEPEND[0m] Dependency failed for Remote File Systems.
[1;33mDEPEND[0m] Dependency failed for Postfix Mail Transport Agent.
[1;31mFAILED[0m] Failed to mount /media/myDS_homes.
See 'systemctl status media-myDS_homes.mount' for details.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Command Scheduler...
[32m OK [0m] Started Command Scheduler.
[32m OK [0m] Started Trigger Flushing of Journal to Persistent Storage.
Starting Permit User Sessions...
[32m OK [0m] Started Permit User Sessions.
Starting LSB: X Display Manager...
Starting Getty on tty1...
[32m OK [0m] Started Getty on tty1.
[32m OK [0m] Reached target Login Prompts.
Starting /etc/init.d/after.local Compatibility...
[32m OK [0m] Started /etc/init.d/after.local Compatibility.
[32m OK [0m] Started TeamViewer remote control daemon.
[32m OK [0m] Started SuSEfirewall2 phase 2.
[32m OK [0m] Reached target Multi-User System.
[32m OK [0m] Started LSB: X Display Manager.
[32m OK [0m] Reached target Graphical Interface.
Systemctl status mountname sagt folgendes:
Status mount:
media-myDS_homes.mount - /media/myDS_homes
Loaded: loaded (/etc/fstab)
Active: failed (Result: exit-code) since Mi 2014-07-09 18:03:33 CEST; 52s ago
Where: /media/myDS_homes
What: //192.168.1.73/homes
Process: 1193 ExecMount=/bin/mount //192.168.1.73/homes /media/myDS_homes -t cifs -o user,uid=1000,credentials=/home/mabo/.myDS_smbcredentials (code=exited, status=32)
/etc/sysconfig/network/config: Wert auf 10 gesetzt bei “NM_ONLINE_TIMEOUT”
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
Trying manual resume from /dev/vg0/lvswap
Invoking userspace resume from /dev/vg0/lvswap
resume: libgcrypt version: 1.5.3
Trying manual resume from /dev/vg0/lvswap
Invoking in-kernel resume from /dev/vg0/lvswap
Waiting for device /dev/mapper/vg0-lvroot to appear: ok
fsck from util-linux 2.23.2
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/mapper/vg0-lvroot
/dev/mapper/vg0-lvroot: clean, 239184/786432 files, 1630535/3145728 blocks
fsck succeeded. Mounting root device read-only.
Mounting root /dev/mapper/vg0-lvroot
mount -o ro,acl,user_xattr -t ext4 /dev/mapper/vg0-lvroot /root
Welcome to [0;32mopenSUSE 13.1 (Bottle) (x86_64)[0m!
Starting Replay Read-Ahead Data...
Starting Collect Read-Ahead Data...
[[32m OK [0m] Listening on Syslog Socket.
[32m OK [0m] Reached target System Time Synchronized.
[32m OK [0m] Reached target Network is Online.
[32m OK [0m] Listening on Delayed Shutdown Socket.
[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe.
[32m OK [0m] Listening on LVM2 metadata daemon socket.
[32m OK [0m] Reached target Encrypted Volumes.
[32m OK [0m] Listening on udev Kernel Socket.
[32m OK [0m] Listening on udev Control Socket.
[32m OK [0m] Set up automount Arbitrary Executable File Formats File System Automount Point.
[32m OK [0m] Listening on Journal Socket.
Starting LSB: Set default boot entry if called...
Mounting POSIX Message Queue File System...
Mounting Debug File System...
Starting Create list of required static device nodes for the current kernel...
Mounting Huge Pages File System...
Starting Create dynamic rule for /dev/root link...
Starting Journal Service...
[32m OK [0m] Started Journal Service.
Expecting device dev-vg0-lvswap.device...
Expecting device dev-disk-by\x2did-ata\x2dST1000LM024_HN\x2dM101MBB_S2TTJ9BCA02465\x2dpart2.device...
Expecting device dev-vg0-lvhome.device...
Expecting device dev-vg0-lvopt.device...
Expecting device dev-vg0-lvvarlog.device...
Expecting device dev-vg0-lvvar.device...
Expecting device dev-vg0-lvvartmp.device...
Expecting device dev-disk-by\x2duuid-92b73c66\x2d6e2c\x2d4348\x2d97e1\x2d30aa3d7df2db.device...
[32m OK [0m] Created slice Root Slice.
[32m OK [0m] Created slice User and Session Slice.
[32m OK [0m] Created slice System Slice.
[32m OK [0m] Created slice system-getty.slice.
[32m OK [0m] Reached target Slices.
[32m OK [0m] Started Collect Read-Ahead Data.
[32m OK [0m] Started Replay Read-Ahead Data.
[32m OK [0m] Mounted POSIX Message Queue File System.
[32m OK [0m] Mounted Debug File System.
[32m OK [0m] Mounted Huge Pages File System.
Starting Setup Virtual Console...
%G Starting Load Kernel Modules...
Starting File System Check on Root Device...
systemd-fsck[419]: /dev/mapper/vg0-lvroot: clean, 239184/786432 files, 1630535/3145728 blocks
[32m OK [0m] Started Create dynamic rule for /dev/root link.
[32m OK [0m] Started Create list of required static device nodes for the current kernel.
[32m OK [0m] Started Setup Virtual Console.
[32m OK [0m] Started Load Kernel Modules.
[32m OK [0m] Started File System Check on Root Device.
Starting Remount Root and Kernel File Systems...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
Starting Create static device nodes in /dev...
[32m OK [0m] Started LSB: Set default boot entry if called.
[32m OK [0m] Started Apply Kernel Variables.
[32m OK [0m] Started udev Coldplug all Devices.
Starting Show Plymouth Boot Screen...
[32m OK [0m] Started Create static device nodes in /dev.
Starting udev Kernel Device Manager...
[32m OK [0m] Started udev Kernel Device Manager.
[32m OK [0m] Started Remount Root and Kernel File Systems.
[32m OK [0m] Reached target Local File Systems (Pre).
[32m OK [0m] Started Show Plymouth Boot Screen.
[32m OK [0m] Reached target Sound Card.
Starting Show Plymouth Boot Screen...
[32m OK [0m] Started Show Plymouth Boot Screen.
[32m OK [0m] Found device /dev/vg0/lvvartmp.
Starting File System Check on /dev/vg0/lvvartmp...
Starting LVM2 metadata daemon...
[32m OK [0m] Started LVM2 metadata daemon.
[32m OK [0m] Found device /dev/vg0/lvswap.
Activating swap /dev/vg0/lvswap...
[32m OK [0m] Found device /dev/vg0/lvopt.
Starting File System Check on /dev/vg0/lvopt...
[32m OK [0m] Activated swap /dev/vg0/lvswap.
[32m OK [0m] Reached target Swap.
[32m OK [0m] Found device /dev/vg0/lvvar.
Starting File System Check on /dev/vg0/lvvar...
[32m OK [0m] Found device ST1000LM024_HN-M101MBB.
Mounting /boot/efi...
[32m OK [0m] Mounted /boot/efi.
[32m OK [0m] Found device /dev/disk/by-uuid/92b73c66-6e2c-4348-97e1-30aa3d7df2db.
Mounting /virtualbox...
systemd-fsck[707]: /dev/mapper/vg0-lvvar: clean, 1881/131072 files, 154594/524288 blocks
[32m OK [0m] Started File System Check on /dev/vg0/lvvar.
Mounting /var...
systemd-fsck[693]: /dev/mapper/vg0-lvvartmp: clean, 148/65536 files, 66894/262144 blocks
[32m OK [0m] Started File System Check on /dev/vg0/lvvartmp.
[32m OK [0m] Found device /dev/vg0/lvhome.
Starting File System Check on /dev/vg0/lvhome...
[32m OK [0m] Mounted /virtualbox.
[32m OK [0m] Found device /dev/vg0/lvvarlog.
Starting File System Check on /dev/vg0/lvvarlog...
[32m OK [0m] Mounted /var.
Starting Load/Save Screen Backlight Brightness of acpi_video0...
Starting Load/Save Screen Backlight Brightness of acpi_video1...
Mounting /var/tmp...
Starting Load/Save Random Seed...
Mounting Runtime Directory...
Mounting Lock Directory...
[32m OK [0m] Mounted Runtime Directory.
[32m OK [0m] Mounted Lock Directory.
[32m OK [0m] Started Load/Save Screen Backlight Brightness of acpi_video1.
[32m OK [0m] Started Load/Save Random Seed.
[32m OK [0m] Started Load/Save Screen Backlight Brightness of acpi_video0.
[32m OK [0m] Mounted /var/tmp.
systemd-fsck[703]: /dev/mapper/vg0-lvopt: clean, 3106/131072 files, 124751/524288 blocks
systemd-fsck[744]: /dev/mapper/vg0-lvhome: clean, 6475/3276800 files, 1414189/13107200 blocks
[32m OK [0m] Started File System Check on /dev/vg0/lvopt.
[32m OK [0m] Started File System Check on /dev/vg0/lvhome.
Mounting /home...
Mounting /opt...
systemd-fsck[755]: /dev/mapper/vg0-lvvarlog: clean, 83/65536 files, 22237/262144 blocks
[32m OK [0m] Started File System Check on /dev/vg0/lvvarlog.
Mounting /var/log...
[32m OK [0m] Mounted /opt.
[32m OK [0m] Mounted /home.
[32m OK [0m] Mounted /var/log.
[32m OK [0m] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Recreate Volatile Files and Directories...
[32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[32m OK [0m] Started Recreate Volatile Files and Directories.
Starting LSB: AppArmor initialization...
Starting Update UTMP about System Reboot/Shutdown...
[32m OK [0m] Started Update UTMP about System Reboot/Shutdown.
[32m OK [0m] Started LSB: AppArmor initialization.
[32m OK [0m] Reached target System Initialization.
[32m OK [0m] Listening on RPCbind Server Activation Socket.
[32m OK [0m] Reached target RPC Port Mapper.
[32m OK [0m] Listening on CUPS Printing Service Sockets.
[32m OK [0m] Listening on PC/SC Smart Card Daemon Activation Socket.
[32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[32m OK [0m] Reached target Paths.
[32m OK [0m] Listening on D-Bus System Message Bus Socket.
[32m OK [0m] Reached target Sockets.
[32m OK [0m] Reached target Timers.
Starting Restore Sound Card State...
[32m OK [0m] Reached target Basic System.
Starting Bluetooth service...
Starting D-Bus System Message Bus...
[32m OK [0m] Started D-Bus System Message Bus.
Starting LSB: VirtualBox Linux kernel module...
Starting Avahi mDNS/DNS-SD Stack...
Starting Name Service Cache Daemon...
[32m OK [0m] Started Name Service Cache Daemon.
Starting Modem Manager...
Starting System Logging Service...
Starting WPA Supplicant daemon...
Starting RPC Bind...
Starting Login Service...
Starting SuSEfirewall2 phase 1...
[32m OK [0m] Started System Logging Service.
[32m OK [0m] Started SuSEfirewall2 phase 1.
Starting Network Manager...
[32m OK [0m] Started WPA Supplicant daemon.
[32m OK [0m] Started Avahi mDNS/DNS-SD Stack.
[32m OK [0m] Started Bluetooth service.
[32m OK [0m] Reached target Bluetooth.
[32m OK [0m] Stopped target Bluetooth.
[32m OK [0m] Started Login Service.
Starting Authorization Manager...
Starting Hostname Service...
[32m OK [0m] Started Hostname Service.
[32m OK [0m] Started Restore Sound Card State.
[32m OK [0m] Started Authorization Manager.
[32m OK [0m] Started Modem Manager.
[32m OK [0m] Started RPC Bind.
[32m OK [0m] Started Network Manager.
[32m OK [0m] Reached target Network.
Starting LSB: NFS client services...
Starting OpenSSH Daemon...
Starting /etc/init.d/boot.local Compatibility...
[32m OK [0m] Reached target Host and Network Name Lookups.
Starting TeamViewer remote control daemon...
Starting Network Manager Script Dispatcher Service...
[32m OK [0m] Started /etc/init.d/boot.local Compatibility.
[32m OK [0m] Started OpenSSH Daemon.
[32m OK [0m] Started Network Manager Script Dispatcher Service.
[32m OK [0m] Started LSB: NFS client services.
[32m OK [0m] Reached target Remote File Systems (Pre).
Mounting /media/myDS_Download...
Mounting /media/myDS_homes...
Starting SuSEfirewall2 phase 2...
[32m OK [0m] Started LSB: VirtualBox Linux kernel module.
Starting LSB: VirtualBox autostart service...
Starting LSB: VirtualBox watchdog daemon...
Starting LSB: VirtualBox web service API...
[32m OK [0m] Started LSB: VirtualBox autostart service.
[32m OK [0m] Started LSB: VirtualBox watchdog daemon.
[32m OK [0m] Started LSB: VirtualBox web service API.
[32m OK [0m] Started SuSEfirewall2 phase 2.
[1;31mFAILED[0m] Failed to mount /media/myDS_Download.
See 'systemctl status media-myDS_Download.mount' for details.
[1;33mDEPEND[0m] Dependency failed for Remote File Systems.
[1;33mDEPEND[0m] Dependency failed for Postfix Mail Transport Agent.
[1;31mFAILED[0m] Failed to mount /media/myDS_homes.
See 'systemctl status media-myDS_homes.mount' for details.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Command Scheduler...
[32m OK [0m] Started Command Scheduler.
[32m OK [0m] Started Trigger Flushing of Journal to Persistent Storage.
Starting Permit User Sessions...
[32m OK [0m] Started Permit User Sessions.
Starting LSB: X Display Manager...
Starting Getty on tty1...
[32m OK [0m] Started Getty on tty1.
[32m OK [0m] Reached target Login Prompts.
Starting /etc/init.d/after.local Compatibility...
[32m OK [0m] Started /etc/init.d/after.local Compatibility.
[32m OK [0m] Reached target Multi-User System.
[32m OK [0m] Started LSB: X Display Manager.
Systemctl status mountname sagt folgendes:
Status
media-myDS_homes.mount - /media/myDS_homes
Loaded: loaded (/etc/fstab)
Active: failed (Result: exit-code) since Mi 2014-07-09 18:49:19 CEST; 54s ago
Where: /media/myDS_homes
What: //192.168.1.73/homes
Process: 1164 ExecMount=/bin/mount //192.168.1.73/homes /media/myDS_homes -t cifs -o user,uid=1000,credentials=/home/mabo/.myDS_smbcredentials (code=exited, status=32)
Also das sieht doch eigentlich immer gleich aus oder? Bin mal gespannt was Du meinst.
Sollte das nicht hinauen müsste ich halt tatsächlich alles in der fstab auf “noauto” setzen und über mein Startscript mounten. Oder könnte ich da auch mit der rc.local Datei arbeiten und dort die Mountbefehle reinhauen? Oder macht das keinen Sinn?
Jetzt aber erstmal sehen was Du zu dem Output oben meinst.