Thread not waiting for DOS process

Hi
In program I am using Threads. Here all threads will start and execute one DOS command. My problem is that all those thread needs to wait for DOS command to finish its process and then only thread should return.
I have created ThreadGroup and added all threds. And I am checking it by using
ThreadGroupVar.activeCount()!=0 so that I can come to know all thread processing is over or not.
Threads are coming back to main process as soon as they start DOS command ..they are just not waiting it to be finish DOS job.
Please guide me on this
Regards,
Niraj

Create a collection of the Threads then iterate through it using join() on each one. When you have iterated though all the Threads they will all have completed.

Similar Messages

  • Process chain Error: This AND process is not waiting for event RSPROCESS

    Hi All,
    I am facing an error in the process chain in PRD.
    Error message: This AND process is not waiting for event RSPROCESS.
    We had a process chain which had two sub chains which run parallel and below of this we had AND process type and below of the AND process we had 4 more jobs.
    Once the two subchains got successfully loaded, the and process should turn to green and further 4 jobs should start.
    It is a daily load , it worked fine from past years,but suddenly the AND processtype is getting failed.The thing is in the two subchains if one got completed, the AND process process is not waiting for 2nd subchain to get completed.The AND process is turning to RED (status: cancelled) . I tried to repeat the AND process once after above 2 subchains loaded, but it didnt worked.
    And i removed the existing AND process and created a new one and placed it in same place and activated and schedules again.but still it is getting failed with same error.
    Thanks in advance,
    Sai Chand.S

    Hi,
    If you did any transports related to that metachain we face similar kind of issues.
    not only the AND process , we need to remove all the process before executing the AND process and create it again.
    It helps you, you said your in production So you should take the proper approvals and do it.
    Regards,
    Yerrabelli.

  • [Solved] systemd does not wait for the unit to finish

    My problem is described in the title. I have made a test by enabling the following unit:
    [Unit]
    Description=/etc/rc.local Compatibility
    [Service]
    Type=forking
    ExecStart=/bin/sleep 1000
    TimeoutSec=0
    RemainAfterExit=yes
    After=network.target
    [Install]
    WantedBy=multi-user.target
    The unit is well started (a process sleep 1000 exists). But with a type=forking, systemd is supposed to hang in this case. Instead, the graphical.target is launched, systemctl list-units mention it as dead, but the display manager is started before the sleep 1000 completes. Ho can I force systemd to wait?
    Last edited by olive (2015-03-16 16:49:34)

    olive, now you're making even less sense. I didn't say the sleep example was stupid and I didn't question your reasons for doing/wanting this.
    I suggested you add "Before=display-manager.service" and you respond "I added Before=graphical.target and it didn't change anything."
    I also tried to explain why systemd has no reason to delay the display-manager.service. You could have asked for further clarification, as berbae has now done. Let's try a longer explanation.
    Service startup
    Services can be started in different ways, as configured with Type=. This determines when a service is considered "started" (or when the service's start-up is considered finished). When a service reaches this state (some time after being started), units that are supposed to start After= this service will be started (and no sooner).
    With simple systemd has no further information about the start-up process. It launches whatever you specify in ExecStart and this is the main process that continues to run till the service stops. systemd assumes this type of service is started immediately. All the other types have some way for the process to indicate to systemd (either directly or indirectly) when it has finished starting.
    Actually oneshot is also a bit special and that is where RemainAfterExit comes in. For oneshot, systemd waits for the process to exit before it starts any follow-up units (and with multiple ExecStarts I assume it waits for all of them). So that automatically leads to the scheme in berbae's last post. However, with RemainAfterExit, the unit remains active even though the process has exited, so this makes it look more like "normal" service with
    begin of unit/startup ---- end of startup ------ end of unit
    This is the relevant behavior for this thread. First sleep starts, then after 1000 seconds, start-up finishes and follow-up units will be started. Then either the unit dies, or (with RemainAfterExit) it stays "active".
    The man page describes how "end of startup" is determined for each Type.
    Targets
    Targets are meant to group units together, to provide synchronization points (and replace runlevels). When you start a target, all its units will be started (in parallel if possible). The man page says:
    Unless DefaultDependencies= is set to false, target units will
           implicitly complement all configured dependencies of type Wants=,
           Requires=, RequiresOverridable= with dependencies of type After= if the
           units in question also have DefaultDependencies=true.
    This means that (by default) when a target is requested, all it units are started first. Only after all units have finished starting, the target itself will be started (and since the target doesn't do anything by itself, this startup is basically instantaneous). Without this dependency, the order between the target and its units is unspecified, so in theory the target could finish starting immediately while its units are still being started.
    Back to olive
    graphical.target has these DefaultDependencies, so it is not started until all its units (like display-manager.service) and other After= dependencies (like multi-user.target) have finished starting. Your sleep service has to be started before multi-user.target starts (again due to default target dependencies). So first display-manager and the sleep service are started and after 1000 seconds, the sleep service finishes starting and then (assuming all other dependencies were quicker) multi-user.target is started and graphical.target as well (assuming display-manager didn't need 1000 seconds).
    If you want display-manager.service after the sleep service, add a Before/After line to specify that (this was your original goal and my suggestion).
    olive wrote wrote:However, units that are parts of the graphical target are still launched before the graphical target become active. I am still unable to completely delay the starts of the graphical target before a specific unit completes.
    It should be clear now how this works. "units that are part of the graphical target" can only mean "units that are wanted/required by the graphical target" but that is basically all the units that are started when you boot your system, because multi-user.target is a part of graphical.target. And your sleep service is a part of multi-user.target, so in fact you're saying you want to delay starting the sleep service until the sleep service completes
    What you probably intended was to delay all units that are a part of graphical.target but not of multi-user.target until after the sleep service. I can't think of an easy (or even good) way to do this and this post is already too long, so I'll table that for now.

  • SHUTDOWN: waiting for detached processes to terminate

    HI
    I have cold backups running every night and before the backup session starts, we have a cronjob 'srvctl stop -p prod' where our db servers are running on RAC.
    but starts from last saturday, our backup session for raw device failed. when look at the alert log, it gives as (example on 15th November 2006)
    Tue Nov 21 01:33:31 2006
    Thread 1 advanced to log sequence 2855
    Current log# 1 seq# 2855 mem# 0: /u01/oracle/oradata/prod/redo_1_01_01.log
    Current log# 1 seq# 2855 mem# 1: /u01/oracle/oradata/prod/redo_1_01_02.log
    Tue Nov 21 02:37:24 2006
    Reconfiguration started
    List of nodes: 0,
    Global Resource Directory frozen
    one node partition
    Communication channels reestablished
    Server queues filtered
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Resources and enqueues cleaned out
    Resources remastered 13089
    147420 GCS shadows traversed, 0 cancelled, 18306 closed
    63793 GCS resources traversed, 0 cancelled
    98369 GCS resources on freelist, 162162 on array, 162162 allocated
    set master node info
    147420 GCS shadows traversed, 0 replayed, 18306 unopened
    Submitted all remote-enqueue requests
    Update rdomain variables
    0 write requests issued in 129114 GCS resources
    1 PIs marked suspect, 0 flush PI msgs
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Tue Nov 21 02:37:27 2006
    Reconfiguration complete
    Tue Nov 21 02:37:28 2006
    Instance recovery: looking for dead threads
    Instance recovery: lock domain invalid but no dead threads
    Tue Nov 21 02:37:29 2006
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 90
    Tue Nov 21 02:37:29 2006
    ALTER DATABASE CLOSE NORMAL
    Tue Nov 21 02:37:29 2006
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Tue Nov 21 02:37:34 2006
    Thread 1 closed at log sequence 2855
    Tue Nov 21 02:37:38 2006
    Completed: ALTER DATABASE CLOSE NORMAL
    Tue Nov 21 02:37:38 2006
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archiving is disabled
    Shutting down archive processes
    archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archiving is disabled
    Shutting down archive processes
    archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Nov 21 02:42:49 2006
    SHUTDOWN: waiting for detached processes to terminate.Tue Nov 21 07:16:38 2006
    Starting ORACLE instance (normal)
    Seems like it was hang when 'shutdown immediate' command is issued. can somebody help me? what should i do?
    Thanks
    Best regards,
    Nonie

    Hi nonie
    Oracle shutdown Problem
    If the following message is in the Oracle alert file:
    SHUTDOWN: waiting for detached processes to terminate
    you should change the SERVER and SRVR parameters from SHARED to DEDICATED in the file <ORACLE_HOME>\network\ADMIN\tnsnames.ora.
    http://serviceportal.fujitsu-siemens.com/i/en/support/technics/fgm/unix/nsr40a_en.htm
    hope this helps
    Taj.

  • Timed out waiting for Business process

    Hi,
    I created a web application using evision in JCAPS 512. It works properly. But some times i am getting an error message as
    "Timed out waiting for business process" when i try to access the web page usign url.
    But if i invoke page again then application works properly.
    I have increased server response timeout value also. But couldn't get
    the reason when it will occur.
    Please let me know what is the reason for this problem. If this error occurs please let me know is it possible to show some other page instead of displaying error to user.
    Regards
    Venkatesh.S

    Good day.
    I have a similar problem and I have managed to pinpoint when it fails but unfortunately I don't know how to fix it yet.
    In my scenario, I have 2 separate processes:
    the first process reads data from a Seebeyond SRE instance and stores it on a local Java CAPS queue.
    The second process is an EVision process that reads the data from this queue and displays it on a page.
    Whenever I am not connected to the network linking my Java CAPS instance to the Seebeyond SRE instance (first process cannot connect ) I get this problem on the EVision side every second time I request a page. This means I can view the first message on the queue and then I have to restart the Logical Host
    This doesn't make sense to me, since The EVision process is a completely separate process, deployed in it's own WAR file.

  • How can I not wait for a RFC response

    Hi everyone, i want to execute an RFC and not wait for the response, i don´t care, so, is there a way to achieve this ? thanks

    Hello Isaac,
    If you are calling the RFC from WebDynpro then you have to wait for the RFC response. However, there is a way that you can get early response from a RFC.
    Suppose you are using RFC1 in your program and it contains business logic. Now, don't directly call the RFC1, instead, write another RFC2 which calls RFC1 asyncronously. This way, when you call RFC2 it automatically call RFC1 and does not wait for any response for RFC1
    You can call RFC1 from RFC2  asynchronously:
    CALL FUNCTION RFC1 STARTING NEW TASK taskName
    Your WD application will immediately get a response from RFC2 while RFC1 still executing.
    To know more about asynchronous RFC refer [Parallel Processing with Asynchronous RFC  |http://help.sap.com/saphelp_nwpi71/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm]
    Hope this helps
    Abhinav

  • User not authorized for message processing

    Hi,
    I have a SM59 connection from SAP PI --> SAP R3.
    Targethost sapr3T.mydomain.
    Path prefix: /sap/xi/engine?type=entry
    Process: From PI send a message to R3 (scenarie is a Server Proxy...)
    User: PIPROXY has  Role SAP_XI_APPL_SERV_USER
    This is not enought I get error "User not authorized for message processing" when trying the connection from my  PI server. (I tried with SAP_ALL and then it works)
    What would be the right user role for this operation ?
    Br,
    Martin

    Hi all,
    I have the same problem in a XI -> BW scenario (Abap proxy).
    I get error "User not authorized for message processing" when try to send message from PI to BW.
    (I tried with SAP_ALL and then it works)
    User: PI1REMOTE has Role SAP_XI_APPL_SERV_USER and SAP_XI_IS_SERV_USER
    What would be the right user role for this operation ?
    Thanks
    Daniele

  • Getting java to wait for a process to end

    I have an application running Javac i need it to wait for this process to end before it does anything else.
    I have tried using theProc.waitFor() (the Process i have created), but this hangs my application. I know there is nothing wrong with the class paths and java itself. I have checked the process list and Javac is still in it. WHY?
    Can someone suggest anything.

    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Preference status not changed for the processed products

    Hello All,
    While Aggregating the vendor declaration, I am getting the message as below
    Preference status not changed for the processed products
    Could you please help me to resolve this issue.
    Thanks & Regards
    Rahul

    Hello Rahul,
    aggregation is not changing status on LTVD. (Possibly LTVD has been already agregated). Newly maintained LTVD is not changing status of the product, its remaining negative whatsoever.
    Kr,
    Gabriel.

  • HP SimplePass not waiting for my finger swipe

    I have the HP SimplePass software installed and the Validity driver installed. The fingerprint reader is enabled and working.
    My problem is that when I go to enrol my finger the software tells me to click on a figer to enroll it, when I click on the finger the software flashes the enrollment screen, with the 0% loading bar on it, then it switches to a message saying "It looks like you are having some trouble. Do you want to try again." I try again and the same thing happens.
    I have made sure the sensor is clean and the blue light beside the sensor is activated. The issue appears to be the program not waiting for me to swipe my finger.
    Any help or ideas as to how to fix this would be much appreciated.
    Thanks in advance.

    Testing123
    Welcome to the HP Community Forum.
    I dislike this series of the Support pages -- there is not a Validity Sensor Driver listed for this Series notebook at the Support pages.  It is not common; it does happen for a few models.
    Reference:
    HP Pavilion dv6-6070ca Entertainment Notebook PC
    The problem is that I cannot verify beyond what I can find elsewhere that your fingerprint reader hardware and your software is indeed compatible -- OR that the advice that I can give you is reasonable.
    If you end up needing a copy of your Validity Sensor Driver, the following appears to be the correct Driver for your System.
    sp55109 Validity Sensor Driver V4.3.205.0
    Commentary
    The message you are seeing is USUALLY an indication of an incompatibility between the Validity Sensor -- either the Driver / hardware and the version of the HP SimplePass program OR the Driver / hardware and some itch in the File system that impacts the way in which the HP SimplePass program is interpreting the Driver information.  This is speculation and based on experience -- I don't have access to the code, to the File System, and I do not work for HP.
    The version level of your Validity Sensor Driver, in and of itself, is adequate to allow you to upgrade to a later version of HP SimplePass than the version available at your computer's Support website.
    Because you did not indicate which version of HP SimplePass you are running, I assume you do not know, or that you are running an older SimplePass program.
    The following might work for you:
    Open the file > Click on Download > Click “Open in Adobe Reader”
    Instructions to Upgrade HP SimplePass
    If your HP SimplePass is not working:
    Start here -- it is possible the issue is not one of anything more than just a bad "tangle":
    See Page 10 of the document (at writing) –
    Follow the Procedure Pile of Rubble - Hard Reset Sequence
    Next
    If no joy, go back and follow:
    Procedure - Update / (Re) Install HP SimplePass
    NOTES:
    You are using HP SimplePass Series 6 >> Ignore references to Series 8
    Pay attention to Order-of-Events
    ==============================================================
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • How do I call the subvi in parallel with main VI. Main vi should not wait for the subvi

    I have a subvi which takes the parameters like port name, transmit rate, message to transmit over serial port and Start/stop flag. This subvi calls VISA write vi in a loop continuously, till the Start/Stop flag is false, to write a message to serial port at a mentioned transmit rate. This subvi will be called from another VI. Actual intension is to transmit different messages to different ports continuously and stop them when required. In this senario, please provide solution for below points:
    1. How do I call the subvi in parallel with main VI. Main vi should not wait for the subvi.
    2. How does main vi can control already running subvi in parallel to it. In the above example I would like to start the subvi from main vi when start\stop flag is true and would like to stop it when the flag is false.
    3. How do I call the subVI with one set of parameters from main vi, when same subVI is running with other set of parameters already from main vi(subvi being called in a case with different set of parameters each time when the case is called). Means, how do I keep track of reentrant subvi (different calls to same vi)from the same main vi.

    Hi Dharani24,
    Try if these are helpful,
    http://digital.ni.com/public.nsf/allkb/DB92C44E7D4D8A1B862577CB007D9C45
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/asynchronous_vi_calls/
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/reentrancy/
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • WaitFor() Does not wait for Process

    Experts,
    I have a Process p for a Microsoft Outlook Process OUTLOOK.EXE
    Now if there is an Email file (xyz.msg) opened as this process along with my MS Outlook running then,
    p.waitFor();
    // Where p = runner.exec(shell_command_to_open_msg_file);
    does not wait and move further.
    But if the MS Outlook is not running, then it waits till I manually close the Email msg file.
    How can I handle/overcome the former situation?
    Thanks in advance

    moondra_JavaDev wrote:
    How can I handle/overcome the former situation?
    You can't in java.
    What happens is that when outlook is already running then the new attempt to run does the following
    1. A application starts
    2. It determines that outlook is already running.
    3. It focuses that instance
    4. It exits.
    The last step is what you see. You do not have access to the one that is running because it isn't the same application.
    I would suggest examining the business requirements that are driving this. If you allow the user to already have outlook open then it seems rather odd that you are insisting that they exit it anyways. Instead you can pop a dialog and require that they tell you when they are done. Or don't use outlook and use java mail instead.

  • WORKFLOW PROCESS IS NOT WAITING FOR USER INPUT LIKE RE-ASSIGN FUNCTION

    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • Encrypted btrfs array, systemd not waiting for partitions [workaround]

    Hi,
    I have a non-root btrfs filesystem spannig over two encrypted partitions:
    /etc/crypttab:
    graid1 /dev/sdc3 /etc/crypto/graid1 timeout=15
    graid2 /dev/sdb2 /etc/crypto/graid2 timeout=15
    /etc/fstab:
    /dev/mapper/graid1 /mnt/raid btrfs defaults,device=/dev/mapper/graid1,device=/dev/mapper/graid2 0 0
    When booting I get
    A start job is running for dev-mapper-graid2.device (10s / no limit)
    Adding a nofail option to fstab makes the system bootable again but obviously the raid filesystem is not mounted. A mount -a in an interactive root shell mounts the filesystem just fine.
    My first guess was that systemd is ignorant to (among other things) the fact that all btrfs partitions must be present when mouning a btrfs array, not just the first one and it tries to "optimise" the boot process by starting the mount as soon as the first device is up via crypttab systemd automagick (systemd-crypto or whatever that unit parsing crypttab is called). Since debugging of systemd is black magick (no errors, warnings, fails or anything useful yielded from two-hour debugging using the wiki and extensive ddg'ing) I went the trial-and-error way.
    I found out that systemd somewhat "virtualises" the fstab to it's units, namely mount units, so I tried to gently hint it that it should really wait for the cryptsetup.target to finish so that all partitions are ready before it tries to mount the array:
    /etc/systemd/system/mnt-raid.mount:
    [Unit]
    Description=/mnt/raid
    Wants=cryptsetup.target
    After=cryptsetup.target
    AssertPathExists=/dev/mapper/graid1 // I was hoping these would force the unit to FAIL
    AssertPathExists=/dev/mapper/graid2 // in order for it to be at least a little debuggable. Guess what.
    [Mount]
    What=/dev/mapper/graid1
    Where=/mnt/raid
    Type=btrfs
    Options=defaults,relatime,compress=lzo,device=/dev/mapper/graid1,device=/dev/mapper/graid2
    Along with this unit I also commented out the line in fstab since it took precedence* every time even though the systemd documentation specifically says otherwise: If a mount point is configured in both /etc/fstab and a unit file that is stored below /usr, the former will take precedence. If the unit file is stored below /etc, it will take precedence. This means: native unit files take precedence over traditional configuration files, but this is superseded by the rule that configuration in /etc will always take precedence over configuration in /usr.
    *) I figured that much by trial-and-error approach, having the mount unit already present and listed in systemctl list-unit-files but removing the nofail option from fstab resulted in above mentioned "a start job is running" red line of death.
    After bootup systemctl list-units says:
    dev-mapper-graid1.device loaded inactive dead start dev-mapper-graid1.device
    mnt-raid.mount loaded inactive dead start /mnt/raid
    (these lines were not present when booting without the unit file).
    Since the unit did not "fail" and there are no logs in journalctl -u mnt-raid.mount and running SYSTEMD_LOG_LEVEL=debug systemctl start mnt-raid.mount yields only unseful:
    Calling manager for StartUnit on mnt-raid.mount, replace
    Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=StartUnit cookie=1 reply_cookie=0 error=n/a
    Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2 reply_cookie=0 error=n/a
    Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/mnt_2draid_2emount interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 error=n/a
    Adding /org/freedesktop/systemd1/job/59 to the set
    Got message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/job/59 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=2 reply_cookie=0 error=n/a
    Got D-Bus request: org.freedesktop.DBus.Properties.PropertiesChanged() on /org/freedesktop/systemd1/job/59
    Got message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/job/58 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3 reply_cookie=0 error=n/a
    Got D-Bus request: org.freedesktop.DBus.Properties.PropertiesChanged() on /org/freedesktop/systemd1/job/58
    ... and hangs indefinitely, I'm really running out of ideas. I did not find any information on how to debug a dead unit since it's apparently not considered an errorneous state.
    I'm stuck. I don't know what to do next except for making workarounds like manually mounting the filesystem via some kind of (now defunct - why?) /etc/rc.local mechanism. How do I find out what's happening when systemd starts the mount unit? How do I get the output from the commands it runs (like mount and possibly others)? I have no idea whether the custom mount unit of mine works and the problem is elsewhere or doesn't, or ... whatever.
    (off-topic: exactly how does systemd "optimise" anything? Ever since Arch moved to systemd my boot time tripled, all troubles got way more frustrating and 4 out of 5 of them were due to some systemd "goodie". What happened to KISS? systemd sure is Stupid but I kinda miss the Simple part...)
    Last edited by mr.MikyMaus (2015-04-01 13:22:11)

    Thanks! The Arch bug isn't directly related to my problem but the comment in systemd's bugreport was, well, "helpful", if you can call it that.
    UUID in fstab indeed works but I have only vague idea why and from Lennart's style of commentary I have a really bad feeling. Last time I had this feeling was a couple of years ago when I needed to solve a problem with Windows and contacted Microsoft support. They also used this language style and words like "this is intended, this is considered to be like this, you need to" and similar but no explanation why is it this way and why is it deviating from what is expected behaviour from user's point of view.

  • SCCM does not wait for Soft Reboot in deployments with dependencies

    This is a difficult thing to search for due to its granularity, so I apologize if this is a repeat topic.
    I am deploying an application with a dependency that returns the '3010' code to tell client to perform a Soft Reboot. The outcome I intended was for SCCM to install the dependency, wait for a reboot (as is the nature of the Soft Reboot to my knowledge) and
    then continue with the installation of the primary application after the user reboots.
    However, in practice this is not what SCCM does. Instead, it seems that the notice for a Soft Reboot is acknowledged by the client, noted by the expected popup the user sees as well as the 'restart required' message in Software Center, but the deployment
    process continues on in the background with the installation of the primary application being deployed. It almost seems like a bug, but maybe this is the intended behavior of SCCM 2012. I just can't find any documentation anywhere that speaks to this.

    I think this may have been a misunderstanding on my part about the specific definitions of "Hard Reboot" vs "Soft Reboot". I thought the former would immediately restart the computer, but perhaps it only halts other installations until a restart is performed
    by the user? And then a "Soft Reboot" basically would just act as a passive notification to the user that they should restart at some point, but the client itself would not actually take any action?
    It was just confusing to me that Software Center displayed the 'restart required' status yet continued with the next part of the deployment.
    To actually answer your question, I have not tried configuring the app deployment type to "Configuration Manager client will force a device restart" because to me that sounded like the client would immediately force a reboot regardless of the return code,
    but I only wanted the computer to reboot if the application installation returned the '3010' code (it can return others), and thus the default of "Determine behavior based on return codes" seemed the most appropriate option.

Maybe you are looking for