Question about patching

Before I make a fool of myself on a devel ML that I really shouldn't be on, can someone confirm something for me?
I have a patch that starts something like this:
--- file.c.orig 2006-03-31 14:37:18.000000000 +0200
+++ file.c 2006-03-31 14:41:10.000000000 +0200
@@ -65,6 +65,15 @@
#define FOO_BAR
#include <foo/bar.h>
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
+#include <bar/foo.h>
+#else
My understanding of this is:
- Line 65 of the unpatched file shoud read #define FOO_BAR
- Line 66 should read #include <foo/bar.h>
- Line 67 should be blank
- The lines beginning with + will be added after the existing line 67
Is that correct?
TIA, anyone who's bothered.

Many thanks, stavrosg.

Similar Messages

  • Newbie: Question about patching

    Hi all,
    Just brought a new iMac running 1.4.x (don't know the minor revision).
    Got all the latest and greatest patches running on it, apart from the latest bundle that includes Safari 3.0. I need everything in this release / patch - APART from Safari 3.0. (The Mac is used just for testing website developments).
    So my question is, how can I install all the latest security updates but leave out Safari 3.0?
    Cheers,
    Steve.

    >Is that more or less correct, generally speaking?
    Yes, generally speaking. Each color needs to be isolated on a single plate, and it makes no difference what those plates are called, as long as both you and the printer agree on what the names mean. The advantage to using a spot color swatch from one of the libraries is that your screen representation will look something like what the printed output should be (but never rely on the screen for spot colors, use a swatch book, because many spots can't be represented accurately in either CMYK OR RGB.
    >Why can't I create a PDF that uses a spot color?
    PDF can contain spot colors just fine, but they need to be spot colors in the original application, and the export or print to PDF that generated them must not convert them to CMYK or RGB.
    Lots of things can LOOK like they are only one color, but in fact are RGB or CMYK mixes. This would be particularly likely with content created in Photoshop, where you must use a spot channel or multi-channel mode of some sort to work with spot colors.
    >why do I get complaints that the printer won't recognize the PDF?
    Can you explain what you mean by this?
    Peter

  • Questions about patching a global zone with a zone defined via luugrape

    I've discovered that under Solaris 10 u7, luupgrade -t doesn't like seeing any zones defined when applying patches. If it sees a zone or zones defined it errors out.
    Well, I found a way to make it work. Basically you shutdown and detach the zones (or zones). I then delete the zone configuration. At this point, you would think luupgrade would stop complaining and just work. It doesn't. It will still fail at this point. The only way I could get it to work is in the global zone I had to do the following:
    mv /etc/zones /etc/zones-ORIG
    mv /zones /zones-ORIG <<< probably not needed but whatever ...
    lucreate -n S10u7zfsPATCHED -p rpool <<< So at this point both my active BE and the ABE both have effectively no zone configurationRan luupgrade and, poof, it works:
    luupgrade -t -n S10u7zfsPATCHED -O -t -s . ./patch_order
    Validating the contents of the media <.>.
    The media contains 138 software patches that can be added.
    Mounting the BE .
    zoneadm: global: could not get state: No such zone configured
    zoneadm: failed to get zone data
    Adding patches to the BE .
    Transition old-style patching.
    Checking installed patches...
    Patch 120900-04 has already been applied.
    See patchadd(1M) for instructions.
    WARNING: Skipping patch 120900-04Still I'm wondering why did I have to get so extreme to make this work ... after detaching and deleting the zone configuration why would luupgrade still complain about a zone which effectively no longer existed. I looked in /etc/zones and could find nothing related to my original zone. Where is luupgrade getting this almost "ghost" zone configuration information ?

    I've discovered that under Solaris 10 u7, luupgrade -t doesn't like seeing any zones defined when applying patches. If it sees a zone or zones defined it errors out.
    Well, I found a way to make it work. Basically you shutdown and detach the zones (or zones). I then delete the zone configuration. At this point, you would think luupgrade would stop complaining and just work. It doesn't. It will still fail at this point. The only way I could get it to work is in the global zone I had to do the following:
    mv /etc/zones /etc/zones-ORIG
    mv /zones /zones-ORIG <<< probably not needed but whatever ...
    lucreate -n S10u7zfsPATCHED -p rpool <<< So at this point both my active BE and the ABE both have effectively no zone configurationRan luupgrade and, poof, it works:
    luupgrade -t -n S10u7zfsPATCHED -O -t -s . ./patch_order
    Validating the contents of the media <.>.
    The media contains 138 software patches that can be added.
    Mounting the BE .
    zoneadm: global: could not get state: No such zone configured
    zoneadm: failed to get zone data
    Adding patches to the BE .
    Transition old-style patching.
    Checking installed patches...
    Patch 120900-04 has already been applied.
    See patchadd(1M) for instructions.
    WARNING: Skipping patch 120900-04Still I'm wondering why did I have to get so extreme to make this work ... after detaching and deleting the zone configuration why would luupgrade still complain about a zone which effectively no longer existed. I looked in /etc/zones and could find nothing related to my original zone. Where is luupgrade getting this almost "ghost" zone configuration information ?

  • Question about patch/patch log

    Hi,
    I just applied the patch R12.TXK.A.Delta.6 patch 7237313.
    The adpatch session ran and completed.
    When reviewing the log file, i can see the following:
    "Cause: Error while trying to read metadata from file /apps/ebs/demo/demoora/10.1.3/j2ee/home/lib/<lib>.jar: No metadata entry META-INF/JRIMETA.DAT found."
    I just want to validate if this is really an error or just an informative message?
    Thank you,
    Felix

    Felix,
    This is an acceptable warning message, so you can ignore it.
    Note: 401424.1 - Oracle Applications DBA Minipack R12.AD.A
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=401424.1
    Note: 312594.1 - Getting warning messages when starting adadmin - generate JAR Files
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=312594.1
    Regards,
    Hussein

  • Questions about patching in eBS 12.1.3

    Hi everyone,
    Currently, we have an installation based in 12.1.1. fresh install which was evolved to 12.1.3 althougth pacthing.. it was done by freelance and now we need to install a few patches by functional problems.
    So, we need to solve a few doubts:
    1.- I suposse that we should to apply patches with adpatch.. Is it correct?
    2.- We have down all services in application tier but ... do we need to put maintenance mode with adadmin in application tier?
    3.- What parameters should we use with adpatch? we have one application tier and one database tier (apply=Y, pre-install mode =N, ...)
    4.- Does it exist any pack for patching and clonning with any tools as OEM? I think that it exist and it could improve our work.
    Best Regards,
    Ricardo

    Hi,
    PFB answers:
    1.- I suposse that we should to apply patches with adpatch.. Is it correct?Application patch using adpatch and db patch using opatch. Patch readme will guide you.
    2.- We have down all services in application tier but ... do we need to put maintenance mode with adadmin in application tier?It is not mandatory to bring down services but you should bring instance in maintenance mode.
    Good practice is to bring down services and put application in maintenance mode but this is not mandatroy. You can use hotpatch option to apply patch when instance is up and running and without enabling maintenance mode. This is called hot patching and is benificial for live when you cant have downtime.
    Check below guide for more on this.
    http://download.oracle.com/docs/cd/B34956_01/current/acrobat/oa_patching_r12.pdf
    3.- What parameters should we use with adpatch? we have one application tier and one database tier (apply=Y, pre-install mode =N, ...)
    Just type adpatch without giving any option.
    Check below guide for more on this.
    http://download.oracle.com/docs/cd/B34956_01/current/acrobat/oa_patching_r12.pdf
    4.- Does it exist any pack for patching and clonning with any tools as OEM? I think that it exist and it could improve our work.? >>>> Cloning is possible through OAM
    check below MOS:-
    EBS 11i Creating a Clone using Oracle Application Manager (OAM Clone) [ID 398619.1]

  • Questions about upgrading from Exchange 2010 RTM to Exchange 2010 Service Pack 3

    I am preparing to perform an maintenance upgrade on our current Exchange 2010 Server, to Service Pack 3 (and any post-SP3 roll ups), but I have a couple questions about the process.
    Current Exchange Server details:
    Exchange 2010 Standard
    Version: 14.0 (Build 639.21) - from Exchange Management Console
    Version: 14.0.702.4000 - from Outook client
    Active Directory forest and domain levels: Windows 2008 R2 native
    The questions I have are:
    1.  Can I assume that because it's version 10.0.702.4000 I am on Exchange Server 2010 RTM Update Rollup 4?
    2.  Can Exchange 2010 Standard RTM be patched directly to Service Pack 3, or would I need to perform incremental patches (i.e. SP1, SP2, etc.) before going to SP3?
    3.  Do I need to manually perform the AD domain schema prep before applying Service Pack 3, or will the Service Pack 3 update process automatically handle the modifications of the AD schema?

    Hi,
    Here are my answers you can refer to:
    1. Firstly, I’d like to explain , we can use connection status to check our Exchange server version from Outlook client:
    http://office.microsoft.com/en-in/outlook-help/determine-the-version-of-microsoft-exchange-server-my-account-connects-to-HA010117038.aspx
    And I check my version from both EMC and Outlook client. It’s same.
    2. We can directly update RTM version to SP3 , and the update will take an additional 30 minutes or longer per database.
    3. Since Exchange 2010 SP3 makes updates to the Active Directory schema, we need prepare AD domain schema. However, it will automatically prepare AD and the domain when you install the update.
    For more information, you can refer to the following article:
    http://technet.microsoft.com/en-us/library/jj965774(v=exchg.141).aspx
    If you have any question, please feel free to let me know.
    Thanks,
    Angela
    Angela Shi
    TechNet Community Support

  • Question about upgrading R12

    Dear all,
    My customer wants to upgrade EBS from 12.1.1 to 12.1.3.
    He has questions about module OTL and AGIS.
    He wants to know:
    1. Apply OTL&AGIS on 12.1.1, then upgrade to 12.1.3
    2. Upgrade 12.1.3, finish all post upgrade of 12.1.3, then apply patch to add OTL&AGIS module
    Which one should be correct?
    If neither of them, please advise.
    Also, please post the note/doc number.
    Thanks in adv,
    Jackie

    Jackie Han wrote:
    Dear all,
    My customer wants to upgrade EBS from 12.1.1 to 12.1.3.
    He has questions about module OTL and AGIS.
    He wants to know:
    1. Apply OTL&AGIS on 12.1.1, then upgrade to 12.1.3
    2. Upgrade 12.1.3, finish all post upgrade of 12.1.3, then apply patch to add OTL&AGIS module
    Which one should be correct?
    If neither of them, please advise.
    Also, please post the note/doc number.
    Thanks in adv,
    JackieUpgrade to 12.1.3 then apply the latest patchsets.
    Thanks,
    Hussein

  • Question about LVM

    i have a really quick question about LVM, been trying to search but can't really find the answer
    here's the scenario
    i have my new quad core phenom system running arch, with an LVM volume on a few 1TB drives. i was overclocking it the other night and running geekbench, pulled 8300 flat anyway, not too bad since i started at 4900 on the arch kernel, and then hit 6800 with a custom zen patched kernel. anyhow, before i get carried away, what i want to do, is slap a spare drive and install windows 7 for a wider suite of benchmarks. but i'm worried that the drives with the lvm volume may not go in the same order when i pull the windows drive out.
    so what i want to know, is does the order of the drives with the lvm volume matter, or does LVM not care about the order at all?

    i was pretty sure thats how it worked....but pretty sure just isn't enough sometimes. like when you're looking at 3TB's of data

  • Question about using 10g/11g and APEX ...

    Hi,
    I just recently learned of Oracle's APEX and have a few questions about using it.
    Can I use APEX with express, standard, and enterprise editions of 10g and 11g?
    Are all of these free to use?

    You might want to read about APEX rather than jumping into questions that are reasonably well documented. Info at http://www.oracle.com/technology/products/database/application_express/index.html
    Your specific questions:
    1) Apex is a package that can be installed into any properly licensed database.
    2) The price for the production license of the database varies by edition.
    The price for Express Edition is $0 for use in production. Part of the cost for that edition is 'no Oracle Support based support, no patches, data volume limitation, etc.'

  • A few questions about how ZPM works.

    We have patch management (in ZCM 11.2.2), but honestly don't use it much. I have a few questions about how it works that might make me use it more, if I understand it more.
    If I deploy a patch (or a set of patches), it creates a bundle for that deployment. That bundle seems to include actions that deploy the actual patch bundles (correct?). Do I have to recreate a new deployment bundle every time I want to push a new patch? i.e. If I push a Java update, and a month later, a new one comes out, do I build out a new bundle with the new patch in it, or do I modify the old one?
    Once the patch is deployed, can I safely delete that deployment bundle, or should they just pile up?
    Is there a way to "auto-approve" patches? Lets say I always want a group of machines to have the latest Adobe Flash Player patches. Can I set up ZPM to automatically cache and push the latest patches for a specific product, or do I have to manually remediate each patch? (I'm thinking of how MS's WSUS does "auto-approval")
    I see most packages aren't cached in list, but occasionally, a patch is cached without me touching it. Why? Can I change what gets automatically cached?
    Thanks for any help/answers you can provide.
    -Adam

    Originally Posted by adrockk
    We have patch management (in ZCM 11.2.2), but honestly don't use it much. I have a few questions about how it works that might make me use it more, if I understand it more.
    If I deploy a patch (or a set of patches), it creates a bundle for that deployment. That bundle seems to include actions that deploy the actual patch bundles (correct?). Do I have to recreate a new deployment bundle every time I want to push a new patch? i.e. If I push a Java update, and a month later, a new one comes out, do I build out a new bundle with the new patch in it, or do I modify the old one?
    Once the patch is deployed, can I safely delete that deployment bundle, or should they just pile up?
    Is there a way to "auto-approve" patches? Lets say I always want a group of machines to have the latest Adobe Flash Player patches. Can I set up ZPM to automatically cache and push the latest patches for a specific product, or do I have to manually remediate each patch? (I'm thinking of how MS's WSUS does "auto-approval")
    I see most packages aren't cached in list, but occasionally, a patch is cached without me touching it. Why? Can I change what gets automatically cached?
    Thanks for any help/answers you can provide.
    -Adam
    For #1, (assuming you're not using baselines), you would check the new version of the patch (vulnerability) and do a new deployment.
    #2 - once you're satisified that the machines are deployed (or the best to your ability) you can delete the DEPLOYMENT package. It doesn't delete the actual vulnerability bundles to my knowledge. That's why it's a good idea to name your bundle deployments with something meaningful, IMO (and maybe include a nice desription).
    #3 - currently I don't believe this is possible. I know you can probably configure it to auto-download the patches, but not auto-deploy everything. Given the propensity for software to wreck other things (hello MS .NET patches), this is probably not a good idea. At least I'd never auto-download and auto-deploy any patches without testing them first, and certainly take my servers a little more cautiously than my workstations.
    #4 - I think you can configure what's cached, but I could be wrong.
    I know there's a lot of improvements coming in the pipeline, and it doesn't hurt to "vote" for your enhancements via the enhancement system (more work for Shaun--haha)
    --Kevin

  • Question about Project Lockdown

    I've been reading through Arup Nanda's "Project Lockdown". I understand all of his rationals and procedures, but a few things leave me feeling a bit uneasy. Maybe it's just fear of the "unknown unknowns". In particular is the discussion on changing the unix access profiles for the oracle binaries. I have this uneasy feeling that if I were to implement those particular suggestions, it would end up biting me somewhere down the road.
    Has anyone implemented all of the suggestions in this document? If so, what have been your experiences?

    Arup Nanda_2 wrote:
    Hi Ed,
    Thanks Mark for pointing me out to this.
    I have been using that for more than 8 or 9 years now, without any side effects. But as Emre Baransel reported that although he has been following that without any untoward effects, you should take every advise in the specific context of your environment. I have tried to put all caveats there; but there is no way for me to check all possible comobinations.
    For instance, one of the advises is to remove executable permissions from extjob executable. If you are not using extrnal jobs from the database (99% of people don't), heeding that advise does nothing to your activities. But if you do external jobs, they are broken now. I have made that clear in the article; but I can't be sure if the reader will pay attention to that. But if you don't use external jobs, by changing the permissions you just closed a major vulnerability without applying the CPU patch, which may or may not close all the vulnerabilities.
    Another is the case of nmb and nmo executables. If you are using Enterprise Manager to manage the O/S as well, then changing those executables will no longer allow you to do that. But if you don't do that particular activity (most don't), you again closed a major vulnerabillity without affecting your functionality.
    For anyone who has ever authored anything, one thing is clear - the work is like broadcast, not point to point transmission. Even point-to-point. "If you explain something so clearly that no one can misunderstand, someone will".
    It's not consulting which is situation specific. So, any work which is not prepared in context of a specific situation must be taken with that disclaimer - your mileage may vary. Understanding and testing is a must before committing the work.
    Hope this helps.
    ArupThanks for the response. Besides worrying about the "unknown unknowns" I also have a question about applying patches, especially the quarterly CPUs. Since, at some level, applying a patch is simply overlaying a specific file with a newer version, will this cause permissions to revert to default? Would we have to go through the process after applying a patch? I'll go back and re-read the original doc several more times to make sure I have a good grasp of what's going on here.

  • Questions about iPhone backup?

    I am iPhone novice,so i have some questions about iPhone Transfer included iTunes.
    1. Only back up iPhone files via iTunes?
    2. iTunes just can back up address list and calendar?
    3. i want to back up plug-in,patch,application program,game ect, how to operate iPhone backup?Anyone can tell me simple&professional tutorial about iPhone?Or introduce a good iPhone Transfer like or better than iTunes.
    Appreciate your detailed answers! Thanks in advance.
    Message was edited by: MarkSmith10

    iTunes is required to transfer iTunes content from your iTunes library on your computer - music, movies, TV shows, podcasts, 3rd party apps, and selected photos from your computer to your iPhone. iTunes also serves as the sync conduit for contacts and calendar events between your iPhone and the supported address book and calendar application on your computer.
    iTunes creates and maintains a backup for your iPhone which is updated by iTunes as the first step during the iTunes sync process. The backup does not include all data on your iPhone. The backup does not include any iTunes content - music, movies, TV shows, podcasts, or 3rd party apps. All iTunes content on your iPhone should remain in your iTunes library on your computer and the backup doesn't include any photos transferred from your computer. All photos transferred from your computer should remain on your computer as well.
    This link provides the data that is included with your iPhone's backup.
    http://support.apple.com/kb/HT1766

  • Question about RAC and ASM

    Hi,
    We are thinking about build RAC using ASM for OEM database. It'll have two nodes, oracle 10g and Hitachi san with solaris ( or linux ). I've few questions about RAC and ASM.
    1) Do I need to have ASM instance running on each node ? ( most likely yes... but want to make sure )
    2) can I share oracle_home between ASM instance and database instance ? what is the best choice ?
    3) I'm planning to use shared disks for all files, all databases.... what are the pros/cons ?
    4) what should be the installation procedure ? Meaning, first create ASM instance on each node, then install cluster software, build RAC databases...... can someone explain..
    5) I believe RMAN is the only option for backup since I'm using ASM, correct ?
    I'm a newbie to RAC and ASM..
    Thanks,

    user4866039 wrote:
    1) Do I need to have ASM instance running on each node ? ( most likely yes... but want to make sure )yes.
    2) can I share oracle_home between ASM instance and database instance ? what is the best choice ?in 10g you can, in 11gr2 you cannot. and it might be better to seperate them because it will give you more flexibility with patching.
    3) I'm planning to use shared disks for all files, all databases.... what are the pros/cons ?if you share your oracle_home you won't be able to do rolling updates. so i recommend to keep oracle_homes local.
    4) what should be the installation procedure ? Meaning, first create ASM instance on each node, then install cluster software, build RAC databases...... can someone explain..follow the install guide for your respective version. for 10g you'd install clusterware first, then asm and database is last.
    5) I believe RMAN is the only option for backup since I'm using ASM, correct ?pretty much. you could stop your database and dump the raw devices or use asmcmd/asmftp but rman is definitely the best choice
    Bjoern

  • Questions about your new HP Products? HP Expert Day: January 14th, 2015

    Thank you for coming to Expert Day! The event has now concluded.
    To find out about future events, please visit this page.
    On behalf of the Experts, I would like to thank you for coming to the Forum to connect with us.  We hope you will return to the boards to share your experiences, both good and bad.
     We will be holding more of these Expert Days on different topics in the months to come.  We hope to see you then!
     If you still have questions to ask, feel free to post them on the Forum – we always have experts online to help you out.
    So, what is HP Expert Day?
    Expert Day is an online event when HP employees join our Support Forums to answer questions about your HP products. And it’s FREE.
    Ok, how do I get started?
    It’s easy. Come out to the HP Support Forums, post your question, and wait for a response! We’ll have experts online covering our Notebook boards, Desktop boards, Tablet boards, and Printer and all-in-one boards.
    We’ll also be covering the commercial products on the HP Enterprise Business Community. We’ll have experts online covering select boards on the Printing and Digital Imaging and Desktops and Workstations categories.
    What if I need more information?
    For more information and a complete schedule of previous events, check out this post on the forums.
    Is Expert Day an English-only event?
    No. This time we’ll have experts and volunteers online across the globe, answering questions on the English, Simplified Chinese, and Korean forums. Here’s the information:
    Enterprise Business Forum: January 14th 7:00am to 12:00pm and 6:00pm to 11:00pm Pacific Time
    Korean Forum: January 15th 10am to 6pm Korea Time
    Simplified Chinese Forum: January 15th 10am to 6pm China Time
    Looking forward to seeing you on January 14th!
    I am an HP employee.

    My HP, purchased in June 2012, died on Saturday.  I was working in recently installed Photoshop, walked away from my computer to answer the phone and when I came back the screen was blank.  When I turned it on, I got a Windows Error Recovery message.  The computer was locked and wouldn't let me move the arrow keys up or down and hitting f8 didn't do anything. 
    I'm not happy with HP.  Any suggestions?

  • Have questions about your Creative Cloud or Subscription Membership?

    You can find answers to several questions regarding membership to our subscription services.  Please see Membership troubleshooting | Creative Cloud - http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html for additional information.  You can find information on such topics as:
    I need help completeing my new purchase or upgrade.
    I want to change the credit card on my account.
    I have a question about my membership price or statement charges.
    I want to change my membership: upgrade, renew, or restart.
    I want to cancel my membership.
    How do I access my account information or change update notifications?

    Branching to new discussion.
    Christym16625842 you are welcome to utilize the process listed in Creative Cloud Help | Install, update, or uninstall apps to install and evaluate the applications included with a Creative Cloud Membership.  The software is fully supported on recent Mac computers.  You can find the system requirements for the Creative Cloud at System requirements | Creative Cloud.

Maybe you are looking for

  • Computer runs slow when Mac Mail open

    Mail works ok, albeit very slow, but the computer runs painfully slow.  Spinning beach ball trying to perform the most mundane tasks, like clicking between pages in Safari.  Once I right click on Mail and close it, the computer runs just fine.

  • Calling c/c++ code from websphere

    hi, I want my application that would be deployed in websphere application server to communicate with a c/c++ program that is residing on another computer. Would it we possible if it is please provide some help hoew to achieve it.

  • Code 148:3

    I can't start my dreamweaver cs4 and get a message with code 148:3; Does anyone know how to resolve? Thanks!

  • Strange iChat behavior - new

    Hello, Kind of new to Macs, but quite fluent in PC troubleshooting, so I feel a little helpless here. Up until tonight, nothing but a good time on this thing, but for some reason, I have developed some issues with iChat. In a video chat, I had major

  • Isn't this a valid way to write queries ?

    Guys, Please can you let me know if this is valid way of writing the query. I seem to get an error saying missing right parenthesis when i try to execute it. But the queries work individually.. I want to use it something like an inline view Cheers G