How to inherit /usr and make /usr/local read/write

Is there some way where I can make "/usr" a inherit-pkg-dir, and yet make "/usr/local" a read/write directory. I notice a lot of things I compile want to use "/usr/local" to write to, yet I don't want to remove the inherit for /usr, since a lot of packages go into that directory I would like inherited.
One work around I tried was to make a symbolic link in the global from "/usr/local" to /local" on the root, and then create a "/local" directory in the non-global zone. This still caused problems.
So is there any other work arounds or do I have to remove the inherit for "/usr" to make "/usr/local" writeable?

One work around I tried was to make a symbolic link
nk in the global from "/usr/local" to /local" on the
root, and then create a "/local" directory in the
non-global zone. This still caused problems.We've had success here using the workaround you mentioned.
We install all of our large software packages in /opt/<package-version>, and treat them as if they are read-only. There are a few exceptions to this -- there are some vendor supplied packages that can't be configured to write logs/configs/whatever outside of it's base directory. The packages supporting our in house software is called /opt/company.
When it comes to collections of small utilities (awk, fileutils, findutils, etc, etc) we pre-install as much stuff as makes sense with a prefix of /opt/local-<version>, and then distribute this to all of our machines (And subsequently treat it as read only). If we find we missed something that needs to go everywhere, we'll update the /opt/local-<version+1> and change the symlinks to /opt/local. If it's something that just needs to run on a couple machines we'll just make a new /opt/<package-version>.
In the global zone, we make a symlink for /opt/(read/write dir) to go to a /local/opt/. When /opt is mounted read-only on a zone, the symlinks within /opt point to whatever /local/ that is hosted local to the zone. So our /local directory might have /local/opt/company, /local/opt/inflexible-vendor-1.0.2, etc.
So far, we have half a dozen test zones created like this and haven't seen any problems. What kind of issues are you seeing when installing like this? (crossing fingers we haven't missed a Fatal Flaw :-))
-A

Similar Messages

  • HT4059 How do you highlight and make notes on a PDF book?  I can do so on my ePub books, but not PDF. Is there a trick?

    How do you highlight and make notes on a PDF book?  I can do so on my ePub books, but not PDF. Is there a trick?  I would like to avoid a second app for this.

    I wasn't aware you can edit PDF's in iBooks.

  • I have an iphone and ipad but no other computer at home.  I used to have itunes on my work computer. How to I access and make changes to my itunes without another computer?  thanks

    I have an iphone and ipad but no other computer at home.  I used to have itunes on my work computer. How to I access and make changes to my itunes without another computer?  thanks

    At this point you have the option of keeping a device optimized version (lower resolution version) of your photo on your phone while iCloud stores a full resolution version.  Or keeping the full resolution version on both your phone and the iCloud. If you delete the photo on your phone it will be deleted on the iCloud. I know, bummer. Also it should be noted that the photos app and the library are still in beta and to this point i see why.  I would use dropbox or a smiliar app for off device storage.
    So far this is how it has been working/not working for me.  Whether or not I choose to keep originals or optimized on my phone it will only keep the originals and it has only been uploading lower resolution versions of my photos to the iCloud library.  Seems to be working in reverse.
    Again these are still in beta so i am hopeful that this will be fixed in the near future.
    I hope this helps.

  • Im stuck in an endless loop to restore my i touch. How do i stop and make it work.

    im stuck in an endless loop to restore my i touch. How do i stop and make it work.

    ive been struggling with the same thing myself. i was told to rename the drive that my ipod was on ie. F to Z and then reboot and try the restore process in itunes again but make sure your ipod is plugged in the entire time. im about to try this myself. goodluck!

  • Make my Program read/write to a local file

    Hello,
    I'm new to java but I have a workable program. I am trying to make the program read/write to a file. Right now all of my information is stored temp. so when my program crashes all of the info is lost. So if I could have it read/write to a local file then the information wouldn't get lost. Can someone please help me with this?
    Thanks

    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • How to add /usr/local to sparse-root zone ?

    I had created sparse-root local zone. The installed some soft and realised that I would need /usr/locain the zone. But I have problem with adding it.
    Original configuration of the zone:
    bash-3.00# zonecfg -z z1
    zonecfg:z1> info
    zonepath: /zones/z1
    autoboot: true
    pool:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    net:
    address: x.x.x.x/y
    physical: elxl0
    zonecfg:z1>Current configuration:
    bash-3.00# zonecfg -z z1
    zonecfg:z1> info
    zonepath: /zones/z1
    autoboot: true
    pool:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    fs:
    dir: /usr/local
    special: /zones/z1-local
    raw not specified
    type: lofs
    options: [rw]
    net:
    address: x.x.x.x/y
    physical: elxl0Now:
    bash-3.00# zoneadm -z z1 boot
    zoneadm: zone 'z1': Could not mkdir /zones/z1/root/usr/local.
    zoneadm: zone 'z1': It is on a read-only file system in this local zone.
    zoneadm: zone 'z1': Make sure /usr/local exists in the global zone.
    zoneadm: zone 'z1': call to zoneadmd failedprzemol

    The messages contains all you need:
    zoneadm: zone 'z1': Make sure /usr/local exists in the global zone.Just do a "mkdir /usr/local" in global zone and your zone installation will work.
    But: Unfortunately you will get into trouble, if you want to install some software packages into /usr/local later.
    Installation of Software below an inherited filesystem like /usr is not supported and somewhat impossible. The fact that /usr/local is a mounted filesystem does not count here.
    These type of problems are already discussed in this forum...

  • Got my daughters old Ipod. How do I reset and make it mine?

    My daugher got a new 5th gen ipod.  I have her old one. How do I reset to factory and make it mine.  I want to download my own stuff. Also when I sync, I do not want it to pop up as her,s

    - Connect the iOS device to your computer and restore via iTunes. Select restore as new iPod
    For how to restore:
    iTunes: Restoring iOS software
    - You can also go to Settings>General>Reset Erase all content and settings and then set up via wifi or connect to your computer and set up via iTunes

  • Would like to know how to take itunes and make them caller tunes on iphone

    would like to know how to take itunes on iphone and make them caller tones

    Then type "create iphone ringtones"  or similar into the google search bar.
    You will find several ways to it.
    If you have a Mac as your signature says, then you have posted in the wrong forum - this is the windows forum - and you can use Garageband to make ringtones.

  • How to Run Export and Make Dump and Log File with Dates on NT

    Hi Gurus,
    set ORACLE_SID=ORCL
    set ORACLE_HOME=D:\ORACLE\ora92
    for /f "tokens=2,3,4 delims=/ " %%a in ('date /t') do
    set fdate=%%a%%b%%c
    exp userid=userid/password@connectstring
    file=exp%fdate%.dmp log=exp%fdate%.log full=y
    I am using above script for export and make dump file with dates, but when i am excuting this script with Schedule task i am getting error.
    C:\Documents and Settings\krishna>for /f "tokens=2,3,4 delims=/ " %%a in ('date
    /t') do
    %%a was unexpected at this time.
    Help is highly appriciated.
    Thanks & Regards
    praveen

    HOST('EXP80 MRPAY/MRPAYS FILE=D:\BACKUP\MRPAY'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=MRPAY CONSISTENT=Y');
    HOST('EXP80 SECSYS/SECSYS FILE=D:\BACKUP\SECSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SECSYS CONSISTENT=Y');
    HOST('EXP80 SICPA/SICPA FILE=D:\BACKUP\SICPA'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPA CONSISTENT=Y');
    HOST('EXP80 SICPAINVSYS/SICPAINVSYS FILE=D:\BACKUP\SICPAINVSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPAINVSYS CONSISTENT=Y');
    HOST('EXP80 SICPAGLSYS/SICPAGLSYS FILE=D:\BACKUP\SICPAGLSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPAGLSYS CONSISTENT=Y');
    HOST('EXP80 SICPAPURHSYS/SICPAPURHSYS FILE=D:\BACKUP\SICPAPURHSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPAPURHSYS CONSISTENT=Y');
    HOST('EXP80 SICPARECSYS/SICPARECSYS FILE=D:\BACKUP\SICPARECSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPARECSYS CONSISTENT=Y');
    HOST('EXP80 SICPASECSYS/SICPASECSYS FILE=D:\BACKUP\SICPASECSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPASECSYS CONSISTENT=Y');
    HOST('EXP80 FASYS/FASYS FILE=D:\BACKUP\FASYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=FASYS CONSISTENT=Y');
    HOST('EXP80 ATTSYS/ATTSYS FILE=D:\BACKUP\ATTSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=ATTSYS CONSISTENT=Y');
    HOST('EXP80 ATTENDANCESYSTEM/ATTENDANCESYSTEM FILE=D:\BACKUP\ATTENDANCESYSTEM'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=ATTENDANCESYSTEM CONSISTENT=Y');
    Arshad

  • How to Configuration Boleto and make the files  - Bank Itau00FA   - Brazil

    Hi, Friends
    I need to configuration a bank since the beginning until to make a boleto and and make the files to send to the bank.
    I am alone in the customer and I do not have anyone  to help me.
    Thaks a lot.

    HEllo,
    The main transaction you'll use is FBZP. In this transaction you'll configure the payment method and the RFFO* program or PMW format you'll use.
    The main RFFO* programs are RFFOBR_V and RFFOBR_D.
    If you read the documentation of the programs (se38 -> program name -> documentation) you can see the steps you must perform in order to use the program.
    If you're going to use PMW you should check the  FEBRABAN_P format.
    After doing all the configuration steps you should create a variant for the print program and depending on your business requirements you shoulda add this to the last tab of F110.
    Regards,
    Renan

  • Data Doubler - Format for both OSX and Windows 7 to read/write?

    Hello! I have a Mid-2012 MacBook Pro 13" and I've ordered the OWC Data Doubler with a 1.5TB HDD to put into the optical bay. I have a couple of questions.
    1. What format should I use for the HDD to allow both my OSX and Windows 7 sides read and write to it? I have a Bootcamp partition, but if it's possible I'd like for both OSX and W7 to be able to read and write to this drive. That way, when I'm in OSX I can view iTunes and media, but if I'm in W7 I can still have the same access. That way, I don't have to worry about "Oh, I downloaded this on the windows side ... I have to figure out how to get it over to the mac side" (or vice versa). Essentially allowing the 1.5TB HDD to be a "go between" for the two.
    2. This is a minor question, but will the eject button do something to the HDD if it gets pressed when the optical drive is out and the HDD/Data Doubler is in? I don't plan on pressing it, but I was wondering if I need to dig into terminal (or somewhere else) to "disable" the button or maybe just reassign it so that instead of ejecting it does some other function?
    I have heard of "MacDrives" for Windows, but I haven't used it. If this is a better option (to put the HDD into Mac OS Extended Journaled and use an application to allow W7 to read/write) that's fine.
    I am putting in the 1.5TB HDD. The end goal, if possible, is to allow the Windows 7 side to read/write to it. As long as it's not a "hacked together" method, I do not mind what way it's done.
    Any thoughts? I appreciate it!

    Use Winclone for the Windows partition and CCC for the OSX partition.

  • What has happened to the orange bookmark box in the top lh corner how do I find and make bookmarks?

    Seems an update has happened - why? Any how the bookmark orange box in the top lh corner of the toolbar has gone missing.
    So how do I now bookmark a website for future use?
    Second how do I display my list of bookmarks?
    Replies in language a 70 year old will understand please.

    Firefox 29 and later versions have the Australis interface that looks different than the user interface in Firefox 28 and older versions.
    *With the Australis interface the orange Firefox menu button has been replaced by the three bar Firefox Menu button at the far right end of the Navigation Toolbar<br>A consequence of this new menu button is that you no longer can hide the Navigation Toolbar
    *There is a star like button to the right end of the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *It is still possible to have the menu bar visible via the right-click context menu on the toolbars to have menus like the Bookmarks menu
    * Click the bookmark star on the Navigation Toolbar once to bookmark the current site (this will highlight the star) to bookmark the current page in the Unsorted folder
    * Click the blue highlighted star to open the "Edit This Bookmark" pop-up dialog and move the bookmark to another folder
    In current Firefox releases the "Bookmark This Page" menu entry in the Bookmarks menu changes to "Edit This Bookmark" once you have bookmarked the page and the star on the Navigation Toolbar is highlighted blue.<br />
    So do not get confused by the missing "Bookmark This Page" in the Bookmarks menu and seeing "Edit This Bookmark" instead if you try to bookmarks a page that is already bookmarked.<br />
    You can make a extra copy of a bookmark by dragging the link to a folder in the bookmarks sidebar or by doing a copy and paste in the Bookmarks Manager (Library).
    You can look at the Classic Theme Restorer extension to restore some functionality that was lost with the arrival of the Australis style in Firefox 29.
    *Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
    *You can check the settings of the CTR extension via its Options/Preferences button on the "Firefox/Tools > Add-ons > Extensions" page.
    *You can find extra toolbar buttons in the Customize palette (3-bar Firefox menu button > Customize)
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=2824649

  • HT4858 I have 8.9 GB of photos, how do I delete and make space?

    Question: How do I delete photos from my icloud to make space?

    Photo stream photos don't take any space in your account, only camera roll photos do if they are included in your backup.  If you want to reduce your storage, either import the photos to your computer and delete them from the camera roll (http://support.apple.com/kb/HT4083), or exclude the camera roll from your iCloud backup.  (You can put them in a folder on your computer and sync them back to your device by selecting the folder on the Photos tab of your iTunes sync settings and syncing.  They will then be in an album on your device that is not included in the backup.)

  • How to Embed Fonts and make Grayscale in Acrobat Pro 9 PDF

    I supplied my printer with a PDF but he says that I need to "Embed The Fonts" in the PDF.
    I made the original document in MS WORD and then I created the PDF in Acrobat Pro 9 but nowhere
    along the way did I see anything that asked me to Embed The Fonts.
    He also says that the type is in RGB but it needs to be in Grayscale.
    When I created the PDF I didn't see any option along the way that gave me a choice between
    RGB and Grayscale.
    Any ideas how to achieve these two effects while going from an MS WORD document to a PDF using
    Acrobat Pro 9 please?
    Any help would be much appreciated.

    Sorry to bother you with my problem but I wondered if you could explain a little bit more about things I didn't understand.
    1 - you said > On a Mac there is no advantage to using the Word plug-in.
    Do you mean that I can type directly into Acrobat?
    I thought that a document needed to be created in a word processor first before I could turn it into a PDF.
    Is that incorrect then?
    2 - > Create the pdf file a print file menu gives you greater control.
    I do apologize but I did not understand this statement either, could you please expand on it a little (to a non-techie.)
    3 - > If you use the Press job option setting, the fonts will be embedded.
    I can't find Press job option setting anywhere - I am using Acrobat pro 9 but there doesn't seem to be a menu with Press
    anywhere, could you please expand on this a little bit too please.
    4 - > If the pdf file has already been created it can be converted to greyscale using the Preflight or Convert Colors
    under Advanced -> Print Production.
    I understood this part and I executed it according to your instructions so thank you for that.
    Unfortunately I couldn't find out how to embed my fonts and my printer charged me $75 to do that
    so I was pretty upset about not being able to understand that part of your explanation.
    Since the printer was able to embed the fonts in a document that was already a PDF then it must be possible
    to embed fonts after a PDF has been created, is that correct?
    If that is correct then i don't know how I could not find how to do it because I looked everywhere for that
    ability but I could not find how to do it.
    I'd be very grateful for any further help you could give, thank you.

  • How can I copy and paste a local variable into a custom type?

    I have a container variable that I want to copy and paste into a custom data type. So I open TestStand's Type window, expand Custom Data Types then right click on <Right click to insert Type> and the Paste option in my popup menu is disabled. How do I get my exact data type there?
     

    Hi
    A workaround :
    Create a container type in the custom data types.
    Under that i could copy the container.
    Hope it helps.
    Ravi

Maybe you are looking for

  • Share the Verizon Code of Conduct

    Verizon Wireless has developed a Code of Conduct that is probably lost in your interactions with Verizon Wireless Representatives. Here is the link to Verizon Wireless Code of Conduct that maybe helpful in all levels of company understanding the code

  • IPhoto Book thumbnail...why is there a grey spot showing?

    I just finished building a iPhoto Book. My photos that I used are high resolution photographs. No sign of any low resolution whatsoever. When I scroll through the thumbnails of the book, there is a page (which has three high res photos) where the top

  • Interactive Reporting Migration

    Hi, Could any one Please give some details on Interactive Reporting Migration from lower version to higher version(9x) and what are the lower versions. Thanks in advance.

  • Name problem for an algorithm

    Hi all. A friend of mine had a problem where he had to go through an array containing integers and basically count how many of the numbers that were between 0 and 9, 10 and 19, 20 and 29, etc. My question is, just out of plain curiosity, does this ty

  • What's the easiest way to...

    import media from a DVD to final cut. In other words how do I convert the DVD to a Quicktime file which I can edit in final cut.