08:32:44 hi. i've installed a sparse zone on omnios and later on installed nginx into the global zone. now i can't see the service for nginx in the sparse zone. what do i have to do? 08:33:55 related question: i wasn't able to install nginx in the sparse zone directly, due to files listed in a exclude list. is there a recommended way to do this? 08:37:44 You should be able to install nginx into the sparse zone, that's the kind of intended use case. 08:37:55 Do you have the output? 08:38:06 Generally I don't install many packages in the GZ at all 08:38:55 andyf that was my plan, just a moment, i will send the output. 08:39:15 You have to be generally careful with sparse zones because they don't have their own `/usr` for example, but things like `nginx` should install under `/opt` 08:39:28 and if not, we've got it wrong 08:40:13 https://pastebin.com/zSqLVctZ 08:41:23 It isn't obvious, but that means you need to install library/libxslt in the GZ 08:41:38 It looks like a warning too, so nginx should have been installed 08:41:50 should be the nginx from the extras repository. this is a 151038 lts that was freshly upgraded to 151046. didnt run nginx before and the zone was created after the upgrade 08:42:38 i have installed libxslt in the gz after i saw the warning, but it  didn't disappear. nor is nginx installed in the sparse zone. 08:43:23 as@kvm2:~$ pfexec pkg install library/libxslt 08:43:23 Für dieses Abbild sind keine Updates erforderlich. 08:43:37 What do you get for `pkg property exclude-policy`? 08:43:43 (in the zone) 08:44:10 root@reproxy:~# pkg property exclude-policy 08:44:11 PROPERTY       VALUE 08:44:11 exclude-policy reject 08:44:12 root@reproxy:~# 08:44:12 nothing? 08:44:19 Ok, it's set to reject, let's change that 08:44:43 pkg set-property exclude-policy ignore 08:44:59 Then try again to install nginx in the zone, and add `-v`, so `pkg install -v nginx` 08:45:20 I'm surprised if the default is still reject, we should probably change that. 08:45:24 (I thought we had) 08:46:38 https://pastebin.com/2zMyEqLX 08:46:41 looks good to me? 08:47:04 Yes, and `svcs nginx` should hopefully show the service now 08:47:28 indeed it does :) can i safely remove the nginx install on the gz? 08:47:35 Yes you can 08:48:15 thank you very much! 08:49:16 and you can also do `pkg list -rM` to see if it pulled in anything else for you, although you'll need to keep them if they are core packages from /usr 08:49:58 That shows packages which were automatically installed, and are removable (as in, have no dependents) 08:50:42 ooce/server/nginx-common (extra.omnios)           1.0.0-151046.0             i-- 08:50:53 (is one of them) 08:51:01 I'd probably remove that too in the GZ 08:51:09 i guess openssl i there to stay? 08:51:11 is* 08:51:17 it just adds a user I think, but might as well clean it up 08:52:05 great. thank you again :) 08:52:27 Plain openssl versus openssl-3? It is just a simple package that pulls in the real openssl-3 so it does no harm. 08:52:29 You're welcome 08:52:37 I'll take a look at why it defaulted to reject 08:53:54 It isn't supposed to - https://github.com/omniosorg/pkg5/blob/master/src/brand/sparse/pkgcreatezone#L181 08:55:15 i used zadm to create the zone. but that shouldn't make a difference? 08:55:24 (0.14.3) 08:55:52 It just uses zoneadm to do that. I can try and replicate over the weekend anyway.