Interactive service at first boot after jumpstart

I have a lot of issues/questions with smf, so this posting is abit long. Sorry for that.
So far we have installed our own software by jumpstarting entire Solaris, copying an rc script to rc2.d , rebooting, then have that rc script to the rest of the installation. This was necessary as some important parts of the installation required daemons that are installed and started at the early stages of that rc script. It cannot be done from the finish script with everything mounted under /a. And, to make things more complex, at the end of the installation I have some interaction prompting certain passwords.
This whole mechanism blew up with the introduction of smf. So I started reading about smf and am trying to convert all this to a service.
So far I have found that I need to setup a transient single instance service, with a :true stop method, my initial rc script in /lib/svc/method/oluinstall as the start method, the service enabled by default and put the manifest in /var/svc/manifest/site/oluinstall.xml. I have a manifest that I believe to be OK. All files in /var/svc and /lib/svc would be copied there by the finish script.
What is not yet clear to me is:
a) how to get all the output to be displayed on the console instead of (or in addition to) redirecting it all to a smf logfile and
b) how to become interactive, despite this stronlgy being discouraged?
Are any of these possible? Or is there another solution to my initial installation problem?
I haven't had a chance to test my manifest as I have hit another problem that is mentioned in the Beta 7 Bugs of the Release Notes: autofs does not start (5084183). I have adjusted my finish script to create /a/etc/defaultdomain to make keyserv happy, but autofs does still not come up. svcs reports various services as offline or unitialized and the system does not get to the multi-user-server milestone:
offline        15:41:34 svc:/network/inetd-upgrade:default
offline        15:41:34 svc:/network/inetd:default
offline        15:41:34 svc:/milestone/multi-user-server:default
offline        15:41:36 svc:/network/nfs/client:default
offline        15:41:36 svc:/system/filesystem/autofs:default
offline        15:41:36 svc:/system/dumpadm:default
offline        15:41:37 svc:/system/fmd:default
offline        15:41:38 svc:/application/print/ipp-listener:default
offline        15:41:39 svc:/system/zones:default
offline        15:41:41 svc:/network/nfs/server:default
offline        15:41:44 svc:/network/smtp:sendmail
uninitialized  15:41:36 svc:/network/rpc/gss:ticotsord
uninitialized  15:41:37 svc:/network/security/ktkt_warn:ticotsord
uninitialized  15:41:37 svc:/network/telnet:default
uninitialized  15:41:37 svc:/network/rpc/smserver:default
uninitialized  15:41:40 svc:/application/print/rfc1179:default
uninitialized  15:41:40 svc:/network/nfs/rquota:ticlts
uninitialized  15:41:41 svc:/network/nfs/rquota:udp
uninitialized  15:41:41 svc:/network/ftp:default
uninitialized  15:41:42 svc:/network/finger:default
uninitialized  15:41:42 svc:/network/login:rlogin
uninitialized  15:41:42 svc:/network/rpc/rstat:udp
uninitialized  15:41:43 svc:/network/rpc/rusers:udp
uninitialized  15:41:43 svc:/network/shell:tcp
uninitialized  15:41:43 svc:/network/shell:tcp6onlyThis impacts my oluinstall script as it depends on automounter running. I tried a lot of things but I don't know how to have the autofs service up by default after a fresh jumpstart with no NIS/NIS+ configured and an exsiting /etc/defaultdomain. Can you help here?
I also tried to validate my manifest with svccfg validate and all I got was "couldn't parse document". Not very helpful. I used a toll called "rxp" that I got fro ma colleague to help find me the problems. When I fixed that I now get the following:
# svccfg validate oluinstall.xml
oluinstall.xml:17: element service: validity error : Element service content does not follow the DTD, expecting (create_default_instance? ,
single_instance? , restarter? , dependency* , dependent* , method_context? , exec_method* , property_group* , instance* , stability? ,
template?), got (create_default_instance single_instance dependency dependent exec_method method_context exec_method property_group stability
template )
svccfg: Document is not valid.
Well, I guess I need to include my manifest now as well ...
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
     Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
     Use is subject to license terms.
     ident     "@(#)oluinst.xml     1.1     04/11/04 UBS"
     Service manifest for OLU installation.
-->
<service_bundle type='manifest' name='ubsjpstrt:oluinstall'>
<service
     name='site/oluinstall'
     type='service'
     version='1'>
     <create_default_instance enabled='true' />
     <single_instance />
     <dependency
          name='oluinstall_multi-user'
          type='service'
          grouping='require_all'
          restart_on='none'>
          <service_fmri value='svc:/milestone/multi-user' />
     </dependency>
     <dependent
          name='oluinstall_multi-user-server'
          type='service'
          grouping='require_all'
          restart_on='none'>
          <service_fmri value='svc:/milestone/multi-user-server' />
     </dependent>
     <exec_method
          type='method'
          name='start'
          exec='/usr/bin/rcwrapper /lib/svc/method/oluinstall'
          <method_context>
               <method_credential user='root' group='root' />
          </method_context>
          timeout_seconds='0' />
     <exec_method
          type='method'
          name='stop'
          exec=':true'
          timeout_seconds='3' />
     <property_group name='startd' type='framework'>
          <propval name='duration' type='astring' value='transient' />
     </property_group>
     <stability value='Unstable' />
     <template>
          <common_name>
               <loctext xml:lang='C'>
                    OLU Base jumpstart installation
               </loctext>
          </common_name>
          <documentation>
               <manpage title='oluinst' section='1M'
               manpath='/usr/share/man' />
          </documentation>
     </template>
</service>
</service_bundle>Finally, at the end of my install script, I need to remove the service as I need it to run only once. Before smf the rc script simply removed itself. How do I do this now?
svcadm disable svc:/site/oluinstall
svccfg delete svc:/site/oluinstall
Is that correct?
Thanks for any help!
- Tom

Tom:
Great questions. I'll try to answer them in order.
What is not yet clear to me is:
a) how to get all the output to be displayed on the console instead of
(or in addition to) redirecting it all to a smf logfile and
b) how to become interactive, despite this stronlgy being discouraged?Becoming a console interactive service requires two parts:
- You need to redirect your input and output to /dev/console. Example
services which do this are kdmconfig (x86 platforms) and the
sysidtools (all platforms)--that is, your fellow interactive services.
Please attempt to keep your error messages going to the logfile by
making the redirection only for specific commands, and not the entire
start method.
- More importantly, you also have to insert yourself before any of the
console-occupying login services and after the last of the configuration
services. On workstations, this set of services includes GDM (for
GNOME/JDS) and possibly CDE, depending on build.
(We're going to make this a little easier and then much easier in the
future. But you should only write interactive services if you are the
systems deployer, and not a software vendor.)
You can use svcs -l to list the dependencies on console-login, like so
$ svcs -l console-login
fmri         svc:/system/console-login:default
name         euro-friendly console login
enabled      true
state        online
next_state   none
restarter    svc:/system/svc/restarter:default
contract_id  133
dependency   optional_all/none svc:/platform/i86pc/kdmconfig:default (online)
dependency   exclude_all/none svc:/application/gdm-login:default (disabled)
dependency   require_all/none svc:/system/sysidtool:net (online) svc:/system/sysidtool:system (online)
dependency   require_all/none svc:/system/utmp:default (online)
dependency   require_all/none svc:/system/identity:node (online)
dependency   require_all/none svc:/system/filesystem/local (online)
I haven't had a chance to test my manifest as I have hit another
problem that is mentioned in the Beta 7 Bugs of the Release Notes:
autofs does not start (5084183). I have adjusted my finish script to
create /a/etc/defaultdomain to make keyserv happy, but autofs does
still not come up.I would actually disable keyserv, as what's happening is nfs/client is
probably enabled and getting stuck. The best way to report on this is
to run "svcs -xv".
I also tried to validate my manifest with svccfg validate and all I
got was "couldn't parse document". Not very helpful. I used a toll
called "rxp" that I got fro ma colleague to help find me the problems.
When I fixed that I now get the following:
# svccfg validate oluinstall.xml
oluinstall.xml:17: element service: validity error : Element service
content does not follow the DTD, expecting (create_default_instance? ,
single_instance? , restarter? , dependency* , dependent* ,
method_context? , exec_method* , property_group* , instance* ,
stability? , template?), got (create_default_instance single_instance
dependency dependent exec_method method_context exec_method
property_group stability template ) svccfg: Document is not valid. We ship xmllint(1), but I agree that svccfg validate should be more
helpful. Anyways, the point is that your method_context element needs to
precede your exec_method elements. If you want to override a single
method's context, you embed the method_context element.
/var/svc/manifest/network/ldap/client.xml has a non-trivial example.
Finally, at the end of my install script, I need to remove the service
as I need it to run only once. Before smf the rc script simply removed
itself. How do I do this now?
svcadm disable svc:/site/oluinstall
svccfg delete svc:/site/oluinstallWe have use a similar approach for singly-run upgrade services, like
network/inetd-upgrade. I discourage deleting the service (and deletion
after disable is a race between the restarter and the repository anyway).
I hope these answers are helpful.
- Stephen

Similar Messages

  • What is a neat way to delete a stale amavisd pid_file on first boot after panic or power failure?

    Lion Mail Server component postfix/smtp 100% reproducible blocks inbound smtp mail delivery on first boot after a panic or power failure.
    Error messages from mail.log are like:
    postfix/smtp[45785]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused postfix/smtp[45785]: 2F7131F9A97: to=<[email protected]>, relay=none, delay=76041, delays=76040/0.36/0.05/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) postfix/error[45790]: 550D61F9A99: to=<[email protected]>, relay=none, delay=76040, delays=76040/0.39/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) postfix/postscreen[45872]: NOQUEUE: reject: RCPT from [100.200.100.159]:65392: 450 4.3.2 Service currently unavailable; from=<[email protected]>, to=<[email protected]>, proto=ESMTP, helo=<host.domain.tld> /usr/libexec/postfix/greylist.pl[45885]: Temporary message rejection to: <[email protected]> from: <[email protected]> sent from: [100.200.100.159] for: 60 seconds due to greylisting postfix/smtpd[45879]: NOQUEUE: reject: RCPT from host.domain.tld[100.200.100.159]: 450 4.7.1 <[email protected]>: Recipient address rejected: Service is unavailable; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<host.domain.tld>
    The issue seems to be related to the amavis content filter due to the connection to port number 10024 and amavisd being configured on that port. Amavis.log:
    /usr/bin/amavisd[236]: (!)Net::Server: 2012/07/25-13:38:49 Pid_file already exists for running process (88)... aborting\n\n  at line 277 in file /System/Library/Perl/Extras/5.12/Net/Server.pm ... /usr/bin/amavisd[236]: Net::Server: 2012/07/25-13:38:49 Server closing! ...repeating roughly every 10 seconds...
    The workaround is to reboot the machine, after the second boot the inbound smtp mail delivery is no longer stuck.
    The issue seems to be related to http://serverfault.com/questions/138690/amavisd-net-server-pid-file-already-exis ts-after-system-crash-and-startup
    How to permanently fix Apple Mail Server to accept smtp inbound messages on first boot, by removing the left over amavis pid_file from the previous unclean shutdown?

    Use connection pooling. This will put the connection management in the hands of the webserver, not your code. Check out this post:
    http://forum.java.sun.com/thread.jspa?threadID=741788&messageID=4252932#4252932

  • Kernel panic on first boot after 10.6.8 update

    Hi,
    Here are the fact:
    1) I systematically get a kernel panic on first boot after an attempt to update to 10.6.8 (was able to revert to 10.6.7 using Time Machine; now I'm running my tests on a clone). While doing the update, there are NO USB connexion to my laptop, nor ethernet connexion. Only the power cable.
    2) I DO NOT use the software Hands Off which is known to cause such an issue
    3) I've tested this on two different hard drive (with a clone of my system)
    4) I disabled all third app on startup just to be sure this wasn't a conflict problem
    5) After a kernel panic, I'm always able to boot in safe mode
    6) I did try both the normal update and the combo update (same result)
    Now I'm kinda stuck. The next test I'm thinking performing is to update while in safe mode. But I don't know if it will help.
    And yes, my permissions are all fine. Any idea how to troubleshoot this? I believe I need to be in 10.6.8 in order to update to Lion?
    Many thanks in advance!
    Parneix

    Hi,
    Sorry about that. Below you'll find the log of my latest kernel panic.
    I did follow instructions suggested by user "ds store". The only "kext" file that I've got (by running the commands in the Terminal) was related to the software LittleSnitch. I downloaded it again in order to run the uninstaller. I'll try again to update to 10.6.8 under those conditions and report here.
    Mon Jul  4 11:00:32 2011
    panic(cpu 0 caller 0x2abf6a): Kernel trap at 0x57cf1b5a, type 14=page fault, registers:
    CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000660
    EAX: 0x00000000, EBX: 0x096b8100, ECX: 0x01500000, EDX: 0x00000001
    CR2: 0x00000000, EBP: 0x57dd3df8, ESI: 0x00000001, EDI: 0x096b8100
    EFL: 0x00010206, EIP: 0x57cf1b5a, CS:  0x00000008, DS:  0x00000010
    Error code: 0x00000000
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x57dd3be8 : 0x21b837 (0x5dd7fc 0x57dd3c1c 0x223ce1 0x0)
    0x57dd3c38 : 0x2abf6a (0x59e3d0 0x57cf1b5a 0xe 0x59e59a)
    0x57dd3d18 : 0x2a1a78 (0x57dd3d30 0x10001 0x57dd3df8 0x57cf1b5a)
    0x57dd3d28 : 0x57cf1b5a (0xe 0x9790048 0x9790010 0x10)
    0x57dd3df8 : 0x57cf1951 (0x96b8100 0x57cf1f64 0x57cf1f5c 0x7d22fc0)
    0x57dd3e18 : 0x543f60 (0x96b8100 0x6c03f00 0x1 0x506b76)
    0x57dd3e78 : 0x542137 (0x6c03f00 0x96b8100 0x7d28a00 0x9791da0)
    0x57dd3f28 : 0x5426e9 (0x6c03f00 0x7d20340 0x0 0x516766)
    0x57dd3f78 : 0x5443d5 (0x6c03f00 0x8 0x57dd3fac 0x1)
    0x57dd3fc8 : 0x2a179c (0x9773aa0 0x0 0x2a17ab 0x7c1b000)
          Kernel Extensions in backtrace (with dependencies):
             com.apple.iokit.CHUDKernLib(3)@0x57cf0000->0x57cf3fff
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10K540
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    System model name: MacBookPro5,5 (Mac-F2268AC8)
    System uptime in nanoseconds: 54454580752
    unloaded kexts:
    (none)
    loaded kexts:
    com.Cycling74.driver.Soundflower          1.5.1 - last loaded 54075922238
    com.Logitech.Control Center.HID Driver          3.2.0
    at.obdev.nke.LittleSnitch          2.2.05
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.iokit.CHUDUtils          3
    com.apple.driver.AppleIntelYonahProfile          14
    com.apple.driver.AppleMikeyHIDDriver          1.2.0
    com.apple.iokit.CHUDProf          3
    com.apple.driver.AppleUpstreamUserClient          3.5.7
    com.apple.driver.AppleIntelPenrynProfile          17
    com.apple.driver.AppleMikeyDriver          2.0.5f13
    com.apple.driver.AppleHDA          2.0.5f13
    com.apple.driver.AppleGraphicsControl          2.10.6
    com.apple.driver.AppleMCCSControl          1.0.20
    com.apple.driver.AppleIntelNehalemProfile          11
    com.apple.driver.AirPortBrcm43xx          423.91.27
    com.apple.driver.AudioIPCDriver          1.1.6
    com.apple.nvenet          2.0.17
    com.apple.driver.AppleBacklight          170.0.46
    com.apple.kext.AppleSMCLMU          1.5.2d10
    com.apple.driver.SMCMotionSensor          3.0.1d2
    com.apple.driver.AppleIntelMeromProfile          19
    com.apple.driver.AirPortBrcm43224          428.42.4
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.0a1
    com.apple.driver.AppleLPC          1.5.1
    com.apple.GeForce          6.3.6
    com.apple.filesystems.autofs          2.1.0
    com.apple.driver.AppleUSBTCButtons          201.6
    com.apple.driver.AppleUSBTCKeyEventDriver          201.6
    com.apple.driver.AppleUSBTCKeyboard          201.6
    com.apple.driver.AppleIRController          303.8
    com.apple.driver.AppleUSBCardReader          2.6.1
    com.apple.iokit.SCSITaskUserClient          2.6.8
    com.apple.iokit.IOAHCIBlockStorage          1.6.4
    com.apple.BootCache          31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.driver.AppleUSBHub          4.2.4
    com.apple.driver.AppleFWOHCI          4.7.3
    com.apple.driver.AppleEFINVRAM          1.4.0
    com.apple.driver.AppleAHCIPort          2.1.7
    com.apple.driver.AppleUSBEHCI          4.2.4
    com.apple.driver.AppleUSBOHCI          4.2.0
    com.apple.driver.AppleHPET          1.5
    com.apple.driver.AppleSmartBatteryManager          160.0.0
    com.apple.driver.AppleRTC          1.3.1
    com.apple.driver.AppleACPIButtons          1.3.6
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.3.6
    com.apple.driver.AppleAPIC          1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient          142.6.0
    com.apple.security.sandbox          1
    com.apple.security.quarantine          0
    com.apple.nke.applicationfirewall          2.1.12
    com.apple.driver.AppleIntelCPUPowerManagement          142.6.0
    com.apple.iokit.KLog          2.4.5
    com.apple.iokit.IOSurface          74.2
    com.apple.iokit.IOBluetoothSerialManager          2.4.5f3
    com.apple.iokit.IOSerialFamily          10.0.3
    com.apple.driver.AppleHDAHardwareConfigDriver          2.0.5f13
    com.apple.iokit.CHUDKernLib          3
    com.apple.driver.DspFuncLib          2.0.5f13
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOAudioFamily          1.8.3fc2
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleHDAController          2.0.5f13
    com.apple.iokit.IOHDAFamily          2.0.5f13
    com.apple.driver.AppleBacklightExpert          1.0.1
    com.apple.nvidia.nv50hal          6.3.6
    com.apple.iokit.IOFireWireIP          2.0.3
    com.apple.iokit.IO80211Family          320.1
    com.apple.iokit.IONetworkingFamily          1.10
    com.apple.driver.NVSMU          2.2.7
    com.apple.driver.AppleSMC          3.1.0d5
    com.apple.driver.IOPlatformPluginFamily          4.7.0a1
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.iokit.AppleProfileFamily          41
    com.apple.NVDAResman          6.3.6
    com.apple.iokit.IONDRVSupport          2.2
    com.apple.iokit.IOGraphicsFamily          2.2
    com.apple.driver.AppleUSBMultitouch          207.7
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController          2.4.5f3
    com.apple.iokit.IOBluetoothFamily          2.4.5f3
    com.apple.iokit.IOUSBHIDDriver          4.2.0
    com.apple.iokit.IOUSBMassStorageClass          2.6.7
    com.apple.iokit.IOSCSIBlockCommandsDevice          2.6.8
    com.apple.driver.AppleUSBMergeNub          4.2.4
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          2.6.8
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.6.1
    com.apple.driver.XsanFilter          402.1
    com.apple.iokit.IOAHCISerialATAPI          1.2.6
    com.apple.iokit.IOSCSIArchitectureModelFamily          2.6.8
    com.apple.driver.AppleFileSystemDriver          2.0
    com.apple.iokit.IOUSBUserClient          4.2.4
    com.apple.iokit.IOFireWireFamily          4.2.6
    com.apple.iokit.IOAHCIFamily          2.0.6
    com.apple.iokit.IOUSBFamily          4.2.4
    com.apple.driver.AppleEFIRuntime          1.4.0
    com.apple.iokit.IOHIDFamily          1.6.6
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.TMSafetyNet          6
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          289.1
    com.apple.iokit.IOStorageFamily          1.6.3
    com.apple.driver.AppleACPIPlatform          1.3.6
    com.apple.iokit.IOPCIFamily          2.6.5
    com.apple.iokit.IOACPIFamily          1.3.0

  • Failure on first boot after WinXP install

    Hi.. windows installs ok then when it boots for the first time, after the initial install and before finishing the total install, I see press any key to boot from CD at which point in my Windows experience I do nothing so it can boot from the HD. But I get go Sys found message.. This is on a 2.8 gig iMac with 1Tb drive.
    Thanks... Van

    Solved, helps to read the instructions... you must format your partition and not leave it with the bootcamp format. Fixed. Solved.

  • Hal.dll is missing after first boot after installing Windows

    I've used Boot Camp Assistant to resize my existing Macintosh HD (even though I left 700GB free space on the disk in Disk Utility during setup; it would only allow me to resize an existing disk). I then let it reboot and started XP setup fine. Chose the correct partition and formatted as NTFS (since it's larger than 32GB), went through copying all the files successfully, and after it automatically rebooted, I get this:
    Windows could not start because the following file is missing or corrupt:
    <Windows root>\system32\hal.dll.
    Please re-install a copy of the above file.
    I've been following the documentation which is pretty thin when it comes to the actual install. It gives the impression "everything just works" but in my case it doesn't. How do you actually install Windows on a Mac and have it be able to boot after the apparently-successful installation process?

    It may be my fault because I did a full format, and when it took so long, I rebooted, deleted the partition, and recreated it and told it to do a quick format. The instructions say not to create or delete a partition "other than as noted" in the picture or else I could lose my system partition. I didn't lose that but my problems might have been another result of my doings.

  • Running unix scripts on first boot after imaging

    Hi,
    I have a setup in which student users at the school I work for log in via AD to create a mobile account on the local system. This all works great in snow leopard so far, the issue i am having is I have a couple of bash scripts that run at boot. They run ok, but one script opens up the folder the script is located in (script does run, and the folder doesn't open the next time a student logs in), and I also have a Acceptable Use Policy PDF the opens up on log in, the first time a user logs into a system, it opens in Safari, the second time it opens it is in Preview (I want it to open in preview each time).
    These problems aren't exactly show stoppers, but they are pretty annoying (especially since students log in to 5 or 6 different computers per day, so the errors show up 5 or 6 time per day for the users.)
    Any suggestions to get this fixed would be greatly appreciated!

    osascript -e 'tell application "Preview"' -e 'open file "path:to:file.pdf"' -e 'end tell'

  • Upgrade and Install fails after first boot. Then I am unable to repair

    I don't know if anyone else has experienced this?
    I've experienced the aqua screen of death with the Upgrade option and was unable to resolve it, even after trying the APE removing technique.
    So, I decided to restore back to Tiger 10.4.10 (thanks to Super Dupering prior to upgrade) and try the archive and install option. All appeared to go well, installed fine, allowed me to login and run all my apps. But, upon doing my first reboot after the 'sucessful' install the system just hangs at the gray screen. I tried using Disk Utility from the Leopard DVD, but it's unable to repair permissions.
    I got this error message: 'The underlying task reported failure on exit'. Tried many times, I also tried the /sbin/fsck -fy in single user mode.
    I tried booting into DiskWarrior 4's. Once in DW4 I ran the Repair function there... Here I got another error message.
    This error being: 'Error -9997'.
    OK I thought, something random must have happened. Soooo I restored to Tiger again and ran the Archive and Install option once again.
    I'm am again experiencing the exact same problems with freezing gray boot screen and the inability to repair permissions (all after doing my first boot after sucessful install and login/opening of many apps)
    Please please please can anyone she some light on this problem???
    I'm going to try one more option:
    Upgrade after I've disable all startup options and removing anything to do with APE....
    I will report back!
    This is really really crap Apple, I can't believe I've spent £85 and probably 15 hours on this sloppy release. Utterly disapointed

    Just me it seems then....
    Right, I think it's finally resolved, only after the fifth time. I've now rebooted twice and so far so good.
    There was a new message when I powered down for the first time, something along the lines of:
    Please wait while your Boot Caches are updated.
    This seems to be a reasuring message, I feel almost confident in restarting again.
    I upgraded using the following method:
    1. Disabled ALL startup items (System Preferences>Accounts>Login items)
    2. Removed all traces of APE (Application Enhancer) using Finder:
    /Library/Preference Panes/Application Enhancer.prefpane
    /Library/Frameworks/Application Enhancer.framework
    /System/Library/SystemConfiguration/Application Enhancer.bundle
    /Library/Preferences/com.unsanity.ape.plist
    3. Repaired Permissions
    Right, before I perform a new backup I think I'll see how she runs for a week, so I'm sure the boot problem is definitely gone.

  • Jumpstart , smf and scripts on first boot

    Could anyone help me I am trying to work out how which is the best way to apply patches and customizations on first boot of a new machine that has just been jumpstarted. Does anyone have a example of a service that runs once to allow me to do this?

    I want to be able to not just add patches I need to
    add packages make system changes I used to be able to
    do this with /etc/rc2.d scripts but now its smf in
    solaris 10 and I need to be able to make this changes
    at run level 2 and then reboot.You can do it just like before. Put a script in /etc/rc2.d.
    You can also create a SMF manifest, and a custom "site" profile to activate/deactivate the services you want. Put them into the manifest and profile directories and they'll be loaded and activated/deactivated at first boot.
    Darren

  • [solved] Large number of services enabled during first boot

    I just set up Arch Linux on a VM and was surprised to see a large number of services enabled in systemd during the first boot, including ftpd! I have set up several Arch Linux installations before, and have never encountered this before.
    To be sure, I installed a second time. While still booted in the install ISO, I checked and verified that only a few services were enabled. After the first boot into the system, sure enough, a large number of services were enabled.
    Any ideas as to what might be causing this?
    Edit #1: found the following in journalctl. It looks like a bunch of packages are missing systemd preset files, and services that are missing preset files are enabled by default.
    Edit #2: filed a bug report: https://bugs.archlinux.org/task/41711
    Edit #3: until this is fixed, a workaround is to get systemd-214-2 from ARM and downgrade to that before your first boot into the new installation. After you've booted, you should be able to upgrade back to the current systemd and have everything work out.
    Edit #4: Fixed in systemd-216-3. If you installed and rebooted prior to 216-3 hitting [core], see here for a proper fix.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about iptables.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-root-fs.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable systemd-networkd-wait-online.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about busnames.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-remount-fs.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kpropd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about nscd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-setup-dev.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-done.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rsyncd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rlogin.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udev-trigger.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sys-kernel-config.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable systemd-journal-gatewayd.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about gpm.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about paths.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-remote.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about system-update.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-wall.path, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about quotaon.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-setup.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about final.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-initctl.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about talk.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-modules-load.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udevd-kernel.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about proc-sys-fs-binfmt_misc.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about nss-lookup.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about local-fs.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-switch-root.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dev-mqueue.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kpropd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-parse-etc.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-reboot.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about updatedb.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.resolve1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kadmind.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-update-utmp.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about ftpd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about krb5-kdc.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journald.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about graphical.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sshd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-sysusers.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sys-kernel-debug.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-vconsole-setup.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about ldconfig.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable console-shell.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-console.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about machine.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-flush.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rescue.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.timedate1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about proc-sys-fs-binfmt_misc.automount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-firstboot.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-catalog-update.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sockets.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-hybrid-sleep.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-initctl.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about cryptsetup-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-resolved.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-hibernate.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-wall.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-logind.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sys-fs-fuse-connections.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-update-done.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about emergency.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about slices.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about iptables.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about logrotate.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-quotacheck.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about tmp.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dm-event.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-done.timer.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable console-getty.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-localed.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about printer.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-clean.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journald.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-shutdownd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about uuidd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.locale1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rsh.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-timesyncd.service.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable kexec.target.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-collect.service.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-drop.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about suspend.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about mkinitcpio-generate-shutdown-ramfs.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable [email protected].
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-update-utmp-runlevel.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about cryptsetup.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-fs.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about smartcard.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dbus.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-ask-password-console.path, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-random-seed.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about uuidd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about basic.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about remote-fs-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dhcpcd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about logrotate.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sshdgenkeys.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-fsck-root.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about fstrim.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-suspend.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about swap.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.login1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-readahead-replay.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journald-dev-log.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about timers.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable rescue.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about user.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-sysctl.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about fstrim.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sysinit.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about hybrid-sleep.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dev-hugepages.mount, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udev-hwdb-update.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-upload.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-shutdownd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about emergency.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-user-sessions.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sound.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable poweroff.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dbus.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable systemd-journal-gatewayd.socket.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about talk.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable remote-fs.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about shadow.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about system.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about bluetooth.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable syslog.socket.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about getty.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-kexec.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable halt.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about -.slice, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about network-online.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sleep.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about dm-event.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-tmpfiles-clean.timer, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about kmod-static-nodes.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about multi-user.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.machine1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about hibernate.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says enable systemd-networkd.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about nss-user-lookup.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-halt.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about umount.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about network.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-timedated.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udevd-control.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about ip6tables.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sshd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about time-sync.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about updatedb.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about sigpwr.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-poweroff.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-udevadm-cleanup-db.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rpcbind.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about shadow.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about network-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-switch-root.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable debug-shell.service.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-hostnamed.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about [email protected], enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about telnet.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file says disable reboot.target.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about org.freedesktop.hostname1.busname, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about rsyncd.socket, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-machined.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about local-fs-pre.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-journal-remote.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udev-settle.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-binfmt.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about systemd-udevd.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about shutdown.target, enabling.
    Aug 27 02:53:41 host systemd[1]: Preset file doesn't say anything about initrd-cleanup.service, enabling.
    Aug 27 02:53:41 host systemd[1]: Populated /etc with preset unit settings.
    Things enabled before first boot (based on contents of /etc/system/systemd/*.wants):
    getty.target.wants:
    * [email protected]
    multi-user.target.wants:
    * [email protected]
    * iptables.service
    * remote-fs.target
    * sshd.service
    sysinit.target.wants:
    (none)
    Stuff additionally enabled and started during first boot (also based on /etc/system/systemd/*.wants):
    default.target.wants:
    * systemd-readahead-collect.service
    * systemd-readahead-replay.service
    multi-user.target.wants:
    * dhcpcd.service * krb5-kpropd.service
    * fstrim.service * nscd.service
    * ftpd.service * rsyncd.service
    * gpm.service * systemd-journal-upload.service
    * ip6tables.service * systemd-networkd.service
    * krb5-kadmind.service * systemd-resolved.service
    * krb5-kdc.service
    sockets.target.wants:
    * krb5-kpropd.socket * systemd-journal-remote.socket
    * rlogin.socket * talk.socket
    * rsh.socket * telnet.socket
    * rsyncd.socket * uuidd.socket
    * sshd.socket
    sysinit.target.wants:
    * dm-event.service
    * systemd-timesyncd.service
    system-update.target.wants:
    * systemd-readahead-drop.service
    Explicitly installed packages:
    dhcpcd iputils procps-ng systemd-sysvcompat
    diffutils linux-grsec psmisc tar
    dnsutils logrotate reflector vim-systemd
    file mlocate rsync wget
    gradm mtr s-nail which
    grub openssh screen whois
    inetutils pacman
    Last edited by tazmanian (2014-09-10 23:11:42)

    +1.
    Here is the ports these services are listening:
    $ ss -tpl
    State      Recv-Q Send-Q                                                                                                       Local Address:Port                                                                                                           Peer Address:Port   
    LISTEN     0      128                                                                                                                      *:llmnr                                                                                                                     *:*       
    LISTEN     0      128                                                                                                                      *:ssh                                                                                                                       *:*       
    LISTEN     0      128                                                                                                                     :::llmnr                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::19532                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::tell                                                                                                                     :::*       
    LISTEN     0      128                                                                                                                     :::ssh                                                                                                                      :::*       
    LISTEN     0      128                                                                                                                     :::telnet                                                                                                                   :::*       
    LISTEN     0      128                                                                                                                     :::login                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::shell                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::rsync                                                                                                                    :::*       
    LISTEN     0      128                                                                                                                     :::git                                                                                                                      :::*

  • The first boot of iphone 5 is not possible due to lack of battery charge , it happened after charging, is there s any issue of battery life

    the first boot of iphone 5 is not possible due to lack of battery charge , it happened after charging, is there s any issue of battery life

    Charge the phone for 15 minutes with the Apple charger. Then hold the HOME and SLEEP buttons at the same time until an Apple logo appears.

  • After upgrade conky does not display right on first boot

    After i upgraded my arch conky will display on top of all windows when i first boot the machine, until i kill it and restart it then it works perfectly. I am using openbox with no compositing.

    conky reports the same thing as all previous versions, playing with the config did not help and no note of any config changes on conky's website. yes downgrading to conky-1.8.1-1 works for now but world like to fix this as it does not seem to affect my other computer with almost the same hardware and setup.

  • Safari crashes on first load after boot.

    Hi, I've been having this issue with Safari for a few weeks now. Whenever I open Safari for the first time, after booting the computer up, the program loads my front page, and then freezes as soon as I try to open top sites, go to a bookmark, anything of the sort. It doesn't "un-freeze" itself if given time, but if I force quit and re-open the program, it runs perfectly, and continues to do so until the next reboot.
    I've noticed that the issue seems to be unrelated to anything that would seem to make sense - whether I've just booted the computer up and it's the first thing I've opened, or whether I've had the computer on for hours and have been using other applications, from Photoshop to Firefox. It's also done this across multiple updates of the program.
    Has anybody else encountered this issue? It's not much more than an annoyance, but it bothers me that such a problem could be indicative of something more serious.

    Hi
    Welcome to Apple Discussions
    Not sure about a "known bug" - that's really for the engineers in Cupertino to chew on. However, do send feedback to Apple via the Safari Menu>Report Bugs to Apple referencing your thread.

  • Safari 4.0.3 slow on first Startup after Rebooting/Booting System. 10.6.1

    Found this Video and I have excately the same problem.
    Safari Slow Startup - Video
    On the first startup after system boot safari is very slow. After that everything is back to normal.
    What's up with this? Anybody else?

    A quick update on this. And @BroSter, find uninstalling instructions for SafariBlock below. CHEERS!
    1) ClickToFlash is not the problem. Just update it to v1.6b2 which works flawless for me. Get it here:
    http://rentzsch.github.com/clicktoflash/
    2) Uninstalling SafariBlock:
    Go to Macintosh HD -> Library -> InputManagers and delete the SafariBlock folder. You'll need administrative privileges to do this, and you may need to restart your computer for the change to take effect.

  • Hi!I'm owner of a MacBook pro 13''.Trying to achieve my first boot of leopard after an issue which a learned that is named kernel panic,I find an error 0x7fff5fc00000 which prevent me by installing MacOs.My guarantee lasts 1 month more.Could anyone help m

    You advise me to send MacBook to an apple's service point or is there any way to handle it myself?

    A kernel error is often a hardware issue, so, if it's still under warranty, it's best to take it back to Apple or an AASP.
    However, there are several issue which aren't clear.
    You talk about "first boot of leopard".
    If this Mac is 11 months old, it should have come with Snow Leopard already installed, so why is this the first boot? Or are you talking about Leopard (Mac OS X v10.5), not Snow Leopard (v10.6)? If so, booting from earlier versions of Mac OS X is not supported.

  • Computer won't get past the first boot screen after install

    Hullo,
    I've been meaning to try Linux for a good two years now, and finally got to the point where I will install it, and stick with it, and nothing else but it, for a month.
    I decided to go with Arch, because I'm a minimalistic kind of guy, don't mind getting my hands dirty, and a few other reasons. So, I got a copy of the "release" version, arch-0.7.2-base.iso, I believe the same as the most recent stable edition from the nethat FTP.
    I burned it as an image onto a CD-R, popped it into my CD-ROM drive and rebooted my computer. It came up, I hit enter to boot, it was successful so far. Then I got to the menu screens, where I did the easy part, and just erased my harddrive. Then I selected the base installation from the CD, installed it, seemed fine. I then installed the kernel and boot loader (GRUB) and everything seemed ok.
    I type in reboot as it says, it reboots, the first screen pops up, where it says Gateway, Intel Inside, and press F10 for this, and F2 for that. It stayed like that for 5 or so minutes, so I restart. Same thing, restart again. Try to press F10 and F2, nothing. Restart again, same thing. Kept it like that, thinking it was a little laggy and had to do something. It's been on that screen for a good hour and a half now.

    tomk wrote:That's why I directed you to that particular wiki page, which suggests rebooting with the install CD. You did that to install, so you should be able to do it again.
    But like I've said before, I CAN'T get there. It stops at the first boot screen.

Maybe you are looking for