/r/illumos
The new opensolaris community
/r/illumos
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
Hi there is there a way to boot from an .img distro than the iso one?by zadm
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!
I wonder how openindiana runs on new hardware like new laptops, desktop etc.
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
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?
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?
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!
Whats optionsare available for running linux compiled binaries?
I want to built a diy PC and need some recommendations
Hi,
just installed Tribblix in a test VM and I wonder if I have to configure sendmail to send mails via a relay with auth?
On FreeBSD and OmniOS I'm using Dragonfly Mail Agent, which is nice for the job, but it seems to be not available on Tribblix. Did not use sendmail for a very long time :-)
Thanks!
Before I begin, must say I'm new to Unix/Illumos/OpenIndiana and have just slightly more experience with Linux. After finally getting OpenIndiana to install on one of my machines (ThinkPad W541; would not even boot on a Dell Inspiron 620, and I couldn't get OI to run on any virtual machine I tried on my Mac), I'm starting to get the hang of it. However, there's still a few problems.
First, probably most importantly, there's an issue with the root password. Somehow the password I entered while installing the OS didn't match (likely in terms of casing) what I had in mind, so I forgot it. After multiple failed attempts, however, the GUI prompted me for a new password. I changed the password, or at least thought I did, to something else since the new password (what I initially wanted) was too close to the old password. Fine. However, that new password isn't recognized in terminal or text mode? Is there a relatively easy way to reset the root password without having the format and re-install the OS?
My main question is about finding drivers for the Intel Wireless 7260 card in the W541 used to connect with wireless networks. I understand it's a discontinued card and therefore Intel no longer updates or even hosts the drivers. All the drivers I could find were executables for Windows. Is there a way to get WiFi to work on the W541, since my router (a modem/router) is in an odd spot where I can't easily or always have a wired connection to it? At this point I'm stuck with the base installation because I can't connect to the internet.
Any help would be greatly appreciated. Thanks in advance!
So I've installed pkgrsrc have I done a reasonable choice or a lame one? For a full docs do I need to consult the OpenSolaris one?
Does anyone know how can I change the monitor resolution under tribblix?tried with brand but It says screen not detected,my question was posted by the fact if I install a bhyve zone with Ubuntu may I got a major increase of the resolution?
Morning I've installed omniOS and a Linux zone with LX brand,but I'm unable to run X the distro is an Ubuntu. 22.04 there's no way to run a vncserver on it,has anyone some tips for the right way?
I get that SmartOS and OmniOS are basically server and VM management tools, but what are the exact differences between IllumOS, OpenIndiana and Tribblix? I find it confusing that they are all projects developed by the same organisation and yet all three seem like general purpose OS's. Or are there some subtle differences that determine the use cases here?
I’m in a hate relationship with this package manager. First, the search utility is extremely hard to find anything, especially when they have a tag that has multiple packages like the development subsystem. I’ve noticed as different SRU’s are accumulated overtime that your package repo starts using huge amount of memory, and the packages will have the root-user as owner instead of pkg5srv. Looks like endless recursion eats up memory like anything. Am I wrong? I’ve also noticed that trying to debug the system through the blog files is not easy.
Hello, I'm repairing an old computer in order to install openindiana and the integrated graphics are not supported by illumos kernel. I literally need any GPU new or used that can give me a GUI preferably one that can be found under 100 dollars. I am looking at a gt 1030 which I believe should work but I can't confirm it because it doesn't look to be tested on the openindiana website. What GPU would you recommend for my situation? Is a 1030 fine?
I tried to install openindiana but something goes wrong
System maintenance control b bypass
Hi, I'm trying to install OpenIndiana on my laptop which I know has some obvious compatibility errors due to limited driver supports, but I thought I would be fine since I use integrated graphics and ethernet. Anyway the integrated graphics seems to actually be the problem because the install fails to boot into the gui, the screen turns black for a second and then spits me back out into the terminal with roughly the message: unloading Nvidia modeset drivers. I'm using intel IRIS graphics which according to the website are supported, not NVIDIA. Does anybody know why this is happening?
Thanks to Joshua Clulow for setting it up, there's a new mailing list for those interested in all aspects of illumos on SPARC
https://illumos.topicbox.com/groups/sparc
Nothing there yet, but I thought I would give those interested a chance to join before starting up some conversations
# zpool import
pool: rpool
id: 17849666789698689223
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-EY
config:
rpool ONLINE
c1d0 ONLINE
# zpool labelclear -f c1d0
failed to clear label for /dev/dsk/c1d0s0
Hi,
I've joined an OmniOS test SMB file server to a Windows domain: smbadm join -y -u myadmin mydomain.local
.
After that the event log of the domain controller shows a lot of entries from the OmniOS server authenticating via NTLMv2.
As NTLM (also v2) is outdated and insecure (https://blog.quest.com/ntlm-authentication-what-it-is-and-why-you-should-avoid-using-it/) and Microsoft will remove it completely from future Windows and Windows Server versions (https://www.heise.de/en/news/Now-safe-Microsoft-finally-kicks-NTLM-out-of-Windows-9749970.html) I wonder if Kerberos can be used instead?
The smbadm
man page does not tell anything about it.
BTW: My domain joined Samba file servers (TrueNAS Core, Synology) authenticate via Kerberos.