Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Re-opened] Services added to default refuse to start

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

[Re-opened] Services added to default refuse to start

  • Quote

Post by xtz » Sat Aug 30, 2014 1:07 pm

This is a fresh installation.
My default runlevel looks like this:

Code: Select all

vaio ~ # rc-update show default
            alsasound | default
           consolekit | default
                 dbus | default
                local | default
              metalog | default
               net.lo | default
           net.wlp5s0 | default
                 ntpd | default
                 sshd | default
Some of these I've added while I was booted from the install CD (metalog, sshd) and they start just fine.
However, no matter what I added after that doesn't start, even though it is in the default runlevel (alsasound, consolekit, dbus, net.wlps0, ntpd).
I can start each of these manually with 'service <name> start' OR '/etc/init.d/<name> start' and they start normally. But they are not started during system startup.
Last edited by xtz on Fri Sep 05, 2014 12:40 am, edited 2 times in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Aug 30, 2014 2:29 pm

xtz,

Any error messages in your logs or on screen at startup?

What do you have in /etc/runlevels/default/ ?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

  • Quote

Post by xtz » Sat Aug 30, 2014 3:56 pm

It literally makes no sense.
I've wiped '/etc/runlevels/default/' out, rebooted, then created these again, rebooted again and now it works 8O
How it looks like now:

Code: Select all

vaio default # ls -l
total 0
lrwxrwxrwx 1 root root 21 Aug 30 17:27 alsasound -> /etc/init.d/alsasound
lrwxrwxrwx 1 root root 22 Aug 30 17:26 consolekit -> /etc/init.d/consolekit
lrwxrwxrwx 1 root root 16 Aug 30 17:25 dbus -> /etc/init.d/dbus
lrwxrwxrwx 1 root root 17 Aug 30 17:25 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 19 Aug 30 17:25 metalog -> /etc/init.d/metalog
lrwxrwxrwx 1 root root 18 Aug 30 17:26 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 22 Aug 30 17:26 net.wlp5s0 -> /etc/init.d/net.wlp5s0
lrwxrwxrwx 1 root root 16 Aug 30 17:27 ntpd -> /etc/init.d/ntpd
lrwxrwxrwx 1 root root 16 Aug 30 17:25 sshd -> /etc/init.d/sshd
But it did look like this before too. I've enabled rc logging (rc_logger="YES") so I'll have more info in case it happens again.
Otherwise no errors in /var/log/everything/current (metalog here), dmesg or anywhere.
Marking as SOLVED for now.

Another thing that comes to mind - net.lo is not in the default runlevel by default. Is it not required anymore, or is it skipped by mistake in the latest stage3 (hardened+nomultilib)?
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Sat Aug 30, 2014 4:01 pm

net.lo is in boot not default
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

  • Quote

Post by xtz » Sat Aug 30, 2014 4:09 pm

Anon-E-moose wrote:net.lo is in boot not default
Thanks for the clarification, I removed it from default.
Still had to add it to boot as it was not there tho.
Top
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

  • Quote

Post by xtz » Fri Sep 05, 2014 12:37 am

I just reinstalled and same thing happened again.
Am I missing something or this stage is really messed up:
So:

Code: Select all

vaio ~ # rc-update show default
            alsasound | default
           consolekit | default
                 dbus | default
                local | default
              metalog | default
           net.wlp5s0 | default
                 ntpd | default
                 sshd | default
local, metalog, sshd - added while chrooted from the install cd - starting automatically
alsasound, consolekit, dbus, net.wlp5s0, ntpd - added when booted from the hdd - not starting automatically. (note that dmesg output has output from the wifi as I've started net.wlp5s0 manually)

/etc/runlevels/default:

Code: Select all

vaio ~ # ls -l /etc/runlevels/default/
total 0
lrwxrwxrwx 1 root root 21 Sep  5 03:08 alsasound -> /etc/init.d/alsasound
lrwxrwxrwx 1 root root 22 Sep  5 03:01 consolekit -> /etc/init.d/consolekit
lrwxrwxrwx 1 root root 16 Sep  5 03:01 dbus -> /etc/init.d/dbus
lrwxrwxrwx 1 root root 17 Aug 28 20:07 local -> /etc/init.d/local
lrwxrwxrwx 1 root root 19 Sep  5 00:11 metalog -> /etc/init.d/metalog
lrwxrwxrwx 1 root root 22 Sep  5 03:14 net.wlp5s0 -> /etc/init.d/net.wlp5s0
lrwxrwxrwx 1 root root 16 Sep  5 03:04 ntpd -> /etc/init.d/ntpd
lrwxrwxrwx 1 root root 16 Sep  5 00:07 sshd -> /etc/init.d/sshd
/var/log/rc.log:

Code: Select all

rc boot logging started at Fri Sep  5 06:27:06 2014

 * Setting system clock using the hardware clock [Local Time] ...
 [ ok ]
 * Loading module zram ...
 [ ok ]
 * Autoloaded 1 module(s)
 * Checking local filesystems  ...
/sbin/fsck.xfs: XFS file system.
boot: clean, 278/16384 files, 10004/65536 blocks
 [ ok ]
 * Remounting root filesystem read/write ...
 [ ok ]
 * Remounting filesystems ...
 [ ok ]
 * Updating /etc/mtab ...
 [ ok ]
 * Activating swap devices ...
 [ ok ]
 * Mounting local filesystems ...
 [ ok ]
 * Configuring kernel parameters ...
 [ ok ]
 * Creating user login records ...
 [ ok ]
 * Wiping /tmp directory ...
 [ ok ]
 * Setting hostname to vaio ...
 [ ok ]
 * Setting terminal encoding [UTF-8] ...
 [ ok ]
 * Setting keyboard mode [UTF-8] ...
 [ ok ]
 * Loading key mappings [us] ...
 [ ok ]
 * Bringing up network interface lo ...
 [ ok ]
 * setting up tmpfiles.d entries ...
 [ ok ]
 * Initializing random number generator ...
 [ ok ]

rc boot logging stopped at Fri Sep  5 03:27:08 2014


rc default logging started at Fri Sep  5 03:27:08 2014

 * Starting metalog ...
 [ ok ]
 * Starting sshd ...
 [ ok ]
 * Starting local
 [ ok ]

rc default logging stopped at Fri Sep  5 03:27:09 2014

vaio ~ #
dmesg - http://pastebin.com/CW9SPrfr

Where am I going wrong?

P.S.: In the interest of previous posts, net.lo is not in boot anymore, unless I put it there:

Code: Select all

vaio ~ # rc-update show | grep net
           net.wlp5s0 |      default
vaio ~ #
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic