Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Moinak Ghosh
[EMAIL PROTECTED] wrote: [...] Strictly conformant to the above would therefore be: #define dirfd(dp) ((dp) ? (dp)-dd_fd : -1) No. Nothing to do with strictly conformant; while it is possible to have a DIR * which is NULL, using it immediately gets you undefined behaviour. IMHO,

Re: [osol-discuss] Re: Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Casper . Dik
And to try to answer my own question, Draft 2 says (about dirfd() among others): ...shall be declared as functions and may also be defined as macros. Function prototypes shall be provided. and specifically about dirfd(): The dirfd( ) function may fail if: [EINVAL] The dirp argument does not

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Ian Collins
Moinak Ghosh wrote: [EMAIL PROTECTED] wrote: [...] Strictly conformant to the above would therefore be: #definedirfd(dp)((dp) ? (dp)-dd_fd : -1) No. Nothing to do with strictly conformant; while it is possible to have a DIR * which is NULL, using it immediately gets you

Re: [osol-discuss] Re: blastwave package handling [was Re: Re: joining Sun]

2007-03-23 Thread Eric Enright
On 3/22/07, James Carlson [EMAIL PROTECTED] wrote: I don't think, though, that decent package management is entirely or even primarily a feature of the packaging software itself. A huge amount of the effort rests on the project teams who package and deliver the software -- if they don't think

[osol-discuss] Re: DT_SUNW_RTLDINF Dynamic Tag

2007-03-23 Thread Rajesh Paul
Thanks Rod ! Does the GNU Toolchain also generates this dynamic entry (or a similar kind) in its executable's elf files? If not, Would the rtld still work fine without this Libc interface information ? Regards, Rajesh This message posted from opensolaris.org

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Casper . Dik
As a related note glibc has some questionable protections, like free(NULL) which it simply ignores resulting in bugs remaining hidden. GNU ls does a free(NULL) somewhere which we discovered while demoing truss on linux processes in BrandZ. It is also visible when you use ltrace in

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Ian Collins
[EMAIL PROTECTED] wrote: As a related note glibc has some questionable protections, like free(NULL) which it simply ignores resulting in bugs remaining hidden. GNU ls does a free(NULL) somewhere which we discovered while demoing truss on linux processes in BrandZ. It is also visible

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Joerg Schilling
[EMAIL PROTECTED] wrote: As a related note glibc has some questionable protections, like free(NULL) which it simply ignores resulting in bugs remaining hidden. GNU ls does a free(NULL) somewhere which we discovered while demoing truss on linux processes in BrandZ. It is also

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Joerg Schilling
Ian Collins [EMAIL PROTECTED] wrote: Solaris libc, unfortunately, also allows free(foo); free(foo); Legal undefined behaviour :) Calling free(foo); free(foo); is not legal and may result in anything, including pink smoke on top of your screen. free(foo); free(foo); however is no

Re: [osol-discuss] joining Sun

2007-03-23 Thread Dick Davies
On 22/03/07, Darren J Moffat [EMAIL PROTECTED] wrote: Dick Davies wrote: On 22/03/07, Thomas De Schampheleire [EMAIL PROTECTED] wrote: pkginfo SUNWman does show: system SUNWman On-Line Manual Pages doesn't this mean it is installed? That's the man command, not the man pages. The

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Ian Collins
Joerg Schilling wrote: Ian Collins [EMAIL PROTECTED] wrote: Solaris libc, unfortunately, also allows free(foo); free(foo); Legal undefined behaviour :) Calling free(foo); free(foo); is not legal and may result in anything, including pink smoke on top of your screen.

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
Hi. The ARC Cases for the WebStack NG Project have been submitted for review (and hopefully approval), and i would like to ask our community's input regarding two important questions which have come up during our discussions: 1. Should the initial components released for this

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
Overwriting the /usr/apache2 that comes on the Solaris media is a no-no, in my opinion, and /usr/apache2.2 just pollutes the /usr namespace even more than it is already. IMHO, the correct place for this is under /opt. Agreed. I have no strong feelings either way, but I would prefer

Re: [osol-discuss] Re: Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Frank Hofmann
On Thu, 22 Mar 2007, Richard L. Hamilton wrote: And to try to answer my own question, Draft 2 says (about dirfd() among others): ...shall be declared as functions and may also be defined as macros. Function prototypes shall be provided. and specifically about dirfd(): The dirfd( ) function

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
2. The currently proposed Apache 2.2.4 integration installs Apache in /usr/apache2, thereby _overwriting_ the existing Apache 2.0.x. Valid arguments have been made pro, and against this approach, with the suggestion that Apache 2.2.4 installs in /usr/apache2.2, thereby preserving the

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Joerg Schilling
Moinak Ghosh [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: [...] Strictly conformant to the above would therefore be: #definedirfd(dp) ((dp) ? (dp)-dd_fd : -1) No. Nothing to do with strictly conformant; while it is possible to have a DIR * which is NULL,

[osol-discuss] Re: [sfwnv-discuss] Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
Whatever proposal wins it should preserve _choice_ for admins/developers. Let _them_ decide which version they are going to use. If we are going to compete with linux we should give choice because one of linux strength is giving choice (one may disagree with me but I have written one of).

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
The user could easily change the apache2 symlink if it bothers them, and that would point to the new version, but would allow your entire stack to use the runpath you compiler for. That won't work. It's ad-hoc, and ad-hoc doesn't work if you have several tens of thousands (yes, you read

Re: [osol-discuss] Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Moinak Ghosh
[EMAIL PROTECTED] wrote: As a related note glibc has some questionable protections, like free(NULL) which it simply ignores resulting in bugs remaining hidden. GNU ls does a free(NULL) somewhere which we discovered while demoing truss on linux processes in BrandZ. It is also visible

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
These ARC cases are for integration to Solaris, so /opt is inappropriate, and /usr is correct. I missed that, ouch. In that case, apologies for the /opt questions. I was under the *wrong* impression that CoolStack (NG) was delivered separately of Solaris. Live and learn... This message

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
I never liked the /etc/opt/apache2, and so on that some distributions did as sometimes it wasn't clear which apache2 read what configuration from where, it also made greps by lazy admins (like me) painful ;) /etc/opt/vendor or stock symbol/apache2/ is the clean and correct way to deliver

[osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread UNIX admin
Agreed, which is why the docs actually suggest /{etc,var}/opt/packagename, for example, /etc/opt/RICHTapache2 and /var/opt/RICHTapache2. Although the pathname is a bit longer, there can be no confusion as to what package it's associated with! That works too, although over time, you'll

[osol-discuss] Solaris on Intel's Classmate PC?

2007-03-23 Thread Joerg Schilling
Hi, before it is too late and children will be infiltrated by MS software anywhere on the world, we need Solaris in the Intel competitive HW made against the One Laptop per Child initative. http://www.classmatepc.com/classmatepc-system-hardware.html Jörg -- EMail:[EMAIL PROTECTED] (home)

Re: [osol-discuss] Update to B60 ?

2007-03-23 Thread James Carlson
Horvath writes: How to update to Nevada b60 ? Assuming you have build 60 available, there are several ways to go about it. Here are three: - Boot from an snv_60 DVD. This is very slow and requires your system to be down while the upgrade is happening, but it works. - Use lofiadm to

Re: [osol-discuss] Re: Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread James Carlson
Frank Hofmann writes: On Thu, 22 Mar 2007, Richard L. Hamilton wrote: The dirfd( ) function may fail if: [EINVAL] The dirp argument does not refer to a valid directory stream. Will they really go for that ? I mean, the explicit NULL exception is one thing, but claiming that the

[osol-discuss] Firefox 2.0.0.3 contrib. builds on Solaris10, Solaris8/9 are available

2007-03-23 Thread Dave Lin
Please do NOT reply to this address. If you have any problems, feel free to send email to desktop dash discuss at opensolaris dot org Firefox 2.0.0.3 contrib. builds on Solaris10, Solaris8/9 are now available on www.mozilla.com What's New ===

Re: [osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread James Carlson
UNIX admin writes: I never liked the /etc/opt/apache2, and so on that some distributions did as sometimes it wasn't clear which apache2 read what configuration from where, it also made greps by lazy admins (like me) painful ;) /etc/opt/vendor or stock symbol/apache2/ is the clean

Re: [osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread Alan Coopersmith
UNIX admin wrote: These ARC cases are for integration to Solaris, so /opt is inappropriate, and /usr is correct. I missed that, ouch. In that case, apologies for the /opt questions. I was under the *wrong* impression that CoolStack (NG) was delivered separately of Solaris. Live and

RE: [osol-discuss] Solaris on Intel's Classmate PC?

2007-03-23 Thread Stewart, David C
I can ask around and see if there is an opportunity here for Solaris as well. Believe the classmate PC has been going on long before the Sun-Intel alliance. One thing I noticed is that the HW platform described only has 256MB of memory. When I tried to install an OpenSolaris build the other

Re: [osol-discuss] Solaris on Intel's Classmate PC?

2007-03-23 Thread Casper . Dik
Is this just a packaging issue? Can Solaris run on small machines?= Are there implementations which run on really tiny things like cell= phones and the like? GUI installer issue. Casper ___ opensolaris-discuss mailing list

Re: [osol-discuss] Solaris on Intel's Classmate PC?

2007-03-23 Thread Ignacio Marambio Catán
On 3/23/07, Stewart, David C [EMAIL PROTECTED] wrote: I can ask around and see if there is an opportunity here for Solaris as well. Believe the classmate PC has been going on long before the Sun-Intel alliance. One thing I noticed is that the HW platform described only has 256MB of memory.

Re: [osol-discuss] Solaris on Intel's Classmate PC?

2007-03-23 Thread Darren J Moffat
Stewart, David C wrote: I can ask around and see if there is an opportunity here for Solaris as well. Believe the classmate PC has been going on long before the Sun-Intel alliance. One thing I noticed is that the HW platform described only has 256MB of memory. When I tried to install an

Re: [osol-discuss] Re: Re: Fire!! core dumped!

2007-03-23 Thread Frank Hofmann
On Thu, 22 Mar 2007, eric wang wrote: Thanks!! More information: Hi, All, Here is the pstack information from dbx. [EMAIL PROTECTED] ([EMAIL PROTECTED]) terminated by signal SEGV (access to address exceeded protections) 0xfd90b258: _lock_try_adaptive : ldstub [%o0 + 12], %o1 (dbx)

[osol-discuss] Containers in practice – please advice

2007-03-23 Thread Adam Luzecki
Hello forum users, I am finishing computer science studies this year and I need to create thesis. I'm interested in Solaris containers and would like to describe this technology. I want to create a project that uses containers to do “something useful” and provides some functionality, not only

Re: [osol-discuss] Containers in practice – pleas e advice

2007-03-23 Thread John Clingan
You can still show the value of containers with 512MB RAM (although you may want to disable the desktop UI if RAM becomes too big an issue). I've done 3 (sparse) zones in 512MB RAM with no issues. One of the primary benefits of Containers is delegated administration. Think of a company

Re[2]: [osol-discuss] Containers in practice – please advice

2007-03-23 Thread Robert Milkowski
Hello John, Friday, March 23, 2007, 5:10:34 PM, you wrote: JC You can still show the value of containers with 512MB RAM (although you JC may want to disable the desktop UI if RAM becomes too big an issue). JC I've done 3 (sparse) zones in 512MB RAM with no issues. JC One of the primary

Re: [osol-discuss] Re: Web Stack NG Project: Questions for the Community

2007-03-23 Thread Rich Teer
On Fri, 23 Mar 2007, UNIX admin wrote: That works too, although over time, you'll have lots of config dirs in /etc/opt/. True... I deliver all my config stuff in /etc/opt/my-stock-symbol/ and then, if the app has more than two config files, in /etc/opt/my-stock-symbol/app, for example:

Re: [osol-discuss] Solaris on Intel's Classmate PC?

2007-03-23 Thread Brian Nitz
I've been long interested in reducing Solaris's footprint. This wasn't possible with the monolithic Solaris distribution, just as it isn't possible to install RHEL4 onto a mobile phone. But Nexenta and Belenix both have a smaller footprint than Sun's server focused distribution and of you

[osol-discuss] Project Proposal: NWS (Network Storage)

2007-03-23 Thread John Forte
The NWS project consists of drivers, libraries and utilities in support of storage interconnect technologies including both Fibre Channel and iSCSI. The NWS project source code has been available since 2/06, however, the project does not have its own project page but rather exists as part of

[osol-discuss] PCIe Advanced Error Reporting (AER) Handling

2007-03-23 Thread Hendrik Tanto
Is there a mechanism to pass PCIe AER from PCI nexus driver to leaf driver ? PCIe AER driver in Linux has a PCI error recovery callback to notify AER to endpoint device driver. Does Solaris have similar infrastructure ? Thanks. This message posted from opensolaris.org

Re: [osol-discuss] Election Voting Opens Mon Mar 12th (00:00 hrs)

2007-03-23 Thread Dennis Clarke
I'll try not to muddle things further, but the Review your contributor grants section of the poll instructions and relevant sections of the draft constitution could be made more specific to this election: http://opensolaris.org/os/project/website/poll_instructions In simple terms, if you

Re: [osol-discuss] joining Sun

2007-03-23 Thread Brian Nitz
Shawn Walker wrote: Your manpath probably isn't set correctly. The default manpath for Solaris does *not* include all of the man directories for all installed software; it is up to you set it appropriately. Setting your manpath to include /usr/sfw/man, /opt/SUNWspro/man, etc. would probably

Re: [osol-discuss] Election Voting Opens Mon Mar 12th (00:00 hrs)

2007-03-23 Thread Brian Nitz
You might want to look at the way the GNOME community handles elections. I thought that was pretty straightforward. Dennis Clarke wrote: I'll try not to muddle things further, but the Review your contributor grants section of the poll instructions and relevant sections of the draft

Re: [osol-discuss] Project Proposal: NWS (Network Storage)

2007-03-23 Thread Tom Haynes
John Forte wrote: The NWS project consists of drivers, libraries and utilities in support of storage interconnect technologies including both Fibre Channel and iSCSI. The NWS project source code has been available since 2/06, however, the project does not have its own project page but rather

Re: [osol-discuss] Re: blastwave package handling [was Re: Re: joining Sun]

2007-03-23 Thread Alan DuBoff
On Friday 23 March 2007 01:00 am, Eric Enright wrote: Indeed. Several months ago a friend of mine running Debian did an `apt-get dist-upgrade'. Among other things, it upgraded apache2 and squid to newer versions, which took advantage of epoll(). epoll() is only available in Linux 2.6.

Re: [osol-discuss] Update to B60 ?

2007-03-23 Thread Alan DuBoff
On Thursday 22 March 2007 10:15 pm, Horvath wrote: How to update to Nevada b60 ? I would start by having the media. Then I would boot it on the machine, and select the upgrade option instead of a new install. -- Alan DuBoff - Solaris x86 Engineering - IHV/OEM Group Advocate of insourcing at

[osol-discuss] Re: PCIe Advanced Error Reporting (AER) Handling

2007-03-23 Thread Hendrik Tanto
Thanks Cindi. I assume the to be released document will detail how a leaf driver can register its callback to the nexus driver/framework. Is it correct ? Or is there any current published document that talks about the callback registration ? Thanks. This message posted from opensolaris.org

Re: [osol-discuss] Project Proposal: NWS (Network Storage)

2007-03-23 Thread Cyril Plisko
On 3/23/07, John Forte [EMAIL PROTECTED] wrote: The NWS project consists of drivers, libraries and utilities in support of storage interconnect technologies including both Fibre Channel and iSCSI. The NWS project source code has been available since 2/06, however, the project does not have

Re: [osol-discuss] Project Proposal: NWS (Network Storage)

2007-03-23 Thread Erast Benson
So, could we assume that NWS now will not be delivered as a separated tarball and will be part of ON tarball? Or this is just an effort to get dedicated web page on opensolaris.org? On Fri, 2007-03-23 at 10:19 -0700, John Forte wrote: The NWS project consists of drivers, libraries and utilities

Re: [osol-discuss] Re: blastwave package handling [was Re: Re: joining Sun]

2007-03-23 Thread Milan Jurik
Hi, Alan DuBoff píše v pá 23. 03. 2007 v 12:12 -0700: On Friday 23 March 2007 01:00 am, Eric Enright wrote: Indeed. Several months ago a friend of mine running Debian did an `apt-get dist-upgrade'. Among other things, it upgraded apache2 and squid to newer versions, which took

Re: [osol-discuss] Project Proposal: NWS (Network Storage)

2007-03-23 Thread Tom Haynes
Erast Benson wrote: So, could we assume that NWS now will not be delivered as a separated tarball and will be part of ON tarball? Or this is just an effort to get dedicated web page on opensolaris.org? Erast, You ask a good question. It isn't aimed as much to get a new project page in

[osol-discuss] Re: RE: Solaris on Intel's Classmate PC?

2007-03-23 Thread UNIX admin
One thing I noticed is that the HW platform described only has 256MB of memory. When I tried to install an OpenSolaris build the other day on a machine with 512MB, the install failed due to my machine not having enough memory - wanted 796MB or some such. I always install Solaris in text

[osol-discuss] Re: Re: Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Richard L. Hamilton
Will they really go for that ? I mean, the explicit NULL exception is one thing, but claiming that the function may not crash for any random pointer passed in, but return EINVAL instead, forces either a system call (to error out on copyin() failure) or a horrid check against all

Re: [osol-discuss] Re: Re: Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Casper . Dik
int fd; DIR *dp; if ((fd=dirfd(dp=opendir(/my/dir))) == -1) { /*fail*/ } Well, this code cannot tell the difference between this implementation does not use file descriptors for directory streams and directory stream open failed. Casper ___

[osol-discuss] Re: Proposal to include dirfd(3C) into OpenSolaris

2007-03-23 Thread Richard L. Hamilton
Strictly conformant to the above would therefore be: #define dirfd(dp) ((dp) ? (dp)-dd_fd : -1) You'd still crash if you pass an invalid pointer, though. Regardless of one's opinion on checks for NULL args, as a macro, that's bad, with multiple references to the arg on the

Re: [osol-discuss] joining Sun

2007-03-23 Thread Shawn Walker
On 23/03/07, Brian Nitz [EMAIL PROTECTED] wrote: Shawn Walker wrote: Your manpath probably isn't set correctly. The default manpath for Solaris does *not* include all of the man directories for all installed software; it is up to you set it appropriately. Setting your manpath to include

[osol-discuss] Re: Update to B60 ?

2007-03-23 Thread Horvath
I should correct myself. Where can I get the dvd iso images of b60 or b61? I thought the iso's would be updated every other friday but when I checked the web site I saw only b59 there. This message posted from opensolaris.org ___

Re: [osol-discuss] Re: Update to B60 ?

2007-03-23 Thread Shawn Walker
On 23/03/07, Horvath [EMAIL PROTECTED] wrote: I should correct myself. Where can I get the dvd iso images of b60 or b61? I thought the iso's would be updated every other friday but when I checked the web site I saw only b59 there. They are not necessarily updated every other Friday. It

Re: [osol-discuss] Re: RE: Solaris on Intel's Classmate PC?

2007-03-23 Thread Moinak Ghosh
UNIX admin wrote: One thing I noticed is that the HW platform described only has 256MB of memory. When I tried to install an OpenSolaris build the other day on a machine with 512MB, the install failed due to my machine not having enough memory - wanted 796MB or some such. I always

Re: [osol-discuss] Re: Update to B60 ?

2007-03-23 Thread Cyril Plisko
On 3/24/07, Shawn Walker [EMAIL PROTECTED] wrote: On 23/03/07, Horvath [EMAIL PROTECTED] wrote: I should correct myself. Where can I get the dvd iso images of b60 or b61? I thought the iso's would be updated every other friday but when I checked the web site I saw only b59 there. They are

Re: [osol-discuss] Re: Update to B60 ?

2007-03-23 Thread Shawn Walker
On 24/03/07, Cyril Plisko [EMAIL PROTECTED] wrote: On 3/24/07, Shawn Walker [EMAIL PROTECTED] wrote: On 23/03/07, Horvath [EMAIL PROTECTED] wrote: I should correct myself. Where can I get the dvd iso images of b60 or b61? I thought the iso's would be updated every other friday but when I

Re: [osol-discuss] Re: RE: Solaris on Intel's Classmate PC?

2007-03-23 Thread Shawn Walker
On 24/03/07, Moinak Ghosh [EMAIL PROTECTED] wrote: UNIX admin wrote: One thing I noticed is that the HW platform described only has 256MB of memory. When I tried to install an OpenSolaris build the other day on a machine with 512MB, the install failed due to my machine not having enough