Switch to DuckDuckGo Search
   September 17, 2019  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >

Toggle Join/Part | bottom
[00:15:36] <despair86> bahamat: yes your bhyve template works for preconfigured images, but i'm installing from DVDs
[00:15:54] <despair86> and that is where the JS admin tools only work for KVM
[00:16:01] <despair86> oops
[00:19:47] *** snuff-work <snuff-work!~snuff-wor@202-161-112-134.tpgi.com.au> has quit IRC (Read error: Connection reset by peer)
[00:20:21] *** jellydonut <jellydonut!~quassel@s91904421.blix.com> has quit IRC (Quit: jellydonut)
[00:24:50] *** merzo <merzo!~merzo@59-10-132-95.pool.ukrtel.net> has quit IRC (Ping timeout: 276 seconds)
[00:38:17] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has joined #illumos
[00:41:17] <ENOMAD> an hour+ later and it's still showing unconfigured.
[00:45:20] <andyf> ENOMAD - you should be able to configure it with `cfgadm -c configure <path>`
[01:09:01] *** neirac <neirac!~cneira@190.162.109.190> has quit IRC (Quit: Leaving)
[01:15:43] <ENOMAD> and path is?
[01:22:44] <ENOMAD> hhmm.. I've pulled one of the SSDs but it is still showing 3 unconfigured drives.
[01:35:36] *** snuff-work <snuff-work!~snuff-wor@202-161-112-134.tpgi.com.au> has joined #illumos
[01:58:07] *** jeffpc <jeffpc!~jeffpc@josefsipek.net> has quit IRC (Quit: Reconnecting)
[01:58:24] *** jeffpc <jeffpc!~jeffpc@josefsipek.net> has joined #illumos
[02:07:45] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Remote host closed the connection)
[02:08:51] *** despair86 <despair86!~despair@exit.i2p.rocks> has joined #illumos
[02:09:15] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Remote host closed the connection)
[02:09:35] *** despair86 <despair86!~despair@exit.i2p.rocks> has joined #illumos
[02:28:46] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Remote host closed the connection)
[02:29:04] *** despair86 <despair86!~despair@exit.i2p.rocks> has joined #illumos
[02:33:29] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has quit IRC (Remote host closed the connection)
[02:37:08] <despair86> microsoft's fork of dinkumware is open source
[02:37:13] * despair86 gasps
[02:40:27] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has joined #illumos
[02:45:05] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has quit IRC (Ping timeout: 265 seconds)
[03:20:00] *** ed209 <ed209!~ed209@165.225.128.67> has quit IRC (Remote host closed the connection)
[03:20:08] *** ed209 <ed209!~ed209@165.225.128.67> has joined #illumos
[03:25:59] <Reinhilde> Mrowf
[03:27:33] <Reinhilde> Can illumos still be made to run in an all 32 bit mode
[03:33:21] <jbk> not really.. a lot of the code for 32-bit kernels was removed.. i mean it's still in the history, but it'd take a decent amount of work to resurrect it
[03:42:07] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has quit IRC (Quit: jcea)
[03:57:49] *** Riastradh <Riastradh!~riastradh@netbsd/developer/riastradh> has joined #illumos
[04:18:44] *** jhot[m] <jhot[m]!jhotmatrix@gateway/shell/matrix.org/x-ewkgbbebqashawvg> has quit IRC (Read error: Connection reset by peer)
[04:19:11] *** Ericson2314 <Ericson2314!ericson231@gateway/shell/matrix.org/x-iqnoytqrqrzttnih> has quit IRC (Read error: Connection reset by peer)
[04:19:13] *** psydroid <psydroid!psydroidma@gateway/shell/matrix.org/x-cuhimwpyrteuhtjr> has quit IRC (Read error: Connection reset by peer)
[04:19:15] *** jantu[m] <jantu[m]!jantumatri@gateway/shell/matrix.org/x-qjdvkdkhrglgldyp> has quit IRC (Remote host closed the connection)
[04:19:17] *** GrahamPerrin[m] <GrahamPerrin[m]!grahamperr@gateway/shell/matrix.org/x-wyacqjfupxblsyhp> has quit IRC (Write error: Connection reset by peer)
[04:27:43] *** Ericson2314 <Ericson2314!ericson231@gateway/shell/matrix.org/x-abtpithjhpguqswm> has joined #illumos
[04:44:49] <Reinhilde> jbk: do you happen to know what would cause malloc() to segfault an app
[04:46:06] <jbk> rapant memory corruption probably
[04:46:32] <jbk> what app is it?
[04:46:45] <Reinhilde> a massively hacked-upon fork of eggdrop 1.3.289
[04:47:04] <jbk> one thing you could try is to run it under umem
[04:47:14] <jbk> with umem debugging enabled
[04:47:35] <jbk> it won't fix any bugs, but it might help identify the cause
[04:47:52] <Reinhilde> where is `umem` available?
[04:48:21] <jbk> UMEM_DEBUG=default UMEM_LOGGING=default LD_PRELOAD=libumem.so ./cmd_to_run
[04:48:53] <jbk> then look at the resulting core file in mdb
[04:50:54] *** igitoor <igitoor!igitur@unaffiliated/contempt> has quit IRC (*.net *.split)
[04:50:54] *** Woodstock <Woodstock!~grumpf@beiss.dessnourst.de> has quit IRC (*.net *.split)
[04:50:54] *** sensille <sensille!~arne@dsnsi.rzone.de> has quit IRC (*.net *.split)
[04:51:23] <jbk> (mdb /path/to/cmd core)l then ::status and ::umem_verify would be good starting points
[04:51:47] <Reinhilde> jbk: where can I get a copy of umem
[04:52:03] <jbk> it should be on pretty much any distro of illumos
[04:53:00] <Reinhilde> found it
[04:53:16] <jbk> you should just be able to LD_PRELOAD=libumem.so
[04:53:24] <jbk> with those other vars set
[04:56:21] *** igitoor <igitoor!igitur@unaffiliated/contempt> has joined #illumos
[04:56:21] *** Woodstock <Woodstock!~grumpf@beiss.dessnourst.de> has joined #illumos
[04:56:21] *** sensille <sensille!~arne@dsnsi.rzone.de> has joined #illumos
[04:57:19] <rmustacc> https://illumos.org/man/umem_debug has an overview of all of the debugging options.
[04:58:17] <jbk> if you have the ability to recompile the program, using the illumos patched gcc and adding -msave-args to CFLAGS (and if -fomit-frame-pointer is there, remove it from CFLAGS)
[04:58:29] <jbk> can also help with debugging
[04:59:11] *** GrahamPerrin[m] <GrahamPerrin[m]!grahamperr@gateway/shell/matrix.org/x-kufiegglgnyejsyr> has joined #illumos
[04:59:11] *** psydroid <psydroid!psydroidma@gateway/shell/matrix.org/x-hwlagtogclggrpgt> has joined #illumos
[04:59:12] *** jhot[m] <jhot[m]!jhotmatrix@gateway/shell/matrix.org/x-kcbfqiiujalzfkmo> has joined #illumos
[04:59:18] *** jantu[m] <jantu[m]!jantumatri@gateway/shell/matrix.org/x-oyqjmybofqxfyybp> has joined #illumos
[05:03:37] <Reinhilde> invalid or corrupted buffer
[05:04:50] <jbk> have you loaded the core file in mdb?
[05:15:56] *** baojg <baojg!~baojg@162.243.44.213> has quit IRC (Remote host closed the connection)
[05:18:58] *** igitoor <igitoor!igitur@unaffiliated/contempt> has quit IRC (*.net *.split)
[05:18:58] *** Woodstock <Woodstock!~grumpf@beiss.dessnourst.de> has quit IRC (*.net *.split)
[05:18:58] *** sensille <sensille!~arne@dsnsi.rzone.de> has quit IRC (*.net *.split)
[05:23:53] *** baojg <baojg!~baojg@162.243.44.213> has joined #illumos
[05:24:23] *** igitoor <igitoor!igitur@unaffiliated/contempt> has joined #illumos
[05:24:23] *** Woodstock <Woodstock!~grumpf@beiss.dessnourst.de> has joined #illumos
[05:24:23] *** sensille <sensille!~arne@dsnsi.rzone.de> has joined #illumos
[06:02:29] <Reinhilde> i guess i should at some point
[06:10:50] *** Bryson <Bryson!~anonymous@ip68-224-118-31.lv.lv.cox.net> has joined #illumos
[06:27:24] *** baojg <baojg!~baojg@162.243.44.213> has quit IRC (Remote host closed the connection)
[06:39:15] *** Bryson <Bryson!~anonymous@ip68-224-118-31.lv.lv.cox.net> has quit IRC (Quit: Bryson)
[06:54:23] *** baojg <baojg!~baojg@162.243.44.213> has joined #illumos
[07:01:33] *** stevenw99 <stevenw99!~stevenw99@node-1w7jr9y6ihy88j2e4hqrsgizq.ipv6.telus.net> has quit IRC (Ping timeout: 245 seconds)
[08:24:44] <Agnar> moin
[08:25:20] <tsoome> moin
[08:56:10] *** amrfrsh <amrfrsh!~Thunderbi@134.19.189.92> has quit IRC (Ping timeout: 268 seconds)
[08:56:26] *** alanc <alanc!~alanc@129.157.69.38> has quit IRC (Remote host closed the connection)
[08:56:53] *** alanc <alanc!~alanc@129.157.69.38> has joined #illumos
[08:58:36] *** andy_js <andy_js!~andy@94.12.192.123> has joined #illumos
[09:13:32] *** aszeszo <aszeszo!~aszeszo@unaffiliated/aszeszo> has joined #illumos
[09:30:13] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has quit IRC (Quit: tsoome)
[09:33:31] *** BH23 <BH23!~BH23@94.175.232.126> has joined #illumos
[09:52:20] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has joined #illumos
[09:54:09] *** andy_js_ <andy_js_!~andy@94.12.192.123> has joined #illumos
[09:54:14] *** andy_js <andy_js!~andy@94.12.192.123> has quit IRC (Ping timeout: 276 seconds)
[09:54:14] *** andy_js_ is now known as andy_js
[10:02:29] <Reinhilde> i'm trying to compile go1.12 through netbsd pkgsrc on omnios
[10:02:32] <Reinhilde> and i just dos'd myself
[10:07:11] <Reinhilde> it's a ridiculous situation
[10:08:03] *** joltman <joltman!~znc@unaffiliated/joltman> has quit IRC (Ping timeout: 258 seconds)
[10:08:09] <yuripv> you could just use prebuilt packages?
[10:08:55] <yuripv> I see go19, go14, go112, go111, go110 there
[10:10:27] <Reinhilde> why would a compile destroy the system
[10:13:37] <yuripv> destroy how?
[10:13:49] <yuripv> run it out of memory/swap?
[10:15:24] <Reinhilde> yuripv: load average exceeds 10. not sure exactly the mechanism for things failing
[10:16:13] <yuripv> when doing nightly, load averages (at least on my system) go as high as 50-60, sometimes more than that
[10:16:25] <yuripv> and I can't call the system being destroyed :)
[10:16:37] <yuripv> it's quite responsive
[10:17:36] <Reinhilde> yuripv: what program should I be split-screening with bmake to work out what's fucking up?+
[10:20:54] <Reinhilde> might as well ips it for now
[10:29:38] *** tru_tru <tru_tru!~tru@sillage.bis.pasteur.fr> has quit IRC (Ping timeout: 245 seconds)
[10:34:41] *** tru_tru <tru_tru!~tru@157.99.90.140> has joined #illumos
[10:36:28] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has joined #illumos
[10:42:05] *** joltman <joltman!~znc@unaffiliated/joltman> has joined #illumos
[10:47:25] *** man_u <man_u!~manu@manu2.gandi.net> has joined #illumos
[11:34:20] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 265 seconds)
[11:36:08] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[11:44:05] *** andyf <andyf!~andyf@omniosce.ee.ethz.ch> has quit IRC (Ping timeout: 250 seconds)
[11:44:28] *** hadfl <hadfl!~hadfl@omniosce.ee.ethz.ch> has quit IRC (Ping timeout: 264 seconds)
[11:58:05] *** mutin-sa <mutin-sa!~s-mutin@85.234.114.134> has quit IRC (Read error: Connection reset by peer)
[11:59:12] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has quit IRC (Ping timeout: 245 seconds)
[11:59:34] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has joined #illumos
[11:59:35] *** mutin-sa <mutin-sa!~s-mutin@85.234.114.134> has joined #illumos
[12:10:24] *** andy_js <andy_js!~andy@94.12.192.123> has quit IRC (Quit: andy_js)
[12:18:20] *** andyf <andyf!~andyf@omniosce.ee.ethz.ch> has joined #illumos
[12:18:53] *** hadfl <hadfl!~hadfl@omniosce.ee.ethz.ch> has joined #illumos
[12:20:00] *** ed209 <ed209!~ed209@165.225.128.67> has quit IRC (Remote host closed the connection)
[12:20:08] *** ed209 <ed209!~ed209@165.225.128.67> has joined #illumos
[12:25:03] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has quit IRC (Read error: Connection reset by peer)
[12:25:30] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has joined #illumos
[12:33:34] *** andy_js <andy_js!~andy@94.12.192.123> has joined #illumos
[12:36:36] *** andy_js_ <andy_js_!~andy@188.29.165.55.threembb.co.uk> has joined #illumos
[12:37:38] *** andy_js <andy_js!~andy@94.12.192.123> has quit IRC (Ping timeout: 240 seconds)
[12:37:39] *** andy_js_ is now known as andy_js
[12:53:38] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has quit IRC (Ping timeout: 276 seconds)
[12:56:36] <tsoome> issue UI should also have Difficulty levels: boring, annoying.
[13:13:13] <sensille> like fixing NULL?
[13:15:31] <andyf> like re-indenting code?
[13:15:48] <tsoome> :D
[13:24:45] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has quit IRC (Quit: 410 Gone)
[13:25:23] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has joined #illumos
[13:27:07] *** BH23 <BH23!~BH23@94.175.232.126> has quit IRC (Ping timeout: 245 seconds)
[13:29:09] *** andy_js <andy_js!~andy@188.29.165.55.threembb.co.uk> has quit IRC (Quit: andy_js)
[13:47:42] *** BH23 <BH23!~BH23@94.175.232.126> has joined #illumos
[14:00:18] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 265 seconds)
[14:05:59] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[14:06:38] *** andy_js <andy_js!~andy@97e29e78.skybroadband.com> has joined #illumos
[14:06:55] *** amrfrsh <amrfrsh!~Thunderbi@134.19.189.92> has joined #illumos
[14:14:13] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has quit IRC (Read error: Connection reset by peer)
[14:14:55] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has joined #illumos
[14:20:53] *** andy_js <andy_js!~andy@97e29e78.skybroadband.com> has quit IRC (Quit: andy_js)
[14:23:41] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has joined #illumos
[14:24:44] *** jellydonut <jellydonut!~quassel@s91904425.blix.com> has joined #illumos
[14:24:48] *** andy_js <andy_js!~andy@97e29e78.skybroadband.com> has joined #illumos
[14:25:23] *** gh34 <gh34!~textual@cpe-184-58-181-106.wi.res.rr.com> has joined #illumos
[14:38:32] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has joined #illumos
[14:57:32] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 268 seconds)
[14:59:11] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[15:01:15] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has quit IRC (Read error: Connection reset by peer)
[15:01:47] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has joined #illumos
[15:06:36] *** andy_js_ <andy_js_!~andy@97e29e78.skybroadband.com> has joined #illumos
[15:08:11] *** Kurlon <Kurlon!~Kurlon@cpe-67-253-141-249.rochester.res.rr.com> has quit IRC (Ping timeout: 258 seconds)
[15:10:03] <andyf> jlevon - I thought the concensus on IPD 10 was to not show the possibly modified arguments
[15:10:51] *** andy_js_ <andy_js_!~andy@97e29e78.skybroadband.com> has quit IRC (Ping timeout: 240 seconds)
[15:11:01] <andyf> At least, me, ptribble and Leftwing did not want that
[15:11:42] <jlevon> LeftWing is who led me to this version.
[15:12:01] <jlevon> and richlowe also pleaded with us to do what we have by default.
[15:12:37] <jlevon> luckily both you and ptribble run distributions so you can do what you prefer too :)
[15:12:39] <andyf> LeftWing must have changed his mind then from the post on the IPD thread
[15:13:15] <andyf> "I agree pretty strongly with the sentiment that it's important to
[15:13:15] <andyf> continue to display initial arguments (vs current, modified
[15:13:16] <andyf> arguments) "
[15:14:27] <andyf> As I said in the email, I don't think we are going to agree
[15:14:33] <jlevon> yes. there was a long discussion not done there. the new IPD version was based on LeftWing's suggestions.
[15:14:37] <jlevon> right, we're clearly not.
[15:16:23] <andyf> The code restructuring you've done makes a local patch pretty small at least
[15:17:19] <andyf> and deviating from POSIX is also a shame
[15:17:32] <jlevon> I don't really mind if you want to upstream /etc/default/
[15:18:11] <yuripv> deviating where exactly?
[15:18:20] <andyf> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html
[15:18:29] <jlevon> the text for ps is specific it has to be the starting arguments
[15:18:32] <andyf> Under the option -f, ps tries to determine the command name and arguments given when the process was created
[15:18:37] <jlevon> which makes setproctitle() and co basically useless.
[15:18:47] <jlevon> which is presumably why linux ignores that text.
[15:19:01] <jlevon> never mind that the specifics of the text actually imply the opposite somewhat
[15:19:26] <andyf> the text says that the "args" field is implementation defined
[15:43:53] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has joined #illumos
[15:44:36] <gitomat> [illumos-gate] 11694 os-tests: secflags_limits.sh has a typo "devlnull" -- Yuri Pankov <yuri.pankov at nexenta dot com>
[15:47:05] <andyf> I stil don't see a concensus for modifying the behaviour in the mailing list archive.. but the discussion did veer off into whether exposing [80...] was a security problem
[15:47:57] <andyf> (which it isn't)
[15:48:51] <jlevon> andyf: as I said it wasn't on the list.
[15:49:10] <jlevon> if you'd like richlowe and LeftWing (and my joyent reviewers) to directly speak up there you can ask them
[15:49:11] <jlevon> ?
[15:49:39] <andyf> I'm sure they'll see this once they're awake
[15:50:39] <andyf> As you said, we can patch this in OmniOS if necessary (although it is not just my decision, it will depend on what the other OmniOS developers want)
[15:50:44] <LeftWing> As I recall, John is making the argument reading behaviour much more compatible with the Linux cmdline file
[15:51:20] <jlevon> and linux ps
[15:51:49] <LeftWing> Right. And richlowe's point about wanting to default to what most other popular platforms are doing is not lost on me.
[15:51:58] <jlevon> and after all we're only talking about processes that have *intentionally changed their arguments for display*
[15:52:28] <andyf> As a wise man said "It's too easy for
[15:52:29] <andyf> a rogue (or broken) process to modify its arguments, making the
[15:52:29] <andyf> display confusing to the operator."
[15:53:02] <tsoome> trust noone!
[15:53:40] <LeftWing> andyf: I still believe that, I just think we need to put the behaviour I want behind a flag, instead of the default behaviour everyone else has
[15:53:47] <jlevon> andyf: I'm yet to hear of an example.
[15:54:02] <LeftWing> i.e., a flag for original args rather than a flag for current args
[15:54:12] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has quit IRC (Ping timeout: 258 seconds)
[15:55:16] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has joined #illumos
[15:58:10] *** amrfrsh <amrfrsh!~Thunderbi@134.19.189.92> has quit IRC (Remote host closed the connection)
[15:58:37] *** amrfrsh <amrfrsh!~Thunderbi@134.19.189.92> has joined #illumos
[16:02:32] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has quit IRC (Ping timeout: 245 seconds)
[16:07:24] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has quit IRC (Remote host closed the connection)
[16:07:49] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has joined #illumos
[16:17:09] *** andy_js_ <andy_js_!~andy@97e29e78.skybroadband.com> has joined #illumos
[16:21:55] *** andy_js_ <andy_js_!~andy@97e29e78.skybroadband.com> has quit IRC (Ping timeout: 265 seconds)
[16:23:22] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has quit IRC (Ping timeout: 265 seconds)
[16:26:35] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has joined #illumos
[16:33:46] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Remote host closed the connection)
[16:35:05] *** despair86 <despair86!~despair@exit.i2p.rocks> has joined #illumos
[16:35:16] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Remote host closed the connection)
[16:35:36] *** despair86 <despair86!~despair@exit.i2p.rocks> has joined #illumos
[16:38:36] *** Aram <Aram!~aram@9front.army> has joined #illumos
[16:48:14] *** wacki <wacki!~wacki@i577B0285.versanet.de> has joined #illumos
[16:59:59] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has joined #illumos
[17:39:20] *** jessfraz <jessfraz!~jessfraz@unaffiliated/jessfraz> has quit IRC (Remote host closed the connection)
[17:40:24] *** jessfraz_ <jessfraz_!~jessfraz@unaffiliated/jessfraz> has joined #illumos
[17:42:19] <rmustacc> jlevon: Well, if you want an example? I've written a bunch of code that processes argv, chops it up, and inserts nul characters. Not saying we should change our defaults, but it definitely exists in a non-malicious way.
[17:43:07] <jlevon> but why would you do that
[17:43:25] <rmustacc> Erm, at the time I didn't want to strdup a ton of stuff with key=value bits?
[17:43:44] <rmustacc> They were my program's arguments.
[17:44:37] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has quit IRC (Ping timeout: 245 seconds)
[17:44:40] <jlevon> I guess I should really be saying so why would anyone else do that, given linux ps.
[17:44:59] <rmustacc> Uh, I think most folks don't know or don't care.
[17:45:05] <rmustacc> Not saying it's a reason not to do whatever folks are doing.
[17:45:09] <rmustacc> Just, you know, it's a thing.
[17:45:24] <jlevon> ok
[17:46:21] <rmustacc> You were asking for examples, and I know I've written code that did that in my life. I don't think any of it ended up in-gate. But I've just written a lot of C programs in my life. And a lot of bad ones!
[17:46:47] <jlevon> heh
[17:46:52] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has joined #illumos
[17:48:23] <rmustacc> It does seem that doing the default that others have is probably giving folks the least surprise.
[17:48:51] *** aszeszo <aszeszo!~aszeszo@unaffiliated/aszeszo> has quit IRC (Quit: aszeszo)
[17:49:00] <rmustacc> andyf: A different perspective on POSIX is that it's only as useful as everyone already generally agrees on it. Strict letter of the law, isn't always good.
[17:49:27] <rmustacc> Ultimately, I think we'll want to have both the old and new versions as LeftWing described.
[17:49:46] <rmustacc> But I accept that jlevon doesn't want to touch that.
[18:10:18] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has quit IRC (Read error: Connection reset by peer)
[18:11:26] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has joined #illumos
[18:13:09] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has quit IRC (Read error: Connection reset by peer)
[18:13:20] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has joined #illumos
[18:21:59] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has quit IRC (Remote host closed the connection)
[18:22:38] *** sarvet <sarvet!~sarvet@i59F4522F.versanet.de> has joined #illumos
[18:24:24] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has joined #illumos
[18:24:41] *** patdk-lap <patdk-lap!~patrickdk@208.94.189.182> has quit IRC (Ping timeout: 265 seconds)
[18:29:03] *** jimklimov <jimklimov!~jimklimov@31.7.243.238> has quit IRC (Ping timeout: 268 seconds)
[18:30:16] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Remote host closed the connection)
[18:30:35] *** despair86 <despair86!~despair@exit.i2p.rocks> has joined #illumos
[18:33:40] *** BH23 <BH23!~BH23@94.175.232.126> has quit IRC (Ping timeout: 264 seconds)
[18:40:09] *** man_u <man_u!~manu@manu2.gandi.net> has quit IRC (Quit: man_u)
[18:48:14] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has joined #illumos
[18:54:01] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has quit IRC (Remote host closed the connection)
[18:54:20] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has quit IRC (Ping timeout: 268 seconds)
[18:56:05] <tsoome> time to open up my art of computer programming and see if I can get some ideas…
[18:57:32] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has quit IRC (Ping timeout: 245 seconds)
[18:58:04] <yuripv> ideas about what?
[18:58:55] <tsoome> I need simple implementation for unsigned > operator :)
[19:04:59] <danmcd> Has anyone here booted a DEBUG kernel post-11650 where they have a zvol for SWAP?
[19:05:41] <danmcd> I'm seeing some v. strange blown ASSERT()s, but it's in a project gate so I don't wanna scream fire yet, and my build is taking longer than I thought.
[19:08:51] *** yuripv <yuripv!~yuripv@85.172.54.114> has quit IRC (Ping timeout: 240 seconds)
[19:09:50] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has joined #illumos
[19:10:55] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has joined #illumos
[19:14:40] *** yuripv <yuripv!~yuripv@85.172.54.114> has joined #illumos
[19:27:02] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has quit IRC (Ping timeout: 265 seconds)
[19:28:48] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has joined #illumos
[19:34:20] <danmcd> (I hope that silence is everyone firing up their DEBUG builds...)
[19:34:54] <tsoome> :D
[19:35:39] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has quit IRC (Ping timeout: 268 seconds)
[19:37:57] <yuripv> looks like yes, running debug after 11650
[19:38:05] <danmcd> yuripv: i.e. panic at boot time?
[19:38:09] <yuripv> no.
[19:38:55] <danmcd> Oh... hmmm. And you have a swap device.... okay. This is good, likely means project-gate problem OR distro problem.
[19:39:24] <yuripv> /dev/zvol/dsk/rpool/swap 272,2 4K 16.0G 16.0G
[19:40:38] <yuripv> but.. I don't have userobj_accounting enabled on rpool
[19:40:44] <yuripv> or project_quota
[19:41:03] <danmcd> My panic is weird, and at first glance orthogonal to project part of project-gate: (I'll check my stuff afterward).
[19:41:09] <danmcd> I don't think my pool got upgraded either.
[19:41:12] <igork> danmcd: i do debug builds with zfs tests, but on dilos
[19:41:30] *** sjorge <sjorge!~sjorge@unaffiliated/sjorge> has joined #illumos
[19:41:30] <igork> full process - build -> upgrade vm -> start tests
[19:41:36] <danmcd> Given how much you side-pull from smartos, that's also interesting to know.
[19:41:52] <igork> danmcd: pull full sets
[19:41:55] <danmcd> Okay, so I'll keep digging, first-glances CAN be misleading.
[19:42:07] <igork> probably some missmerge ?
[19:42:20] <igork> i have a lot of panic on boot with missmerge first
[19:42:49] <igork> danmcd: could you paste your panic stack
[19:42:57] <danmcd> Hang on...
[19:43:07] <igork> probably i know your problem and provided to Jerry my changeset
[19:43:37] <igork> let me try to find out email
[19:44:03] <danmcd> WIth goodies.
[19:44:04] <danmcd> https://gist.github.com/danmcd/b6f2416bfcb90f6ac8e9eac2b0aeb167
[19:44:57] <igork> well, known to me
[19:46:53] <yuripv> I don't do zones?
[19:54:34] <andyf> What's the recommended ctsyle for checking if a bit is set? I've seen just if ((a & 0x10)) as well as if (a & 0x10 != 0)
[19:55:13] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has joined #illumos
[19:55:55] <yuripv> we should have a macro for that!
[19:56:16] <yuripv> I was asking myself the same question thousands of times :D
[19:56:20] <andyf> if ((sie->sie_flags & MIB2_SOCKINFO_STREAM)) {
[19:56:23] <andyf> ^ that's the line
[20:08:26] <andyf> rmustacc - the good thing is that the ps code is much cleaner and better structured after jlevon's change, so adding another flag in the future is pretty simple.
[20:18:37] *** mnowak_ <mnowak_!~mnowak_@94.142.238.232> has quit IRC (Quit: Leaving)
[20:24:47] <danmcd> Heads up, illumos#11650 is potentially hazardous to DEBUG kernels.
[20:25:18] <danmcd> If you do "swap -d <zvol>" on a DEBUG system booted with illumos#11650 in place you'll get a kernel panic.
[20:26:19] <igork> danmcd: i think it can be found by zfs tests swap
[20:27:02] <igork> zvol/zvol_swap
[20:27:10] <danmcd> On a DEBUG kernel, though.
[20:27:39] <igork> yes - for zfs tests DEBUG build is more important - ASSERTs only on it
[20:27:44] * yuripv testing
[20:27:53] * andyf has replicated it here
[20:28:16] <yuripv> yay
[20:28:46] <danmcd> Jerry is on the case, so AFAIC we don't have to yank it just yet.
[20:28:59] <danmcd> (Given this is a DEBUG problem...)
[20:30:29] *** mnowak_ <mnowak_!~mnowak_@94.142.238.232> has joined #illumos
[20:33:38] <danmcd> https://www.illumos.org/issues/11705
[20:55:17] *** anthis <anthis!~anthis@97-119-118-31.omah.qwest.net> has joined #illumos
[21:01:04] *** kohju <kohju!~kohju@gw.justplayer.com> has quit IRC (Quit: Tiarra 0.1+svn-36726: SIGTERM received; exit)
[21:01:19] *** kohju <kohju!~kohju@gw.justplayer.com> has joined #illumos
[21:07:22] *** wacki <wacki!~wacki@i577B0285.versanet.de> has quit IRC (Quit: Leaving.)
[21:16:08] *** aszeszo <aszeszo!~aszeszo@unaffiliated/aszeszo> has joined #illumos
[21:24:22] <LeftWing> andyf: I think rmustacc has done some stuff with bit fields recently, and I recall some macros being involved to make it less haphazard
[21:24:45] <LeftWing> Possibly in the context of some driver work where there were a lot of bitfields
[21:26:16] <richlowe> andyf: cstyle is != 0, because we say only use conditions on booleans
[21:28:22] <richlowe> though it's one of the more arbitrary, and more ignored, things.
[21:29:57] *** aszeszo <aszeszo!~aszeszo@unaffiliated/aszeszo> has quit IRC (Quit: aszeszo)
[21:47:05] *** mutin-sa <mutin-sa!~s-mutin@85.234.114.134> has quit IRC (Read error: Connection reset by peer)
[21:47:31] *** mutin-sa <mutin-sa!~s-mutin@85.234.114.134> has joined #illumos
[21:52:27] <yuripv> rmustacc: anything else needed for 11660?
[21:52:59] <ENOMAD> andyf, FTR, rebooting the host restored the device files.
[22:01:05] *** pmooney <pmooney!~pmooney@67-4-175-230.mpls.qwest.net> has joined #illumos
[22:11:08] <LeftWing> richlowe: If it's a single bit flag in a status field and you're treating it as a boolean, I'd say the boolean thing applies
[22:11:16] <LeftWing> If it's a mask though I'd be explicit
[22:11:39] <gitomat> [illumos-gate] 11696 loader: scan_buffer can leave empty string on stack -- Toomas Soome <tsoome at me dot com>
[22:12:17] <richlowe> LeftWing: foo & 0x10 is not boolean
[22:12:37] <richlowe> LeftWing: (I'm not like, endorsing, I'm just saying)
[22:12:41] <LeftWing> But like #define OPTION_SOMETHING 0x10
[22:12:47] <LeftWing> if (options & OPTION_SOMETHING) {
[22:12:56] <LeftWing> seems fine to me on account of it being used as a boolean
[22:13:27] <LeftWing> But like #define OPTIONS_VALID 0x3ff I would not use in the same way
[22:14:07] *** ENOMAD <ENOMAD!~nospam@lopsa/chartermember/ENOMAD> has left #illumos ("Leaving")
[22:14:30] <gitomat> [illumos-gate] 11587 loader.efi: comparison is always true due to limited range of data type -- Toomas Soome <tsoome at me dot com>
[22:20:00] *** ed209 <ed209!~ed209@165.225.128.67> has quit IRC (Remote host closed the connection)
[22:20:07] *** ed209 <ed209!~ed209@165.225.128.67> has joined #illumos
[23:02:36] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has quit IRC (Ping timeout: 265 seconds)
[23:16:42] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 245 seconds)
[23:38:18] <andyf> yuripv - are you still happy with https://illumos.org/rb/r/2270/ ?
[23:38:47] <andyf> richlowe, LeftWing - thanks.. I've seen both styles go past in recent commits and cstyle.pl doesn't complain, hence the question
[23:43:43] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[23:47:55] *** Kurlon <Kurlon!~Kurlon@cpe-67-253-141-249.rochester.res.rr.com> has joined #illumos
[23:48:12] *** pardis <pardis!~znc@quark.paardenvla.nl> has quit IRC (Quit: ZNC 1.7.4 - https://znc.in)
[23:49:09] *** pardis <pardis!~znc@quark.paardenvla.nl> has joined #illumos
[23:50:31] *** gh34 <gh34!~textual@cpe-184-58-181-106.wi.res.rr.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[23:57:37] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has quit IRC (Read error: Connection reset by peer)
[23:58:52] *** merzo <merzo!~merzo@228-53-133-95.pool.ukrtel.net> has joined #illumos
[23:59:41] *** despair86 <despair86!~despair@exit.i2p.rocks> has quit IRC (Quit: brb installing patches)
[23:59:49] *** jellydonut <jellydonut!~quassel@s91904425.blix.com> has quit IRC (Quit: jellydonut)
top

   September 17, 2019  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >