Project

General

Profile

Actions

Bug #3809

closed

Recent libc change breaks Solaris 10 Branded Zone Support

Added by Alasdair Lumsden over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
lib - userland libraries
Start date:
2013-06-08
Due date:
% Done:

80%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Hi,

This is a brief bug report, but basically after rebooting onto a newer SmartOS image, it is no longer possible to run Solaris 10 branded zones:

root ~ (so1-12.ixlon1): zlogin c1bd276d-291f-4bfc-bae9-0e0e36b9b18e
[Connected to zone 'c1bd276d-291f-4bfc-bae9-0e0e36b9b18e' pts/7]
Last login: Thu May 16 22:37:40 on pts/10
-bash: cannot make pipe for command substitution: Invalid argument
-bash-4.2# logout

[Connection to zone 'c1bd276d-291f-4bfc-bae9-0e0e36b9b18e' pts/7 closed]
root ~ (so1-12.ixlon1): ps -fz c1bd276d-291f-4bfc-bae9-0e0e36b9b18e
     UID   PID  PPID   C    STIME TTY         TIME CMD
    root 10246     1   0 15:46:22 ?           0:00 /lib/svc/bin/svc.startd
    root  8976  5720   0 15:46:21 ?           0:00 /sbin/init
    root  5720     1   0 15:46:18 ?           0:00 zsched
    root 10367 10246   0 15:46:23 ?           0:00 sulogin
    root 10436 10367   0        - ?           0:00 <defunct>

Hardly anything is running as a result, the zone effectively hasn't reached multi-user.

root ~ (so1-12.ixlon1): mcs -p /zones/c1bd276d-291f-4bfc-bae9-0e0e36b9b18e/root/lib/libc.so.1
/zones/c1bd276d-291f-4bfc-bae9-0e0e36b9b18e/root/lib/libc.so.1:

@(#)SunOS 5.10 Generic Patch January 2005

root ~ (so1-12.ixlon1): mcs -p /zones/c1bd276d-291f-4bfc-bae9-0e0e36b9b18e/root/usr/lib/libc/libc_hwcap1.so.1
/zones/c1bd276d-291f-4bfc-bae9-0e0e36b9b18e/root/usr/lib/libc/libc_hwcap1.so.1:

@(#)SunOS 5.10 Generic 142901-15 Jul 2010

I believe this may have been caused by postwait's recent changes, but I'm not clear as I haven't been following illumos development closely lately.

I'm not clear on whether this can be addressed in the Solaris 10 branded zone layer itself.

I can supply access to a development machine if someone wishes to work on this.

Thanks.


Files

3809.patch (2.27 KB) 3809.patch Theo Schlossnagle, 2013-06-09 04:51 PM
3809-accept.patch (2.6 KB) 3809-accept.patch Andrzej Szeszo, 2013-06-10 11:08 AM
Actions

Also available in: Atom PDF