Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 2019 21:59
    cneira edited #373
  • Jan 31 2019 21:58
    cneira review_requested #373
  • Jan 31 2019 21:58
    cneira review_requested #373
  • Jan 31 2019 21:58
    cneira review_requested #373
  • Jan 31 2019 21:58
    cneira opened #373
  • Jan 31 2019 21:20
    cneira synchronize #367
  • Jan 31 2019 21:16
    cneira synchronize #367
  • Jan 31 2019 19:23
    wakiyamap starred omniosorg/illumos-omnios
  • Jan 31 2019 14:09
    citrus-it labeled #1249
  • Jan 31 2019 14:09
    citrus-it review_requested #1249
  • Jan 31 2019 14:09
    citrus-it review_requested #1249
  • Jan 31 2019 14:09
    citrus-it opened #1249
  • Jan 31 2019 11:36
    citrus-it unlabeled #372
  • Jan 31 2019 11:36
    citrus-it edited #372
  • Jan 31 2019 11:36
    citrus-it labeled #372
  • Jan 31 2019 11:36
    citrus-it labeled #372
  • Jan 31 2019 11:36
    citrus-it review_requested #372
  • Jan 31 2019 11:36
    citrus-it review_requested #372
  • Jan 31 2019 11:36
    citrus-it opened #372
  • Jan 31 2019 10:36

    citrus-it on upstream_gate

    10105 libproject needs smatch f… 10117 libbe needs smatch fixes … 10126 smatch fix for kmfcfg Rev… and 2 more (compare)

asche
@asche77
(sent to that email in the interest of time - please let me know if you need anything else / have follow-up questions)
asche
@asche77
another query - entering weak ciphers in /etc/ssh/sshd.conf crashes sshd (svc enters maintenance state). Is this intended or would it be preferable if these just were ignored and reverted to default settings? (I wanted to use none/arcfour/blowfish for LAN transfers with syncoid, i.e. ssh + zfs send)
Andy Fiddaman
@citrus-it
You can test the ssh configuration with sshd -t as root - you probably used a keyword it does not recognise
every new release of openssh deprecates more ciphers, but they can usually be turned on manually
BobTB
@BobTB
I added a new pool of two 8TB drives, and I got the "unable to kmem_alloc enough memory for scatter/gather list" error
Nothing wrong with drives, after destroying the pool, and creating a new one (this time a mirror) everything works.
BobTB
@BobTB
Anyone knows what is the cause (too many drives, memory low...)
Andy Fiddaman
@citrus-it
That message comes from the SAS driver (mpt_sas) and I don't think it is trying to allocate /that/ much memory. It is probably just that the ARC is using the otherwise free memory and can't release it fast enough here.
Basically, one of the commands that ZFS sent to the drives returned 'no memory available'
Helge Nordgård
@helgur_twitter
any guides/docs on getting apache and php up and running on omnios?
installed both via pkg repo but I can't find the php shared libs anywhere for apache to load, ended up compiling everything from scratch which is a bit of a hassle
guenther-alka
@guenther-alka
You can use the pkgsrc repo from Joyent, http://pkgsrc.joyent.com/packages/SmartOS/
I use it in my amp setup script for apache, https://napp-it.org/extensions/amp_en.html
Andy Fiddaman
@citrus-it
The php packages from OmniOS extra are built for running as FPM modules. You can integrate apache with that although I haven't done it (I use nginx)
Loading PHP into apache is kind of deprecated these days since it only work if you run apache with the old prefork MPM
sm-tradeboox
@sm-tradeboox
Hello all. Quick question. I want to test wireguard in a lx/native zone. Anyone tried this before? I create an LX zone, I indicate the kernel version to be 4.x whatever. Can I assign kernel version to be 5.x something? Userland tools only accept 5+ kernel versions.
Also, I would live to see a preconfigured caddy image.
Helge Nordgård
@helgur_twitter
@guenther-alka @citrus-it thanks
stellarpower
@stellarpower
@sm-tradeboox The kernel version is one of the configurable options in the zone, what the exact effects are I don't know, as I believe lx zones are translated into native kernel syscalls by a shim layer.
phoenix@phoenicius:~$ zadm show my_zone_
{
...
   "kernel-version" : "5.0",
...
phoenix@phoenicius:~$ zonecfg -z my_zone
...
add attr
set name="kernel-version"
set type="string"
set value="5.0"
end
...
1 reply
stellarpower
@stellarpower
Speaking of which, where would be the appropriate place for bug reporting for branding? I have a failing mremap call that strace seems to show as relatively benign that might be behind a program that won't start, ought I use the illumos bugtracker, or with Omni, or is Joyent behind keeping the LX brand going?
stellarpower
@stellarpower
Has anyone come across this? The patch Python submitted uses the OS detection, so this is happening to me inside my LX zone even on a new version of python, I'm presuming because they are detecting the OS to be linux whilst the syscall is the same.
Andy Fiddaman
@citrus-it
The kernel version is just what is reported to the guest, as far as I know. I don't think it's used for selectively enabling anything (but I'd need to check the code to be sure).
@stellarpower these days, the LX brand is maintained by Joyent and by OmniOS, and patches flow back and forth. Definitely not the illumos bug tracker since lx is not upstream - you can report it against Joyent's repository or against ours - if you're using OmniOS, report it at https://github.com/omniosorg/illumos-omnios
That's an interesting python bug... we have re-enabled sendfile() support in the latest (native) python builds on OmniOS but I can imagine problems in an lx zone since it thinks the system call is going to work like Linux
That's an LX issue too - we should make it work like Linux in that environment
stellarpower
@stellarpower
Cheers. And yeah, I thought it's interesting too, they've kinda correctly invented a workaround but it still shoots straight through! I'll file the two on GitHub later today then.
BobTB
@BobTB
I have a sistem with I210AT NIC (onboard, ASUS server borad) and it is detected, but it does not work (DHCP or manual IP setting) If I install ESXI on the same server, both NICs work. Is there some updated driver to support this NIC correctly?
BobTB
@BobTB
It even gets IP by DHCP and works for a few seconds, and then stops to respond
BobTB
@BobTB
Is OpenVPN package not available anymore?
I used to do pkg install openvpn and it did its thing :)
BobTB
@BobTB
oh... OmniOS Extra package repository ... :) sorry
stellarpower
@stellarpower
No problem
sm-tradeboox
@sm-tradeboox

Hello all. I have a standart Ubuntu LX zone. I'm trying to set extended attributes (setfattr) on files for storing metadata. I keep getting an error, even as a superuser -

zm@zzone:~/Downloads$ touch testfile.txt
zm@zzone:~/Downloads$ setfattr -n test -v somevalue testfile.txt 
setfattr: testfile.txt: Operation not supported
zm@zzone:~/Downloads$ sudo setfattr -n test -v somevalue testfile.txt 
setfattr: testfile.txt: Operation not supported

ZFS extended attributes (xattr) are turned on in the global zone for the file system on which this zone is stored.

Any help would be appreciated. Thanks.

Marco van Wieringen
@mvwieringen
I'm pretty sure that you cannot set extended attributes in LX zones. The problem is that Solaris/Illumos extended attributes are placed into a special file structure which is accessed via openat calls.
Linux uset setxattr/getxattr calls which don't exist in the Solaris/Illumos world. Its possible to write code that translates those calls but that was never implemented.
So that is also why you get ENOTSUPPORTED as error.
Marco van Wieringen
@mvwieringen
I had a quick peek in the code that emulates the xattr for the LX brand usr/src/uts/common/brand/lx/syscall/lx_xattr.c and indeed the only thing it emulates is setting posix ACLs via the xattr interface anything else returns EOPNOTSUPP.
sm-tradeboox
@sm-tradeboox
OK. Thanks. Now I think I get what ZFS on Linux mean when they refer to setting property xattr=sa, which is an option that doesn't exist on the OmniOS or SmartOS implementation of ZFS. Perhaps it's something that could be ported over? It seems to have efficiency benefits too.
sm-tradeboox
@sm-tradeboox
In particular, I find this really interesting as integrated with a backup solution that's portable and storing extended attributes - https://github.com/rfjakob/cshatag.
Marco van Wieringen
@mvwieringen
Extended attributes are not in any way portable at all. First of all there are at least 3 if not more interfaces e.g. FreeBSD etc has an different interface to either Linux or Solaris. Next to that the namespaces are not compatible at all some allow you any free text e.g. Solaris allows you everything as long as its a valid filename.
Solaris even has special binary xattr which contain some special file attributes. When you want to know the original Bacula and Bareos xattr and acl handling was written by me so I kind of know more then I want to know about the different interfaces.,
stellarpower
@stellarpower
Haiku has a beautiful filesystem for all of this, it's been around since the BeOS in the 90s and is a real shame it never translated its way over.
Marco van Wieringen
@mvwieringen
Essentially Solaris has its own filesystem too. Try runat /bin/bash ls -l
Its only wildly unused and unknown to most people.
sm-tradeboox
@sm-tradeboox
@mvwieringen thanks. I'm unfortunately a complete novice on the topic, and am glad to be corrected.
Avery Freeman
@averyfreeman
@mvwieringen I tried it, listed a couple sparse volumes (?) What's it even used for?
Marco van Wieringen
@mvwieringen
The two files you see e.g. SUNWattr_ro and SUNWattr_rw are the binary xattr I was talking about which contain things like if a file is immutable etc.
Marco van Wieringen
@mvwieringen
Try googling for solaris extensible attributes and you will find quite some info.
Avery Freeman
@averyfreeman
fascinating