/r/illumos

Photograph via snooOG

The new opensolaris community

/r/illumos

960 Subscribers

5

I hate to ask this... how do you setup an illumos vm in oracle cloud?

Does anyone have a link on how to setup an illumos vm (Omnios) in oracle cloud? I need a connection to Oracle DB in OCI but I want illumos as the web app os.

1 Comment
2025/01/23
04:05 UTC

4

Why isn't this application/pkg service coming online?

Hello, I'm having an issue with the application/pkg/server service instance. I have created a repository on /export/myServer in order to host an IPS package repository. I am now attempting to create a service for it. Despite following the guide for OmniOS and Solaris 11, the pkg/server:myServer instance enters maintenance mode and the

# svccfg -s pkg/server add myServer
# svccfg -s pkg/server:myServer addpg pkg application
# svccfg -s pkg/server:myServer setprop pkg/inst_root=/export/pkgRepo
# svccfg -s pkg/server:myServer setprop pkg/port=1000
# svcadm refresh pkg/server:myServer
# svcadm enable pkg/server:myServer
# svcs pkg/server:myServer
STATE          STIME       FMRI
maintenance    22:03:27    svc:/application/pkg/server:myServer
# svcadm clear pkg/server:myServer
# svcs pkg/server:myServer
STATE          STIME       FMRI
maintenance    22:04:56    svc:/application/pkg/server:myServer

The log reads

[ Jan 22 21:17:15 Enabled. ]
[ Jan 22 21:17:15 Executing start method ("//lib/svc/method/svc-pkg/server start"). ]
Dropping net_privaddr privilege.
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e /usr/lib/ --cfg svc:/application/pkg/server:myServer
pkg.depotd: Could not operate on /export/myServer/publisher/myServer/tmp/lock because of insufficient permissions. Please try the command again as a privileged user.

And it attempts to restart multiple times, presenting repeats of this message.

I don't quite understand how a lack of privilege could be affecting this. The commands used to create the instance and start it were performed within a privileged shell.

How might I go about troubleshooting this, so that it might run correctly?

Thanks in advance

4 Comments
2025/01/22
22:14 UTC

9

How is a new distro constructed?

Hello.

I would like a little clarification about how a distro is constructed. I read through the pages about the OpenIndiana distro constructor tool, the OmniOS omni tool, and the Tribblix build scripts. To my limited understanding, it would seem possible to create a new distro by building illumos-gate, publishing its built packages to a local repository, then importing the userland packages into the same repository, then using something like the OI distro constructor to build an image from the packages on this local repository in order to construct a 'new' distro.

Am I on the right track?

9 Comments
2025/01/22
18:12 UTC

6

Apparently, we're not allowed to configure a static IP in Tribblix

OK, so we disable nwam. Righto, there goes our igb2/_b dhcp interface. Next we:

ipadm create-addr -T static -a 10.1.12.18/24 igb2/static

ipadm: cannot create igb2/static: operation failed

It just... doesn't want to. It just absolutely refuses and we have no idea why. Help?

15 Comments
2025/01/21
22:20 UTC

1

Sane fucking guide on configuring COMSTAR in Illumos?

Use case:

  • We have a server with 50TB of storage
  • We want two iSCSI LUNs, and only one of them to be accessible to 10.1.12.56. The other we want only the 192.168.1.2 host to have access to it.

Right now, we can either have both accessible on the one host, or none. Halp?

0 Comments
2025/01/19
06:20 UTC

6

Access to PC beeper in illumos

Is there a way to access the PC beeper from usermoed in Illumos? On linux, beep(1) is used, but no similar package appears to exist for illumos. Is there documentation on this anywhere?

8 Comments
2025/01/18
04:26 UTC

12

What's different between illumos-gate and a distro?

Hello, I haven't found resources online which cover this. What is the difference, internally, between compiled illumos-gate and an illumos distro?

I am aware that illumos-gate provides the kernel and essential system tools. What I am missing is how one might, for example, take illumos-gate and create a distro from it.

How might someone craft a distro from illumos-gate?

Thank you in advance

18 Comments
2025/01/16
19:47 UTC

5

Any good resources for XStreamOS?

I am interested in using XStreamOS as an illumos distro and was wondering if anyone had good access to some resources for something like this: https://docs.openindiana.org/dev/distribution-constructor/

2 Comments
2025/01/16
17:49 UTC

2

Can't install OpenIndiana "Console login service(s) cannot run"

On PANASONIC and MacBook Pro 2011 same issue even with minimal install and .usb alike. Trying install with DD and Rufus.

Version 202404 and 202410

Can this be resolved ASAP?

4 Comments
2025/01/16
15:47 UTC

7

Does omnios support newer Lenovo servers?

Does omnios support newer Lenovo servers? Especially the ones with Epyc cpus and NVMEs.

1 Comment
2025/01/03
15:35 UTC

4

Can you access the console of a bhyve zone in Omnios?

Im looking forward to using omnios. I have a Dell R740 on the way! But I cant wait. I want to know if you access the console of a bhyve zone in Omnios. The idea being to run full linux distro but use the console within omnios to make changes to that linux install.

3 Comments
2025/01/02
18:58 UTC

5

Issue installing OmniOS on HP Z440: Non-System disk or disk error on boot

I have purchased a refurbished HP Z440 with 2 3TB Toshiba MG04ACA00E disks and 1 250 GB Samsung 960EVO SSD to learn OmniOS, ZFS, and eventually try out VMs.

After finding the disks normally and writing to them in the installer it fails to find them on booting:

Non-System disk or disk error replace and strike any key when ready

I was able to use the shell available in the installer to verify the zpool showing a mirrored pool of 3TB before rebooting.

I have tried various settings in the BIOS to try to get it to recognize the disks but it seems odd that the installer finds them but they are not found on boot. Kagi and Giggle haven't found a solution. I was able to install NetBSD 10 from a cd to one of the Toshiba disks and boot from it, so it seems OmniOS-specific. Is there a reference that would help here, or something I'm overlooking? I appreciate any help or pointers to a solution.

7 Comments
2024/12/31
16:10 UTC

9

A note on installing tribblix.

Something i found as of late, but if you are installing from the jack user- please cd into /root as this is where the install scripts are hosted. This is not mentioned in the install section * of the main tribblix (for both x86 & SPARC, link is to x86) site & i thought of noting this to future new users as a pseudo-PSA in case they decide to not use the root user for installation.

3 Comments
2024/12/25
07:28 UTC

7

Beginner: No /packages/i386/nightly after compilation on OpenIndiana

Hello, as the title suggests, I am having difficulty finding /packages/i386/nightly after compiling illumos-gate on OpenIndiana. The compilation was successful, although the path where /packages/... should be is missing.

OS release;

bash$ uname -a SunOS openindiana 5.11 illumos-8cf9ea42d5 i86pc i386 i86pc

Here is the illumos-gate directory after compilation

bash:~/code/illumos-gate$ ls
CODE_OF_CONDUCT.md    README.md    closed exception_lists    illumos.sh    log      proto    usr

Meanwhile, the illumos guide under section Installing your build suggests to do the following to install the [nonexistent] packages with onu

sudo /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/onu \
    -t "$(date -u +nightly-%Y%m%d-%H%MZ)" \
    -d "/code/illumos-gate/packages/i386/nightly"sudo /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/onu \
    -t "$(date -u +nightly-%Y%m%d-%H%MZ)" \
    -d "/code/illumos-gate/packages/i386/nightly"

Note the final line; -d "/code/illumos-gate/packages/i386/nightly" -- again, clearly, /packages is not present on my machine.

I tried to find the packages as so;

bash$ find . | grep '/packages/i386/nightly'

The query returned no result.

The official illumos guide also states that packages should be generated during the build;

----------------------------------------------------------------------------------------------------------------------------------

The build process generates packages that you can install on your system with the developer system update tool, onu. Depending on the NIGHTLY_OPTIONS you chose earlier, you will have packages in one of two locations within your workspace:

  • packages/i386/nightly for a DEBUG build
  • packages/i386/nightly-nd for a non-DEBUG build

---------------------------------------------------------------------------------------------------------------------------------

The OpenIndiana system which built illumos-gate with is up to date. Though I doubt it is of much relevance, I should mention that the build was done in a non-global zone. I am not sure where to turn to help. I would appreciate any. Thanks in advance!

4 Comments
2024/12/17
04:16 UTC

5

Beginner: Adding dataset to non-global zone

*************************************************************************************************************************

SOLVED: Leaving this post up for others to whom it might be useful. I misunderstood how the datasets were being delegated. https://omnios.org/setup/zones?

*************************************************************************************************************************

Hello, I am attempting to add a global dataset to a non-global zone. Upon attempting to boot the zone, an error is returned which states that the mountpoint cannot be inherited. I am following the illumos docs, Solaris docs, and OpenSolaris Bible. I have not reached a solution.

As the description is simple, I'll include the snippets of what I am trying to do, and the error message being returned.

-- ZONE TO ADD DATASET TO
$ zfs list | grep 'pkgRepo1'
rpool/export/pkgs/pkgRepo1/ROOT/          1.81G   438G   24K    legacy
rpool/export/pkgs/pkgRepo1/ROOT/initial   1K      438G   1.80G  legacy
rpool/export/pkgs/pkgRepo1/ROOT/zbe       1.81G   438G   1.80G  legacy

-- DATASET TO ADD TO THE ZONE
$ zfs list | grep 'dataset1'
rpool/export/pkgs/dataset1                24K     438G   24K    /export/pkgs/dataset1

$ zonecfg -z pkgRepo1
zonecfg:pkgRepo1> add dataset
zonecfg:pkgRepo1:dataset> set name=rpool/export/pkg/dataset1
zonecfg:pkgRepo1:dataset> end
zonecfg:pkgRepo1> verify
zonecfg:pkgRepo1> commit
zonecfg:pkgRepo1> exit

-- PROBLEM
$ zoneadm -z pkgRepo1 boot
could not verify zfs dataset rpool/export/pkgs/dataset1: mountpoint cannot be inherited
zoneadm: zone pkgRepo1 failed to verify

As mentioned, I have tried using multiple resources in order to troubleshoot this issue. I have followed the instructions on each of the materials, and none have produced this issue or even suggested anything about it.

I would appreciate any help. Thanks in advance

0 Comments
2024/12/17
00:54 UTC

4

I think my laptop has issues with openindiana

I managed to do it in Live CD but was greeted with the driver missing message

I tried installing openindiana on an IdeaPad 720 15ikb

Specs 7 7700QH Intel UHD 630 8gb ram 2400mhz Nvidia GPU GTX 1050ti max Q 512gb SSD nvme

0 Comments
2024/12/11
14:16 UTC

2

Minimum disk quantity to benefit from zfs?

I am thinking about trying out OmniOS on a small scale to learn about vms and zfs. What is the least number of hard disks necessary to build a zpool and benefit from zfs in terms of reliability?

5 Comments
2024/12/04
01:23 UTC

3

OpenIndiana pkgrepo service, start method failed repeatedly (svc shuts down)

Hello, I am trying to troubleshoot an issue I have encountered with OpenIndiana. I am unsure if the issue is truly a problem, or if it is a part of the minimal configuration of the system -- perhaps, something which hasn't been documented.

I am attempting to create a local repository on OpenIndiana. Initially, I tried doing this inside of a non-global zone. It failed, and I tried reproducing the same problem in the global zone, which also failed. I'll post the steps to arrive at the issue below, as I believe they will be more informative than what I can describe.

#SETTING UP THE LOCAL REPOSITORY
user@oi> pkgrepo create /export/repository
user@oi> pkgrepo set -s /export/repository publisher/prefix=repo1
user@oi> svccfg -s application/pkg/server setprop pkg/inst_root=/export/repository
user@oi> svccfg -s application/pkg/server setprop pkg/port=8080
user@oi> svccfg -s application/pkg/server setpropr pkg/readonly=false
user@oi> svcadm enable application/pkg/server

#HERE IS WHERE THE ISSUE STEMS FROM
user@oi> svcs application/pkg/server
STATE          STIME          FMRI
maintenance    0:27:27        svc:/application/pkg/server:default

user@oi> svcs -xv
svc:/application/pkg/server:default (image packaging repository)
 State: maintenance since December 3, 2024 at 12:27:27 AM EST
Reason: Start method failed repeatedly, last exited with status 1.
   See: http://illumos.org/msg/SMF-8000-KS
   See: /var/svc/log/application-pkg-server:default.log
Impact: This service is not running.

#FOLLOWING THE LOG FILE FROM OUTPUT ABOVE
user@oi> cat /var/svc/log/application-pkg-server:default.log | less
[ Dec  3 00:27:22 Enabled. ]
[ Dec  3 00:27:22 Executing start method ("//lib/svc/method/svc-pkg/server start"). ]
Dropping net_privaddr privilege.
pp
[ Dec  3 00:27:25 Method "start" exited with status 1. ]
... 

I assumed the issue had to do with the net_privaddr privilege, as suggested in the log file above. To test this, I gave that privilege to the account I used, and the used pfexec svcadm clear application/pkg/server to attempt to restart the service. Upon attempting to restart, it again fails, enters maintenance mode, and produces the same error and log entries as shown in the log file above.

Next, I switched to the root user, just to be sure, and repeated the steps of clearing the service and attempting to restart it. This was not successful, either, and produced the same results as before.

I followed the link produced in the log https://illumos.org/msg/SMF-8000-KS The details of this message (SMF-8000-KS) state that the service is placed into maintenance mode due to misconfiguration. I have doubts about this point... I haven't used any custom configurations. In the link above, there are two sub links; one to the "SMF How To Guide", which redirects to a generic Oracle page; and the second, which is supposed to describe the next step in debugging, which is of no use as this page links to a defunct Sun URL.

What is the next step in understanding why this service is malfunctioning?

Thank you in advance

1 Comment
2024/12/03
01:34 UTC

1

Boot from usb .img

Hi there is there a way to boot from an .img distro than the iso one?by zadm

1 Comment
2024/12/01
20:25 UTC

3

Beginner - Issue with DNS

Issue: Name resolution in zone running on OmniOS, zone only

Hello, I am having issues with DNS resolution on OmniOS, specifically with non-global zones. The global zone does have DNS resolution. I'll share what each is doing and configuration info below, as I believe it will be far more explanatory than what I can write;

OmniOS GLOBAL ZONE

root@omni: dladm
LINK       CLASS       MTU       STATE       BRIDGE       OVER
e1000g0    phys        1500      up          --           --
testvnic0  vnic        1500      up          --           e1000g0

root@omni: ipadm
ADDROBJ       TYPE       STATE       ADDR
lo0/v4        static     ok          127.0.0.1/8
e1000g0/v4    static     ok          192.168.122.101/24
lo0/v6        static     ok          ::1/128

root@omni: netstat -rn
Routing Table: IPv4
Destination    Gateway          Flags       Ref       Use       Interface
-------------------------------------------------------------------------
default        192.168.122.1    UG          1         0         
127.0.0.1      127.0.0.1        UH          2         0         lo0
192.168.122.0  192.168.122.101  U           2         0         e1000g0

root@omni: ping 8.8.8.8
8.8.8.8 is alive

root@omni: traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 40 byte packets
1   192.168.122.1 (192.168.122.1)   0.233 ms   0.180 ms   0.123 ms
2   192.168.1.1 (192.168.1.1)   1.989 ms   1.395 ms   1.195 ms
...

root@omni: ping google.com
google.com is alive

root@omni: cat /etc/resolv.conf
nameserver 1.1.1.1

OmniOS NON-GLOBAL ZONE

root@testZone1: dladm
LINK       CLASS       MTU       STATE       BRIDGE       OVER
testvnic0  vnic        1500      up          --           ?

root@testZone1: ipadm
ADDROBJ       TYPE       STATE       ADDR
lo0/v4        static     ok          127.0.0.1/8
testvnic0/v4  static     ok          192.168.122.69/24
lo0/v6        static     ok          ::1/128

root@testZone1: netstat -rn
Routing Table: IPv4
Destination    Gateway          Flags       Ref       Use       Interface
--------------------------------------------------------------------------------------
default        192.168.122.1    UG          2         1         
127.0.0.1      127.0.0.1        UH          2         0         lo0
192.168.122.0  192.168.122.69   U           3         0         testvnic0

root@testZone1: ping 8.8.8.8
8.8.8.8 is alive

root@testZone1: traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 40 byte packets
1   192.168.122.1 (192.168.122.1)   0.331 ms   0.168 ms   0.165 ms
2   192.168.1.1 (192.168.1.1)   4.846 ms   1.185 ms   1.140 ms
...

root@testZone1: ping google.com
ping: unknown host google.com                 #NOTE HOW THIS FAILS

root@testZone1: cat /etc/resolv.conf
nameserver 1.1.1.1

As can be seen above, the non-global zone fails to ping when it attempts to resolve google.com

testZone1 configuration info

root@omni: zonecfg -z testZone1 info
zonename: testZone1
zonepath: /testzones/testZone1
brand: sparse
autoboot: true
bootargs: 
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
fs-allowed:
net:
       address not specified
       allowed-address not specified
       defrouter not specified
       global-nic not specified
       mac-addr not specified
       physical: testvnic0
       vlan-id not specified

  

I have looked through the illumos manual pages, Oracle Solaris manual pages and workshops, StackOverflow, Linux networking guides, and watched videos of others constructing zones, none of which have offered any resolution. I have also posted in networking forums with no meaningful answers. How do I cause the non-global zone to have DNS resolution?

Thanks in advance!

24 Comments
2024/11/30
03:52 UTC

16

What is your experience with openindiana (Desktop) on new hardware

I wonder how openindiana runs on new hardware like new laptops, desktop etc.

0 Comments
2024/11/27
00:09 UTC

15

Interested in the process of porting to an illumos distro

I haven't had an opportunity to port between *nix systems and I would like to know more about the process of preparing and packaging software for any illumos distro. I searched online for additional information and information appears to be scant for porting between *nix systems in general. I have some old materials for porting software between different Unix systems and it has been of little use.

More concretely, suppose that there is an application which I would like to use on illumos. An IPS package doesn't exist for this package, but I have access to the binary. What intermediate steps should I be aware of, between the point of downloading the binary on an illumos system and up to the point of creating a manifest and building the package?

Thanks in advance

2 Comments
2024/11/22
03:41 UTC

2

Crosspost: How to install OmniOS into remote bare metal server?

0 Comments
2024/11/07
08:22 UTC

4

zap and/or pkgin execution with pfexec on tribblix?

Hiya, maybe @u/ptribble might konw. What would be the procedure for getting zap and pkgin to run under pfexec? They don't seem to honor the 'Software Installation' profile, like if we run pkg(1) in Solaris, we get a prompt that `Re-authentication by fractal is required to use profile: Software installation`, but on Tribblix, nothing wants to pick it up and do the smart thing. What's the way to make that work?

2 Comments
2024/11/02
08:48 UTC

2

OpenIndianna Installer broken

So. Just tried to install OpenIndianna from the minimal install ISO, and got a delightful error. It works up to specifying the root password, but as soon as we hit f2, we get:

An unhandled exception occurred.
        TypeError: "'<=' not supported between instances of 'int' and 'NoneType'"
Full traceback data is in the installation log
Please file a bug at http://bugs.openindiana.org
Exiting Text Installer. Log is available at:
/tmp/install_log

Tried to file a bug, at bugs.openindiana.org, nxdomain. So that's a bad look. Also http....that's a pretty bad look too. Log says...

2024-11-02 07:53:12,367 - INFO    : text-install:120 **** START ****
2024-11-02 07:53:23,365 - ERROR   : fdisk_partitions.py:129 No partitions were selected. Continuing.
2024-11-02 07:53:31,162 - INFO    : network_type.py:174 Configuring NIC as: automatic
2024-11-02 07:53:39,804 - ERROR   : text-install:254 Install Profile:
Disk Info (c1t0d0):
Size: 256.0gb
BE name: openindiana
Overwrite boot configuration: True
NIC None:
Type: automatic
System Info:
Hostname: openindiana
TZ: UTC - UTC - UTC
Time Offset: -1 day, 23:59:26.950424
Keyboard: None
Locale: None
User Info(root):
Real name: None
Login name: root
Is Role: True
User Info(None):
Real name: None
Login name: None
Is Role: False
None
2024-11-02 07:53:39,825 - ERROR   : text-install:255 Traceback (most recent call last):
  File "/usr/bin/text-install", line 236, in <module>
    SCREEN = SCREEN.show(INSTALL_PROFILE)
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/base_screen.py", line 126, in show
    return self.validate_loop()
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/base_screen.py", line 150, in validate_loop
    next_screen = self.main_win.process_input(self)
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/main_window.py", line 229, in process_input
    input_key = self.central_area.process(input_key)
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/inner_window.py", line 472, in process
    input_key = self.objects[self.active_object].process(input_key)
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/inner_window.py", line 472, in process
    input_key = self.objects[self.active_object].process(input_key)
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/edit_field.py", line 283, in process
    self.edit_loop()
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/edit_field.py", line 249, in edit_loop
    input_key = self.handle_input(self.getch())
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/edit_field.py", line 210, in handle_input
    input_key = self.translate_input(input_key)
  File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/inner_window.py", line 507, in translate_input
    if curses.ascii.isdigit(input_key):
  File "/usr/lib/python3.9/curses/ascii.py", line 59, in isdigit
    def isdigit(c): return 48 <= _ctoi(c) <= 57
TypeError: '<=' not supported between instances of 'int' and 'NoneType'

2024-11-02 07:53:39,826 - INFO    : text-install:99 **** END ****

Anyone know what exploded?

2 Comments
2024/11/02
07:59 UTC

3

Wireless connectivity and OpenIndiana

The Intel Wireless 7260 radio in my ThinkPad W541 is no longer supported, therefore I can't find a driver compatible with Illumos/OpenIndiana. I would like to get wireless connectivity working so I can connect the machine to my WiFi network, since our modem/router is in a spot not really suitable for a wired connection. If I need to replace the radio card, does anyone have any recommendations for a replacement compatible with OpenIndiana?

Any help would be greatly appreciated. Thanks!

3 Comments
2024/10/30
23:51 UTC

10

Dumb question is there a linux emulation layer like BSD in illumos distros?

Whats optionsare available for running linux compiled binaries?

1 Comment
2024/10/29
09:46 UTC

6

What hardware can you recommend that works well with illumos

I want to built a diy PC and need some recommendations

4 Comments
2024/10/25
21:03 UTC

Back To Top