libuuid patch: #4430 (libuuid could cache /dev/random)

I just would like to draw attention to this patch: https://github.com/illumos/illumos-gate/commit/84615402a46a91be66843bd64e4fb72642b06e9d

After this patch some programs may start generating duplicated UUID.

Here is scenario to demonstrate the difference between patched and non-patched version:

#!/usr/bin/perl
use UUID;
 
sub get_new_uuid {
    UUID::generate(my $uuid);
    UUID::unparse($uuid, my $string);
    return $string;
}
 
my $u = get_new_uuid();
 
unless (fork) {
    print get_new_uuid() . "\n";
    exit;
}
 
unless (fork) {
    print get_new_uuid() . "\n";
    exit;
}
 
sleep 1;

Output without patch:
cc9b9de4-8c0e-4885-d9a1-81b96a8b7e18
1470cbb2-a979-66c7-cd4d-e15aea3c2ccc
 
Output with patch:
b2b01b94-133e-4ceb-8c3c-d804a380a477
b2b01b94-133e-4ceb-8c3c-d804a380a477

Regards,
Alexey Komarov

illumos-userland | Archives | Modify Your Subscription
Bill Rees | 16 Apr 23:52 2013

ipmi support

I'm back porting the ipmi changes to the bmc driver and the fm to an older version of illumos but am having trouble testing it.  As in I don't know what I'm doing here with ipmi.

I can run ipmitool on a remote host and verify the bmc is working but I can't see that the fmd ever notices or even knows about it.  If I look at the modules loaded into the  fmd there isn't anything that suggests ipmi is covered and an fmstat output doesn't show anything obviously ipmi related.

While this all may mean the driver is non functional, I'd like to at least know that I'm looking in the right locations.

So, how do you use fm to access ipmi data?

Bill Rees




illumos-userland | Archives | Modify Your Subscription
Adam Števko | 4 Oct 01:08 2012
Picon

3255 gmake publish does not work in oi-build

Hi,

Issue: https://www.illumos.org/issues/3255
Changeset: https://bitbucket.org/xenol/oi-build-3255/changeset/aefecd8601319438ebde2b964efd588b9e4b6b50

How to reproduce:
- clone current oi-build
- run gmake publish for some component

Commit https://hg.openindiana.org/oi-build/rev/b4aa1976cf50 introduced source subdirectory.
However, $(PKG_PROTO_DIRS) weren't changed so pkgdepend would look for $(COMPONENT_SRC) and not
source/$(COMPONENT_SRC) and publish would fail with error.

This was also reported on IRC some time ago.

Also, after running gmake clean, empty source/ directory will exist. Should this be fixed in this commit,
as well?

Cheers,

Adam

-------------------------------------------
illumos-userland
Archives: https://www.listbox.com/member/archive/191052/=now
RSS Feed: https://www.listbox.com/member/archive/rss/191052/22274027-f76e9abe
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274027&id_secret=22274027-2dad3c7c
Powered by Listbox: http://www.listbox.com

Adam Števko | 1 Oct 20:42 2012
Picon

2324 bring unrar changes from userland-gate

Hi,

URL: https://www.illumos.org/issues/2324
Changeset: https://bitbucket.org/xenol/oi-build-2324/changeset/e4324e058d735b541e1603ba97840b49cc407d9c

To sum up, oracle removed one patch, which was accepted by upstream. Package can be compiled by studio and works.

Any feedback welcome.

Cheers,
Adam
Adam Števko | 29 Sep 15:16 2012
Picon

3239 userland-unpack does not handle xz archive

Hi,

this change was brought from userland-gate, so I do not think it has to be reviewed. It just added two lines
looking for xz suffix and setting xz as a uncompress method.

Issue: https://www.illumos.org/issues/3239

Changeset: https://bitbucket.org/xenol/oi-build-3239/changeset/8064993185a3fbbd737b908bcc2c4e3646b7811b

Cheers,

Adam
Adam Števko | 24 Sep 15:13 2012
Picon

2305 bring ggrep updates from userland-gate

Hi,

Issue: https://www.illumos.org/issues/2305

Changeset: https://bitbucket.org/xenol/oi-build-2305/changeset/e36c27c03efc5d58aa9f1918ea7885d2177b7a96

I bumped grep to the latest version 2.14. As grep from version 2.10 is available only as xz archive I added
changes to userland-unpack from userland-gate to support xz.

I had several issues with some tests failing (ended with XFAIL, not FAIL). Only one test FAILed and the one
for localeconv. 

xenol <at> build01:~/code/packages/ggrep/components/ggrep$ ggrep -E '^FAIL: '
build/i86/gnulib-tests/test-suite.log 
FAIL: test-localeconv
xenol <at> build01:~/code/packages/ggrep/components/ggrep$ cat
build/i86/gnulib-tests/test-localeconv.log

/export/home/xenol/code/packages/ggrep/components/ggrep/source/grep-2.14/gnulib-tests/test-localeconv.c:41:
assertion failed

Line 41 of test-localeconv here:

http://fossies.org/dox/grep-2.14/test-localeconv_8c_source.html 

I run gmake test on grep 2.10 and the same test fails with the same issue. I am not sure if this is caused by some
local configuration. I did this in freshly installed zone. If anyone could run and post output of gmake
test, I would be grateful.

Cheers,

Adam

-------------------------------------------
illumos-userland
Archives: https://www.listbox.com/member/archive/191052/=now
RSS Feed: https://www.listbox.com/member/archive/rss/191052/22274027-f76e9abe
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274027&id_secret=22274027-2dad3c7c
Powered by Listbox: http://www.listbox.com

Adam Števko | 22 Sep 16:35 2012
Picon

2159 add xz to userland

Hi, 

I have updated aszeszo's original xz package and bumped it to 5.0.4

Changeset: https://bitbucket.org/xenol/oi-build-2159/changeset/c509c0849d39aae2efbdbeb43a2053c0a9c89bc9

Issue URL: https://www.illumos.org/issues/2159

Cheers,

Adam

-------------------------------------------
illumos-userland
Archives: https://www.listbox.com/member/archive/191052/=now
RSS Feed: https://www.listbox.com/member/archive/rss/191052/22274027-f76e9abe
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274027&id_secret=22274027-2dad3c7c
Powered by Listbox: http://www.listbox.com

Alasdair Lumsden | 10 Sep 00:27 2012
Picon

Re: Please comment #2314 isc-dhcp

Hi Gary,

I have pushed this now:

https://hg.openindiana.org/oi-build/rev/064bc3aa72d4

Many thanks for your contribution!

Cheers,

Alasdair
Alasdair Lumsden | 10 Sep 00:14 2012
Picon

Re: Please comment #2314 isc-dhcp

Hi Gary,

On 09/09/2012 23:02, Gary Gendel wrote:
> Alasdair,
>
> It was my understanding that these are the bookkeeping database files
> that are created by the server. As such, they do not need to
> be installed. If I am mistaken then we should put them back.

I think they're pre-created so that the files have the correct 
permissions. Probably better to leave them in.

Rather than do another changeset to bit bucket, I can make the change 
for you and push what you've done so far, which I'll do now for you.

Cheers,

Alasdair
Adam Števko | 5 Sep 01:16 2012
Picon

Re: Please comment #2314 isc-dhcp

Hi Gary,

welcome to packaging stuff. I am resending this to userland list at illumos.org.

Please, change the OpenSolaris CDDL license to the Illumos one, the text can be found at https://bitbucket.org/xenol/illumos-userland-2162/src/24656bd2ab51/components/zabbix-agent/Makefile for example. Also do not forget about copyright.

Otherwise, changes look good to me.

P.S: I am sorry I forgot to mention that the repository on bitbucket should contain issue number in the name. It makes tracking changes easier. So, when creating the repository for the next time, please put issue number in it's name.

Cheers,

Adam

On Sep 5, 2012, at 12:45 AM, gary <at> genashor.com wrote:

I've cleaned up and updated isc-dhcp to 4.2.4-R1. This already has the updates provided by Oracle so I removed the patches which are not required. I also removed duplicate items in the p5m file and fixed the Makefile so the BIND sub-module gets built correctly. This is my first foray into helping with oi userland so be critical so I can grow as a contributor. Thanks.

My clone is at https://bitbucket.org/ggendel/oi-build

Gary

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
Adam Števko | 13 Aug 00:22 2012
Picon

3079 add libssh2 into illumos-userland

Hi,

libssh2 is a optional dependency for zabbix suite. libssh2 is a client-side C library implementing the
SSH2 protocol.

Changeset: https://bitbucket.org/xenol/oi-build-3079/changeset/9352ba5d9e8930691e6a6548453c752be6714065

Cheers,

Adam

Gmane