[OmniOS-discuss] 151018 kayak problems: utmpd / console-login
Volker A. Brandt
vab at bb-c.de
Thu Jun 30 10:32:33 UTC 2016
Hi Dan!
I am doing test installations of 151018 via Kayak. This means that I
am using NO_REBOOT=1 to try out various features and verify the results.
With the stock 95eaa7e miniroot, two SMF services go into maintenance.
One is svc:/system/utmp:default complaining that the utmpd binary is
missing. I think this has been seen before:
https://github.com/omniti-labs/kayak/issues/10
The other one is svc:/system/console-login:default, where the start
method /lib/svc/method/console-login is missing.
So I have added these two files to the miniroot. This makes utmp shut
up. However, the system becomes unusable because console-login enters
an infinite loop:
[2016/06/29-19:54:43] Install complete
Jun 29 19:54:43 svc.startd[8]: instance svc:/system/console-login:default exited with status 127
Jun 29 19:54:43 svc.startd[8]: instance svc:/system/console-login:default exited with status 127
:
:
Then I disabled both services in the SMF system repository on the
miniroot by setting the general/enabled property to false. This works,
but now I get the standard "single user" prompt just before the
installation starts:
Configuring devices.
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Enter user name for system maintenance (control-d to bypass): [2016/06/29-20:36:41] Forcing all interfaces into DHCP...
[2016/06/29-20:36:41] Waiting for dhcpinfo...
[2016/06/29-20:36:42] Waiting for dhcpinfo...
[2016/06/29-20:36:43] Waiting for dhcpinfo...
:
:
[2016/06/29-20:38:14] Updating GRUB menu for serial console.
[2016/06/29-20:38:16] Install complete
Enter user name for system maintenance (control-d to bypass): root
Enter root password (control-d to bypass):
single-user privilege assigned to root on /dev/console.
Entering System Maintenance Mode
Jun 29 20:39:00 su: 'su root' succeeded for root on /dev/console
The installation itself works fine. All of this only pops up when using
NO_REBOOT=1. Since I can log in as root at the single-user prompt, I
can do my checks, so I have a workaround.
But it's not really the proper solution. :-)
Regards -- Volker
--
------------------------------------------------------------------------
Volker A. Brandt Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY Email: vab at bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt
"When logic and proportion have fallen sloppy dead"
More information about the OmniOS-discuss
mailing list