[Solved] ping requires root privilages but only if OS run from RAM

I have an odd situation where I can use ping as a regular user from openbox's autostart if I run the OS from storage disks but not if I load the OS into RAM. It only works for a regular user with the OS loaded to RAM when I set the sticky bit.
Can this be a timing problem with systemd not activating a required service in time?
Last edited by KairiTech (2014-08-26 21:16:45)

Yep! That's it exactly. I create a root file system archive to speed the loading into RAM. See the exact code below:
sudo tar -vzcf /rootfs.tar.gz / --exclude={/rootfs.tar.gz,/boot/*,/var/cache/pacman/pkg/*,/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}
Adding the --xattrs option to tar solved it.
Last edited by KairiTech (2014-08-26 21:17:46)

Similar Messages

  • Since the last update I have been unable to print from Firefox. No problem printing from Safari or any other program. I've seen a few responses to this problem but only to people running Windows. I'm on a Mac running v. 10.5.8

    Since the last update I have been unable to print from Firefox. No problem printing from Safari or any other program. I've seen a few responses to this problem but only to people running Windows. I'm on a Mac running v. 10.5.8.

    Also when I click on the link in my email to activate my account (in the hopes that a solve will be emailed to me) I get this message -
    "Something is wrong
    We could not activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address."
    Same message if I cut and paste the link.

  • HT1879 I'm living in Ukraine,  but only have a card from US.  I'd like to buy a Ukraine app

    I'm living in Ukraine,  but only have a card from US.  I'd like to buy a Ukraine app

    You won't be able to use a US credit card or gift card on your account - if it is a credit card then it needs to have been issued by a Ukrainian bank and be registered to the name and address that you have on your iTunes account ; if it's a US gift card then they can only be used in the US on US iTunes accounts.

  • Time Machine Error:  backup to large requires 523 MB but only 8.4 GB avail

    For about a week now I am getting the following backup error:
    This backup is too large for the backup volume. The backup requires 523.3 MB but only 8.4 GB are available.
    Then the latest backup fails.
    This makes no sense to me. My backup volume is 150GB external USB Buffalo drive. It has been working great for months now. Based on some information I read in another post I excluded my application folder that added another 15.2 GB not needed to backup. I also tried unchecking the box that warns when old backups are deleted.
    I have read through many post but have not found an answer yet.
    Any suggestions?
    Below are the details on my external drive as reported
    USB2-IDE Bridge:
    Capacity: 149.05 GB
    Removable Media: Yes
    Detachable Drive: Yes
    BSD Name: disk2
    Version: 1.06
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: BUFFALO INC.
    Mac OS 9 Drivers: No
    Partition Map Type: MBR (Master Boot Record)
    Product ID: 0x002a
    Serial Number: xxxxxxxxxxxx
    S.M.A.R.T. status: Not Supported
    Vendor ID: 0x0411
    Volumes:
    Time Machine Backups:
    Capacity: 149.05 GB
    Available: 8.18 GB
    Writable: Yes
    File System: Case-sensitive Journaled HFS+
    BSD Name: disk2s1
    Mount Point: /Volumes/Time Machine Backups
    Details on my hard drive and partitions
    ntel ICH7-M AHCI:
    Vendor: Intel
    Product: ICH7-M AHCI
    Speed: 1.5 Gigabit
    Description: AHCI Version 1.10 Supported
    Maxtor 6L160M0:
    Capacity: 152.67 GB
    Model: Maxtor 6L160M0
    Revision: BACE1GE0
    Serial Number: xxxxxxxx
    Native Command Queuing: Yes
    Queue Depth: 32
    Removable Media: No
    Detachable Drive: No
    BSD Name: disk0
    Mac OS 9 Drivers: No
    Partition Map Type: GPT (GUID Partition Table)
    S.M.A.R.T. status: Verified
    Volumes:
    Macintosh HD:
    Capacity: 132 GB
    Available: 20.07 GB
    Writable: Yes
    File System: Journaled HFS+
    BSD Name: disk0s2
    Mount Point: /
    WINDOWS XP:
    Capacity: 20.35 GB
    Available: 6.52 GB
    Writable: Yes
    File System: MS-DOS FAT32
    BSD Name: disk0s3
    Mount Point: /Volumes/WINDOWS XP
    <Edited by Moderator>

    Thanks for the quick and accurate advice. Since I had never done this before it took me a while to figure out how to partition the drive as GUID. I did not understand I had to create a partition and click on options.
    On Apple's Support website for OS X 10.5 Time Machine under Mac 101: Using Time Machine in Mac OS X 10.5 Leopard (see below) it should have information about how important it is to partition a new drive as GUID then how to do it. It just says I won't have to worry about backing up again. For me I had to erase all my backups - this time nothing was really important that was not on my main drive. It would have been good if I could have set it up correctly the first time.
    Getting started
    The first time you attach an external drive to your Mac OS X Leopard-based Mac, Time Machine asks if you’d like to use that drive as your backup location (you may need to erase the drive first). Choose yes and Time Machine takes care of everything else, automatically, in the background. _You won't have to worry about backing up again._
    Message was edited by: John Soles
    Message was edited by: John Soles

  • Consumer producer - Acquisiton image but only producer loop run

    Dear all
    I try acquire and save image from Basler camera L301kc and NI PCe 1427 framegrabber. I create a producer/ consumer loop because the save take more time that the acquisition and if I do both in the same loop I lose frames. But I have problem: only producer loop run.
    I have read all the threads but I didn't manage to solve my problem.
    I have attached a VI code of how I was trying to do it. I am using LabView 2011.
    Please any comments or help is deeply appreciated.
    Thank in advance
    XuanThuy
    Solved!
    Go to Solution.
    Attachments:
    Acquisition Image for Sample 03.vi ‏75 KB

    Dear Kira T,
    The producer and consumer loop has run but the Image Out in consumer loop is empty. Bruce attention to the error wire from the consumer loop wired to the destroy queue vi. But I don't find error.
    I have attached a new VI code.
    Can you help me ?
    Thanks and regards
    XuanThuy
    Attachments:
    Acquisition Image for Sample 03.vi ‏71 KB
    Linescan camera setup Sub VI.vi ‏26 KB

  • My JSP only works when run from its project

    I have managed to make a JSP which correctly displays values from the database when I do right-click/run from the project it is in.
    However if I do right-click/run on the JSP page directly all the bindings are empty. The aim eventually is to deploy to Tomcat, so I will need the JSP to work on its own.
    Am new to all of this (java,tomcat,jdev) so all the code has been genereated by jdeveloper - obviously I have set-up some config incorrectly but I can't find where.
    Any help appreciated!
    Thanks,
    Louise

    Assuming that you are using ADF and Struts for this application:
    The trick is that you actually need to run the struts action that is created for your Datapage.
    When you right click on the jsp file in the Struts diagram and choose run - it actually invokes the struts action - if you look at the log window you'll see the URL invoked ends with .do

  • HT201343 mirroring works through my phone but only the sound works from my mac. It has worked before but now suddenly it doesn't

    I can only get the sound going when mirroring through my macbook. it worked before but now suddenly only sound comes through. There's no problem mirroring my iphone or my ipad. then i get sound and picture. it must be a setting. what have i done and how do i sort it out?
    when mirroring the screen just goes black.

    I am having a similar problem, that has just started recently. I am on OS 10.5.8 with all security updates run. My Mail account is an IMAP account. When I check my mail through webmail on Safari, my new messages show up immediately. However, Mail does not show them. Clicking the "check mail" button does not bring them in. I have to quit Mail and re-start it, then the messages show.
    I tried to implement Ernie's solution of turning off "Use IDLE". That command is ticked in my preferences, however it is greyed out and I can't change it. Why is that? If it helps, my IMAP path prefix is blank, I'm using port 133, and "use SSL" is not ticked. These are all default settings that I have used successfully for years and haven't fiddled with.

  • Hp 6510 prints fine from laptop but only prints blank pages from ipad

    Printer prints fine from my laptop but will only spit out blank pages from my ipad.  It used to print fine from the ipad.

    RESOLVED!!!!
    I called HP regarding this issue, and was connected with a very nice woman out of India, Lola, who resolved the problem for both my Google Nexus 7 tablet running android 4.4.4 and also my iphone 5s.  Its the printer, and its wi-fi connection, along with the app.
    Here were the steps to resolve:
    1. Make absolutely sure you dont have a cable going into your printer from your router or modem.  Then make sure your connected to wi-fi if on your printer if you did.  (If you had a cable connected, re-run the wi-fi setup wizard for your printer, preferably on the printer itself, not your computer.
    2. Sounds crazy, but verify your wi-fi is actually on.  Click on the wi-fi button on your printer, and you should also have a light that signals your wi -fi is actually connected (at least on the Officejet 6700 that I am using, it does).
    3. Make sure you still have HP Eprint on your phone and/or tablet.  Check that you have your settings correct in your HP Eprint setup options, including the email address you want to use for your account.  If you don't, you will need to enter it, then click activate on HP Eprint.  It will send you a code via email. Copy/paste the code into the HP Eprint setup.
    4. Once you're sure you have your printer re-connected to wi-fi correctly, and no cables attached; resart your printer, and re-start your phone/tablet.  Once everything has re-booted its time to test....
    5. Test Printing: First test printing drictly from HP Eprint's app, selecting a file... then test using a webpage from your browser, to ensure its running correctly through Airprint (which is best, secondary is Google Cloud Print).
    If you are still having trouble, re-boot everything again, double check your wi-fi on your printer, and that you have your settings correct in your HP Eprint from above.  If that doesn't work for you, call HP at (855) 785-2777 and select HP EPrint for assistance.
    Good Luck & Happy Printing!

  • My macbook pro can see the network, gets full signal, but won't connect.  When I run diagnostics, it automatically connects, but only if I run the diagnostics.  Why won't it connect by itself?

    Macbook Pro won't auto connect to wifi, but when I start diagnostics, then it will connect.  It seems it requires diagnostics in order to get connected to wifi.
    any ideas

    SOLUTION! 
    I've been suffering from this problem for a few months.  I tried everything suggested by everyone, and then, today, I had a mad idea. 
    I used to work in a room in the house that's about 12 metres away from the router. It's on the next storey up and horizontally about 8 metres away.  The problem started when I began to work in the same room as the router. 
    Today I became so frustrated that for some reason I walked into a room about 8 metres away on the same level - Guess what?  I connected with no problem at all. Feeling full of joy I walked back to the room where the router is located - Dropped internet connection within a few minutes!  Walked back to the the room that's 8 metres away and, hey presto! I have a connection. I now realise that the problem was that I moved too close to the router.
    I can think of no logical explanation for my experience, but empirically it seems to work.  Does anyone have the faintest idea of why this should be the case?  In the absence of an answer I think I may have to start believing in fairies at the bottom of the garden - I'm just off to set a meal for them.
    By the way, I don't know if it has any significance, but the router is a BT Infinity router that has replaced the incredibly unreliable Virgin Media cable connection

  • 2010 EWS 2.0 C# Windows 7: "Data is Corrupt" error, but only when forwarding messages from a certain user

    I have an application that is basically a mailing list manager. New messages are sent to an Exchange mailbox, from outside of our organization. Periodically the application runs, scans the mailbox for new messages, and forwards them to the appropriate users.
    For the most part this works fine, but messages that come from a specific outside user cause a "Data is Corrupt" message.
    I have tried re-creating the messages that cause problems, both using Outlook and using a Gmail account. In both instances, the message went through the system with no problems. But this vendor is doing something that is causing me grief.
    I've included some sample code below. What I would really like are tips for debugging these kinds of problems. It seems to me that "Data is Corrupt" is sort of a generic error.
    private void ForwardMessage(EmailMessage msg, List<String> recipients, String replyTo)
         ResponseMessage stepOne;
         EmailMessage stepTwo;
         Folder drafts;
         ConversationId cid;
          * This is a little screwy.
          * EmailMessage.CreateForward() is really useful, because it preserves
          * attachments. But it mangles the message body and subject, so I have reset those.
          * And it doesn't support setting the Reply To, so I have to do this
          * in two steps: create the forward, save to Drafts, then get the
          * message in the Drafts forward, and set the Reply To.
         cid = msg.ConversationId;
         stepOne = msg.CreateForward();
         stepOne.Body = msg.Body;
         stepOne.Subject = msg.Subject;
         foreach (String s in recipients)
              stepOne.BccRecipients.Add(s);
         stepOne.Save(WellKnownFolderName.Drafts);
          * There is a chance, though small, that another process
          * could create a draft message in response to the message
          * I'm in the process of forwarding. But it is unlikely,
          * so I'm going to live with this. Extended Properties would
          * be the safer way to do this, but I couldn't get them
          * to make the trip.
         stepTwo = null;
         drafts = Folder.Bind(msg.Service, WellKnownFolderName.Drafts);
         foreach (EmailMessage em in drafts.FindItems(new ItemView(100)))
              if (em.ConversationId.Equals(cid))
                   stepTwo = em;
         if (stepTwo != null)
              stepTwo.ReplyTo.Add(replyTo);
              // This next line is where the "Data is Corrupt" error keeps happening
              stepTwo.SendAndSaveCopy();

    The place to start with Debugging would be to enable tracing and look at requests and responses your getting from the server to see if there is additional information and to also know which operation is failing see 
    http://msdn.microsoft.com/en-us/library/office/dd633676(v=exchg.80).aspx
    You might also want to do some testing with the EWSEditor
    http://ewseditor.codeplex.com/
    There also should be an EWSLog on the CAS server where the requests are being sent so this is worth looking at as well eg \Microsoft\Exchange Server\V14\Logging\Ews
    As a workaround with the failed messages you might want to trying getting the MimeContent and forwarding that instead of using the Forward operation
    Cheers
    Glen

  • 4 accounts but only 2 can run safari

    OK - I'm a newbie to Macs but here is my situation.
    There are 4 accounts on my computer.
    Mine and my husbands and run and use safari just fine.
    both of my daughers, who are managed accounts, can not run safari.
    They get the "Safari cannot open webpage." error
    This is really weird because just 2 days ago they were using it just fine. As a matter of fact, they have been using safari since we got the computer a year ago.
    What's the deal! I cannot figure it out.
    I've shutdown, restarted, and a whole bunch of other stuff!
    HELP please!

    Hello,
    "I've shutdown, restarted, and a whole bunch of other stuff!" Can you define... whole bunch of stuff? If you haven't repaired disk permissions..
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select FirstAid, then click: Repair Disk Permissions. Quit DU when it's finished and reboot.
    Carolyn

  • I have the system requirements for icloud, but can't recieve photos from friends who use a MAC (I have a PC).  Why?

    Why does my PC not receive photos from relatives who posted them through icloud from a MAC?

    Windows.
    I pay for it every month through a subscription, however, photoshop isn't 
    appearing in my menu on any of the computers which it was installed through 
    creative cloud. Nor does it appear in the menu as an app that I can
    download  when I access the files on creative cloud.  All of the other applications
    have an icon to download, but photoshop does not appear as an option. 
    If I can't use it...I don't want to keep paying for it.

  • DV4 Battery Issue - Battery Charges; But Laptop Won't Run From Battery Power

    Greetings,
    I have a DV4, and let me tell you - I am so over this laptop. I have had it for over a year, and in that time, the backlight went out 6 months into owning it, the battery died just after the one year mark, and the webcam has been broken since I sent this computer back to HP to have the backlight issue resolved. I will never buy a new HP ever again.
    Now, the battery I have replaced in my laptop charges - but, when I unplug the laptop from the wall, the battery power does NOT switch over. I have had this battery a total of two weeks - it was working fine until last night.  Any ideas?
    Thanks!

    Hi, SoCal Cal. Take a good hard look at your battery contacts: both the ones on the battery itself and the "prongs" in the PB case that engage with the slotlike contacts on the battery. Are any of them significantly darkened/tarnished? Is there any debris or fluff on or in them? Clean out any foreign matter, then insert and remove the battery at least a dozen times in succession to see whether doing so will wear away any tarnish that may be impairing the necessary electrical connections. There's not really any easy, better way to clean the contacts, at least not the ones in the slots on the batttery itself. Then test again.
    It sounds to me as though not all of the battery contacts are making good contact — though some of them obviously are, at least some of the time. Perhaps "working" the contacts this way will improve matters.
    I really don't know what's going on with your machine; these are just shots in the dark.
    Message was edited by: eww

  • SignTool.exe verify /pa returns exit code 1 from the code but works fine while running from command prompt

    Hi,
    I am using SignTool.exe from a new Process() to verify a codesigned assembly and it returns the exit code 1 whereas it returns exit code 0 while i run the same from Visual Studio Command prompt. Please let me know your thoughts...
    Here is my code snippet from VS2012 ultimate on Win7 PC.
    p = new Process();
                p.StartInfo.FileName = "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin\\SignTool.exe";
                string args = @"verify";
                p.StartInfo.Arguments =  args + " "+ "/pa " + "/v "+ name;
                p.Start();
                p.WaitForExit();
                pexitcode = p.ExitCode;
    //name = "C:\\Users\\v-maparn\\Documents\\Visual Studio 2012\\Projects\\CodesignVerification\\CodesignVerification\\bin\\Release\\Microsoft.IT.Core.dll"
    Thanks,
    Mani

    Hi Amy,
    Thanks for your reply. I am receiving the exit code 1 by the Process even though the SignTool is able to successfully verify the assembly. I ran the below command from command prompt and received no errors or warnings. I assume the exit code should be 0.
    I have also verified that this assembly has digital signature embedded as you can see from the output.
    output:
    C:\Windows\system32>signtool.exe verify /pa /v "C:\Users\v-maparn\Documents\Visu
    al Studio 2012\Projects\CodesignVerification\CodesignVerification\bin\Release\Mi
    crosoft.IT.Security.UI.SystemSecurityManagement.SSMUIWebHost.dll"
    Verifying: C:\Users\v-maparn\Documents\Visual Studio 2012\Projects\CodesignVerif
    ication\CodesignVerification\bin\Release\Microsoft.IT.Security.UI.SystemSecurity
    Management.SSMUIWebHost.dll
    Signature Index: 0 (Primary Signature)
    Hash of file (sha1): 1B58113B218260837A6B850561538A804B034F2A
    Signing Certificate Chain:
        Issued to: Microsoft Root Certificate Authority
        Issued by: Microsoft Root Certificate Authority
        Expires:   Sun May 09 15:28:13 2021
        SHA1 hash: CDD4EEAE6000AC7F40C3802C171E30148030C072
            Issued to: Microsoft Code Signing PCA
            Issued by: Microsoft Root Certificate Authority
            Expires:   Mon Aug 31 14:29:32 2020
            SHA1 hash: 3CAF9BA2DB5570CAF76942FF99101B993888E257
                Issued to: Microsoft Corporation
                Issued by: Microsoft Code Signing PCA
                Expires:   Thu Apr 24 14:33:39 2014
                SHA1 hash: 108E2BA23632620C427C570B6D9DB51AC31387FE
    The signature is timestamped: Mon Dec 30 02:58:12 2013
    Timestamp Verified by:
        Issued to: Microsoft Root Certificate Authority
        Issued by: Microsoft Root Certificate Authority
        Expires:   Sun May 09 15:28:13 2021
        SHA1 hash: CDD4EEAE6000AC7F40C3802C171E30148030C072
            Issued to: Microsoft Time-Stamp PCA
            Issued by: Microsoft Root Certificate Authority
            Expires:   Sat Apr 03 05:03:09 2021
            SHA1 hash: 375FCB825C3DC3752A02E34EB70993B4997191EF
                Issued to: Microsoft Time-Stamp Service
                Issued by: Microsoft Time-Stamp PCA
                Expires:   Wed Feb 11 14:11:31 2015
                SHA1 hash: D967AB4CF991F11DA6E318C880F1AF1A9C8D2C7C
    Successfully verified: C:\Users\v-maparn\Documents\Visual Studio 2012\Projects\C
    odesignVerification\CodesignVerification\bin\Release\Microsoft.IT.Security.UI.Sy
    stemSecurityManagement.SSMUIWebHost.dll
    Number of files successfully Verified: 1
    Number of warnings: 0
    Number of errors: 0
    C:\Windows\system32>
    Thanks,
    Mani

  • Scanner works in JCreator but doesn't when run from Command Prompt?

    Can someone tell me why I can run this program in JCreator with no problems, but when I run it with the Command prompt it throws a java.util.InputMismatchException if I input anything?
    import java.util.Scanner;
    public class tester {
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in).useDelimiter("\n");
            System.out.println("Type either 1 or 2");
            int temp = in.nextInt();
            System.out.println("");
            if (temp == 1)
                 System.out.println("you typed 1");
            if (temp == 2)
                 System.out.println("you typed 2");
            else
                 System.out.println("you typed something else!");
    }

    Try this code it is running correctly on command prompt
    import java.util.Scanner;
    public class tester {
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
            System.out.println("Type either 1 or 2");
            int temp = in.nextInt();
            System.out.println("");
            if (temp == 1)
                 System.out.println("you typed 1");
            if (temp == 2)
                 System.out.println("you typed 2");
            else
                 System.out.println("you typed something else!");
    }

Maybe you are looking for