[osol-discuss] Best place for installation of add-on apps
Hello People, I've googled a lot and I'm confused, because I still don't know what the best place for installation of add-on apps under OpenSolaris is. For example, I want to compile and install some free software/open source like OpenVPN or memtest86+. What prefix should I type for configure script? /usr/local? /opt/local? /opt/sfw? /opt/appname? What do you recommend me? Is it something like OpenSolaris way? My best regards, Pawel Tecza ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Best place for installation of add-on apps
Shawn Walker pisze: Paweł Tęcza wrote: Hello People, I've googled a lot and I'm confused, because I still don't know what the best place for installation of add-on apps under OpenSolaris is. For example, I want to compile and install some free software/open source like OpenVPN or memtest86+. What prefix should I type for configure script? /usr/local? /opt/local? /opt/sfw? /opt/appname? What do you recommend me? Is it something like OpenSolaris way? My best regards, From man filesystem: /usr/local Not part of the SVR4-based Solaris distribution. The /usr directory is exclusively for software bundled with the Solaris operating system. If needed for storing machine-local add-on software, create the directory /opt/local and make /usr/local a symbolic link to /opt/local. The /opt directory or filesystem is for storing add-on software to the system. If this is unpackaged software, that's where I'd put it. Hi Shawn, Thanks a lot for your reply! Do the rest of you agree that /opt/local is the best location for that kind of software? ;) Have a nice day, P. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Best place for installation of add-on apps
Dnia 2008-11-17, pon o godzinie 13:08 -0500, Mike Meyer pisze: On Mon, 17 Nov 2008 18:05:35 +0100 Paweł Tęcza [EMAIL PROTECTED] wrote: Thanks a lot for your reply! Do the rest of you agree that /opt/local is the best location for that kind of software? ;) Yes, but create the symlink for /usr/local before you start installing things. A lot of open source software stayed with /usr/local, and may not move easily, so I wouldn't bother trying. Hello Mike, Thank you very much for the hint! Fortunately I've installed only one add-on app. It's OpenVPN and I've put it into /opt/openvpn-2.0.9, because someone recommended me that location :) BTW, did you know that both openvpn and memtest86+ are in the netbsd pkgsrc system, which works on both Solaris and OpenSolaris? It comes with a robust, flexible build system and hence has generated one of the more impressive lists of available applications. Thanks for the info! It's good to know it. I dream about official OpenSolaris IPS repo with all software I need to use. Just like Debian/Ubuntu repos :D I installed OpenVPN from IPS Blastwave repo, but I have a problem with running TAP driver, probably because of Solaris patch (more details you can find in archives of networking-discuss [1] and laptop-discuss mailing lists). So I'm trying now with vanilla OpenVPN sources. I know that SchilliX Live CD has memtest86 utility (I'm not sure whether it's memtest86 or memtest86+), but I don't want to download huge .iso file for only one tool. My best regards, P. [1] http://www.opensolaris.org/jive/thread.jspa?threadID=76963tstart=0 [2] http://www.opensolaris.org/jive/thread.jspa?threadID=82582tstart=0 ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] [OT] was Re: The future of the IPS system
Martin Bochnig pisze: You folks are talking, talking, talking. I work on real code, but nobody wants to help me (in whatever[!]) way. Rename it from Developer community to chatting community. Hello Martin, Are you surprised? I'm not. I was watching that long and hot thread and my comment is following: I can agree with your arguments and even believe you that Conary is great package system for OpenSolaris, but unfortunately your aggressive and uncultured style of discuss can be discouraging for many people here. Do you talk with people in real world in the same way? I doubt about it. So, if you really want Conary success, then you should be its better advocate... Have a nice day, Pawel ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] The pool is formatted using an older on-disk format.
[EMAIL PROTECTED] pisze: If I'll upgrade the pool under my new BE, then I'm not able to boot my laptop using old BE, because it doesn't support new version of ZFS. Am I right? If the old BE doesn't support the new ZFS version, then indeed you can't boot. Hi, Thanks a lot for the confirmation! :) Have a nice day, P. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] SOLVED: Image update without a clone of current BE?
Paweł Tęcza pisze: Hello All, I would like to upgrade OSOL from build 96 to build 99 on my old laptop. Unfortunately I have a small Solaris partition and upgrading process failed because free disk space is not enough. Hi again, The problem has been solved. It was pretty simple. I did the following steps: 1. Make backup of /etc and my home directory using `tar scp` 2. Decrease a size of Linux partition with Ubuntu and increase a size of OSOL partition by GParted 3. Install OSOL 2008.11 build 96 again 4. Image upgrade using `pkg image-update` Now I have OSOL 2008.11 build 99 finally. I like it, because it looks very nice :) Cheers, P. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] The pool is formatted using an older on-disk format.
Hello Folks, After successfully OSOL upgrade (b96 - b99) I can see the following result displayed by `zpool status` command: # zpool status pool: rpool state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAMESTATE READ WRITE CKSUM rpool ONLINE 0 0 0 c3d0s0ONLINE 0 0 0 errors: No known data errors I'm glad that I don't have any errors, but I'm not sure it's serious problem that my pool is formatted using an older on-disk format. Can I ignore that warning or rather I should do `zpool upgrade`? What's your opinion? I ask you, because I don't want to break my new and warm OSOL image :) Best regards, Pawel ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] The pool is formatted using an older on-disk format.
[EMAIL PROTECTED] pisze: I'm glad that I don't have any errors, but I'm not sure it's serious problem that my pool is formatted using an older on-disk format. Can I ignore that warning or rather I should do `zpool upgrade`? What's your opinion? I ask you, because I don't want to break my new and warm OSOL image :) Hello Casper, At first, thank you very much for your feedback! If you have multiple boot environments, make sure that you don't upgrade zfs beyond the highest version supported by all boot environments. (e.g, when using liveupgrade and such) Now I have 2 BEs: old (opensolaris) and new (opensolaris-1): # beadm list BEActive Mountpoint Space Policy Created ---- -- - -- --- opensolaris - - 22.87M static 2008-10-20 18:47 opensolaris-1 NR / 5.28G static 2008-10-21 11:51 My new BE seems to be OK, so probably I can destroy the old BE to save my disk space. But beyond that, it's better to upgrade; typically, whenever I upgrade to a newer Solaris version, I upgrade BEFORE booting in the new boot environment. (So I'm sure that both still support the zfs version) It's too late ;) I've just booted the laptop in the new BE. If I'll upgrade the pool under my new BE, then I'm not able to boot my laptop using old BE, because it doesn't support new version of ZFS. Am I right? Have a nice day, P. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] The pool is formatted using an older on-disk format.
john kroll pisze: Doesn't a primary bios partition separate your zfs pool from anything else?? Hi John, I'm not sure I understand your question well. I have the following partitions on my disk: 1. Primary for Ubuntu 2. Primary for Solaris 3. Extended for Ubuntu swap The first partition I can see as /dev/hda1 under Ubuntu. The second as /dev/hda2. The third probably as /dev/hda5, I don't remember exactly and don't want to check it now. My best regards, P. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Image update without a clone of current BE?
Hello All, I would like to upgrade OSOL from build 96 to build 99 on my old laptop. Unfortunately I have a small Solaris partition and upgrading process failed because free disk space is not enough. I've read in OSOL docs that `pkg image-update` command creates a clone of current BE by default. I don't know neither it's possible to disable it nor how to do it. However I've also read about upgrading packages by `pkg install` command. So I have a question: is it a good idea to upgrade my current image using following commands? # pkg list |grep installed |awk '{print $1}' |\ xargs -I PKG xargs pkg install PKG I know that it's rather risky method, but probably I don't have another way out :) I was just trying installation of OSOL build 99 from scratch using Live CD, but no success. That installation application also fails on my laptop and I can only install OSOL build 96. My best regards, Pawel ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org