Re: F15, diskless node, systemctl start tmpfs.device timeout

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

 



Frantisek,

Thanks for your reply.

I tried to link the /lib/systemd/system/default.target to /lib/systemd/system/graphical.target, but the error same.

And you mentioned the swap, I don't know to enable it, could you give me a hint?

I also found the selinux was not installed on the diskless node. Then entry 'SELINUX=disabled' was configured in the /etc/sysconfig/selinux.

I found a way to workaround the starting of sshd.
I commented out the '. /etc/rc.d/init.d/functions' from the sshd control file: /etc/init.d/sshd. Then sshd was started successfully.


Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: wxp@xxxxxxxxxx
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193

Inactive hide details for Frantisek Hanzlik ---2011-09-05 21:11:35---Xiao Peng Wang wrote: > Hi,Frantisek Hanzlik ---2011-09-05 21:11:35---Xiao Peng Wang wrote: > Hi,

From: Frantisek Hanzlik <franta@xxxxxxxxxxx>
To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
Date: 2011-09-05 21:11
Subject: Re: F15, diskless node, systemctl start tmpfs.device timeout
Sent by: users-bounces@xxxxxxxxxxxxxxxxxxxxxxx





Xiao Peng Wang wrote:
> Hi,
>
>     I made a diskless image against Fedora15, during the boot I found it
>     displayed the following error message and went into emergency mode.
>
>     The error message:
>         Starting Relabel all filesystems, if necessary ^[[1;31maborted^[[0m
>         because a dependency failed.
>         [ 107.607155] systemd[1]: Job fedora-autorelabel.service/start failed
>         with result 'dependency'.
>         Starting Mark the need to relabel after reboot ^[[1;31maborted^[[0m
>         because a dependency failed.
>         [ 107.625156] systemd[1]: Job fedora-autorelabel-mark.service/start
>         failed with result 'dependency'.
>         [ 107.634580] systemd[1]: Job local-fs.target/start failed with result
>         'dependency'.
>         [ 107.642615] systemd[1]: Triggering _OnFailure_= dependencies of
>         local-fs.target.
>         [ 107.650738] systemd[1]: Job var-tmp.mount/start failed with result
>         'dependency'.
>         [ 107.658580] systemd[1]: Job fsck@tmpfs.service/start failed with
>         result 'dependency'.
>         [ 107.666876] systemd[1]: Job tmpfs.device/start failed with result
>         'timeout'.
>         Welcome to emergency mode. Use "systemctl default" or ^D to activate
>         default mode.
>
>     And when I run the command 'service sshd start' to start the sshd, it
>     displayed the following error message:
>         [ 8545.884404] udev[2872]: starting version 167
>         [ 8635.560123] systemd[1]: Job tmpfs.device/start timed out.
>         [ 8635.565867] systemd[1]: Job fedora-autorelabel.service/start failed
>         with result 'dependency'.
>         [ 8635.574812] systemd[1]: Job fedora-autorelabel-mark.service/start
>         failed with result 'dependency'.
>         [ 8635.584217] systemd[1]: Job local-fs.target/start failed with
>         result 'dependency'.
>         [ 8635.592203] systemd[1]: Triggering _OnFailure_= dependencies of
>         local-fs.target.
>         [ 8635.600311] systemd[1]: Job var-tmp.mount/start failed with result
>         'dependency'.
>         [ 8635.608102] systemd[1]: Job fsck@tmpfs.service/start failed with
>         result 'dependency'.
>         [ 8635.616355] systemd[1]: Job tmpfs.device/start failed with result
>         'timeout'.
>         Welcome to emergency mode. Use "systemctl default" or ^D to activate
>         default mode.
>     Then I tried to start the tmpfs.device
>         # systemctl start tmpfs.device
>             [432039.543362] systemd[1]: Job tmpfs.device/start timed out.
>             [432039.549335] systemdJob timed out.
>     Looks like the tmpfs.device was not installed. Did I miss something that
>     depended by system? Any comments are appreciated.
>
>
>
> Thanks
> Best Regards
> ----------------------------------------------------------------------
> Wang Xiaopeng (王晓朋)
> IBM China System Technology Laboratory
> Tel: 86-10-82453455
> Email: wxp@xxxxxxxxxx
> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian
> District Beijing P.R.China 100193 !DSPAM:4e6497a4108619485919262!

Emergency mode systemd target is equivalent to runlevel 1 singleuser
mode at SysV init system, thus probably network isn't active and sshd
refuses to run.

I'm not sure, but tmpfs (shm fs) need active swap, which probably isn't
on diskless station.

Another question is, when SELinux is appropriate to run on diskless
station (you may try disable it).

I also saw problem, when dracut was not able start diskless PXE F14
station when LAN default router was down (but it isn't this case).

Or there is just reciprocal proportion principle: when systemd consumes
10x more RAM then SysV init, then he can 10x fewer.
(narrowly, i686 F15 system comsumes 9x more RAM compared to i686 F7
SysVinit on my systems)


Franta Hanzlik
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines

GIF image

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux