[Solved] Installting A Pure systemd System From Scratch

Hello all,
A few months back I gave Arch a spin and it was great, but decided to wait for Windows 8 RTM to come out to check it out as well.
Windows 8 being the horrible thing it is, Arch is the way to go, and I would like to do a test installation alongside Windows 7, in order to make sure I can make the switch permanently.
Having followed the forums pretty consistently, it seems that systemd is the future.
Instead of waiting for it to be integrated (which is supposed to happen at some point), I was wondering if I can somehow install a pure systemd system as part of the basic installation and not installing initscripts at all.
Thanks, Adam.
Last edited by adam777 (2012-08-28 12:55:27)

mhertz wrote:
luvfree wrote:[...].
I'm going to reinstall anyway so why not wait until the iso doesn't pacstrap the old initscripts and sysvinit?
Just makes for a cleaner install all around.
I'm certainly not going to leave this install on with 4 installed desktop environments.[...]
I myself was also reinstalling alot and imaging and whatnot when I first began with linux(arch), but after some time I realised that it was pointless and linux dosen't need those reinstalls for optimization like windows did, and pacman has nifty switches to get you sorted on what you've explicitly installed and hence, can go delete the cruft not used anymore, or to list files not owned by any installed packages, to clean up in etc...
Nowadays, I newer reinstall unless something would go _really_ wrong, and only backup config-files and home-files, and keep a livecd around for rescue-operations, and an automated personal install script for if I ever do need to reinstall...
Anyway, of course it's your own choise
I understand and the arch way is awesome.
but it is still on the new side to me.
I've bloated this install with 4 desktop environments so a reinstall is inevitable. lol
once I settle on which one to keep I'll do just that.
it will be some time though I'm sure.
I'm just keeping my eye out for an iso without the old initscripts pacstapped to begin with.
it just HAS to be a cleaner install.
Thanks for your input though.
CHEERS.
Oh yeah and by the way I've used nothing but linux for over 10 years now.
No windoze here.
Last edited by luvfree (2012-09-05 03:40:22)

Similar Messages

  • Advice needed on building first system from scratch...

    Ok, here goes, I am so excited, like a kid on Xmas...My goodies from Newegg will be here later today or tomorrow....I recently purchased: A new tower, Antec PSU, 2x512 Corsair pc3200, MSI K7N2 Delta - ILSR and some other assorted crap....
    Anyway, I have never built a system from the ground up before...I am looking forward to the challenge....But before I begin I was wondering if I could get some tips?
    I already backed up all the files(photos, demos, benchmarks etc...)that I'll be saving...I also made copies of all the drivers I need to set it up when it's done(Nvidia graphics drivers, DX9.0b), I assume the mobo drivers will come with the mobo....I also want to do a fresh install of Windows as well.....Now my main concern is in regards to the order in which everything is done....I have replaced a motherboard before so I have a little knowledge of the inner workings....But never having built one from scratch, I'm a little leary as to the order and how everything should be installed....
    I will also be adding my current Vid. card,  sound card?(I'm pretty sure the onboard is better?) and HDD.....Windows came installed on my machine when I purchased it so I don't have the Windows CD, but I have made the set of recovery discs that is needed to set it back to factory specs and settings...Have I forgotten anything?...Any help would be greatly appreciated...Thanks!
                               Silly

    Quote
    Originally posted by GlennVidia
    Quote
    Originally posted by SillySider03
    Thank you guys for all the helpful replies.....
    Axel, thanks for the link...It was an informative read..
    Glenn, I don't have an XP CD...The OS came installed on the computer when I purchased it.....I only have the 6 recovery CD's that I made under "PC RECOVERY TOOLS"...It's an older Compaq...Oh, and it's an AMD xp2400(can be unlocked using the Speed-Strip, currently it's locked because my mobo doesn't support the OC features I so desperately want to play with..Muhahaha ).....Also, I am currently downloading the Nvidia "Unified" driver and SP1....All of a sudden, something I was looking forward to seems like the scariest thing in the world....Will this thing even boot when I get it plugged in? How am I going to install all this crap? Geez, I'm worried now...
    Bogs, I will try both on-board and SB Live 5.1....I play a lot of BFV and 1942, I'll see if I can tell if there is a performance and/or increase in sound quality....What tag do you play under? See you on the battlefield!!!
    Thanks again for all the replies, Silly
    Well first things first, follow my suggestions on the FSB settings until you are sure it's stable and the OS has been loaded and is stable as well before you introduce overclocking to the mix...
    I am a bit concerned about your Recovery CD, Most likely it'll puke on you since the motherboard and EVERYTHING except the CPU has changed?  Most likely it will halt and tell you it's not a (enter name) PC and cannot continue. Try it and see.
    Maybe someone has a way around it and you can discuss that in either Private Messaging or via E-mail. Please keep that little tidbit out of the forums.
    bogs dollocks,
    Ahhh... think you're right there, however it could have been something completely different...but that's another topic entirely...
    It will cause moe headaches than it's worth. Get an OEM copy of Windows. Better yet, borrow someone else's and use your key.

  • Problem: murmur (mumble server) restarts on pure systemd system

    Hi. I have a pure systemd install (no rc.conf).
    I installed murmur form "community" and started it with
    systemctl start murmur
    The service starts but restarts every two minutes or so with these lines in journalctl:
    PID file /run/murmur/murmur.pid not readable (yet?) after start.
    murmur.service operation timed out. Terminating.
    Unit murmur.service entered failed state.
    murmur.service holdoff time over, scheduling restart.
    Any clues?
    Last edited by SoleSoul (2012-08-18 22:42:41)

    I now use murmur-ice from the AUR, but my problem was resolved after manually creating /run/murmur/murmur.pid, setting permissions, and restarting the systemd service. Never had a problem after that. Not sure why this wasn't getting created automatically; my /var/run and /run symlinks are correct and no problems with other services.
    Sorry I can't be of more help, but it seems to have something to do with a conflict between the service and the desired pid file.

  • Developing a web system from scratch - What to use?

    Hi
    I am considering developing a web system in Java from scratch. I am a very experienced PHP programmer and have been a part of a development team that has a lot of systems such as CRM, CMS and so forth. Right now we need to develop a central management console in another, more powerful language. Java is the preferred choice but i would like to know what the best way to go about it is?
    In PHP for example, we used Creole for the database abstraction, Smarty for the template engine and Apache for the web server. In Java i am looking for a solution that:
    1 - Is database independent, or at least supports the main databases without needing to change any code
    2 - Is relatively quick to develop in/learn
    3 - If a framework, then maybe has a MVC paradigm
    4 - Preferably uses XSLT for the display, but does not have to
    5 - Is among the top 2 or 3 ways that people would normally do this
    Any help would be appreciated. Thanks

    Thank you for your replies. The article link was really informative. I have narrowed it down to Flex or Spring and will play around with them to see the best one.

  • Scrubbing Reloading the System from Scratch

    Hello,  I am dealing with an HP laptop, model # dm4-3055dx, running Windows 7.  The system recently contracted a virus or some sort of very annoying malware referred to as Qone8.  I have tried numerous suggested solutions and several antivirus programs but I have not been able to get rid of it.  I am now at the point of having no other choice but to scrub the system (reformat the hard drive) and reloading every thing from source disks.  What I would like to know is will the recovery disks that I can get from HP (I unfortunately did not make these recovery disks myself when the system was new) be all that I need to accomplish this task?  Do the disks contain the original OS software and all the drivers, etc. that will get my system back to it's out of the box operationg condition?  If this is so, I assume that I will then have to download system updates from Microsoft and/or HP to get up to date.  I  plan on ordering the recovery disks for my system I just want to make sure there is nothing else I will need.  Also, I would appreciate a reference to the written procedure for carrying out the scrub and reload process if anyone knows.  Thanks much,  Al

    Thanks much for your response Mista B.  Actually I was unaware that there was a built-in recovery process available.  I may try that.  When I read the referenced procedure it said that if this procedure didn't work for some reason that I would have to use the recovery disks so I should probably have these on hand just in case.  The thing that I am afraid of is that if I don't do a complete erasure of the hard drive that the virus might not be eradicated completely and it will show up again on my bootup re-loaded system.  Do you think that the internal recovery procedure will successfully wipe out the infection?  Not to belabor the issue but you did not actually answer my question directly.  What I wanted to know is if the HP recovery disks will be all that I need to reload a completely wiped computer system.  Pehaps you implied that by suggesting the recovery from boot up but that is still not completely clear to me.  I do appreciate you help.  Thanks again, Al

  • How to connect iphone to new computer without having the old one?  The hard drive on my macbook broke, so I had to install a system from scratch. I now cannot reconnect my iPhone. How can I set the new computer without loosing my data on the iPhone?

    Recently the hard drive on my mac book was damaged beyond repair and I had to reinstall the OS.
    MY iPhone still has all its original dta.
    How can I connect my iPhone to my computer (virtually new) without loosing the data I have on my iPhone?
    Obviously I cannot recover any of the old itunes files.
    Thanks,

    Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    - Expod (free) - http://www.headlightsoft.com/expod/ - Mac, universal for 104.+ (newer machines try de-Tune)
    - deTune (free) - http://www.headlightsoft.com/detune/ - Mac, 10.5+
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
    Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
    Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
    Additional information here https://discussions.apple.com/message/18324797

  • [SOLVED] Openssh and /lib/systemd/system/sshd.socket

    I'm a bit worried about a remote computer because of an incident relating to media server at home. I've looked for similar posts and among bugs without any hits. I always set the port to a none standard one.
    I made this update:
    upgraded openssh (6.1p1-3 -> 6.1p1-4)
    According to file list the in subject mentioned sshd.socket is included. What happened after update: sshd.socket went back to original 22 port, even though I cannot find any evidence of it being replaced.
    Hence I ask how openssh is upgraded. Does it overwrite sshd.socket?
    Next thing that puzzles me is how systemd works in this case. When I set sshd.socket to none standard port I forgot to change settings in /etc/ssh/sshd_config. Connection was refused on anything else than the port given in sshd.socket, but if using the right port in sshd.socket it did connect even though /etc/ssh/sshd_config still was default e g 22. Does systemd redirect ports and hence make any changes beside sshd.socket unnecessary?
    Two questions in one.
    Last edited by KimTjik (2012-12-02 13:11:53)

    No replies so I continued to test once again to see what's going on.
    sshd.socket = port X --> sshd_config = port Y
    I does redirect or whatever it does making corresponding settings in sshd_config unnecessary. Is this the way systemd should work?
    It works the other way around as well. Even if sshd_config is set to a none standard port and sshd.socket to standard connections works without issues according to sshd.socket settings. Port settings in sshd_config are useless.
    does updating openssh replace sshd.socket with default settings?
    Yes it does. In my novice eyes this is bad. Since sshd.socket redirects to whatever port sshd.service should listen to according to settings in sshd_config it doesn't screw up the ability to connect; you only need to remember to use default 22 port.
    I don't know where to start: is this a bug? is the Wiki outdated? will some new config files override other settings for ssh?

  • Putting together a system from scratch

    Hello, I am trying to put something together for our school of about 200 students. We are currently using household APs in our school building which are not working well at all. I've looked around a bit and so far I thinking about the 1142 APs and a 2504 controller. I'm not too familiar with Cisco and I wondering what other people have done or would recommend. I'm not sure how the controller works and how it needs to be connected. Any other suggestions for someone who is not familiar with controller based wireless would be appreciated.
    Thanks for your time

    For schools, many of what I have deployed were 5508's. This was because of access point count. The 2504 supports up to 75, so if you will have more than 76, then you need a 5508. The 5508 can support up to 500. The 1142 are end if sale and I would suggest the 2602's. I have schools the have the 1142's but are replacing them with either the 2602's, 3602's or the new 3702's. It depends on your budget. You can still probably purchase refurb 1142's from refurb store, there are many out there.
    You should really speak with your local Cisco SE and or a Cisco Var when it comes to how you should design it. There are so many things that can change a design, especially if you require Apple TV's, guest access, just to name a few.
    Sent from Cisco Technical Support iPhone App

  • [Help] Move ECC system from one server to another - Considerations

    Hi Guys
    We currently have two SAP ECC 5.0 Instances over DB2 9.7/AIX 6.1 on a same server (WS01), and now we are splitting this, by leaving Development box on WS01 and moving QA to WS08
    What would you think/recommend the best approach to fulfill this requirement
    Im taking in mind such things like, transport system, RFC connections, Database and SAP Profiles
    What steps would you think are mandatory to have QA system fully working on a brand new server
    Is an option to install an system from scratch on that new server (WS08), and they restore the actual database and perform the post processing steps just like a refresh, and then adding that system to the actual ECC landscape
    Best Regards
    Martin

    > We currently have two SAP ECC 5.0 Instances over DB2 9.7/AIX 6.1 on a same server (WS01), and now we are splitting this, by leaving Development box on WS01 and moving QA to WS08
    >
    > What would you think/recommend the best approach to fulfill this requirement
    >
    > Im taking in mind such things like, transport system, RFC connections, Database and SAP Profiles
    >
    > What steps would you think are mandatory to have QA system fully working on a brand new server
    This process is called "system copy".
    > Is an option to install an system from scratch on that new server (WS08), and they restore the actual database and perform the post processing steps just like a refresh, and then adding that system to the actual ECC landscape
    It's an option but not necessary to first install a full featured system and then "overwrite" the database.
    You can install a new system using the database backup of the original system.
    http://service.sap.com/instguides
    Markus

  • [SOLVED] Reinstalling Arch on pure systemd - Localization problem.

    Hi
    I have accident regarding today filesystem update, so I decide to install arch again on pure systemd from the begining.
    I am now on freshly installed xfce  and i just noticed my userspace is totally not localized, despite proper localization steps.
    /etc/locale.gen
    pl_PL.UTF-8 UTF-8
    # cat /etc/vconsole.conf
    KEYMAP=pl
    FONT=lat2-16
    CONSOLEFONT=lat2a-16
    FONT_MAP=8859-2
    # locale -a
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    pl_PL.utf8
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=pl_PL.utf8@euro
    LC_CTYPE="pl_PL.utf8@euro"
    LC_NUMERIC="pl_PL.utf8@euro"
    LC_TIME="pl_PL.utf8@euro"
    LC_COLLATE="pl_PL.utf8@euro"
    LC_MONETARY="pl_PL.utf8@euro"
    LC_MESSAGES=C
    LC_PAPER="pl_PL.utf8@euro"
    LC_NAME="pl_PL.utf8@euro"
    LC_ADDRESS="pl_PL.utf8@euro"
    LC_TELEPHONE="pl_PL.utf8@euro"
    LC_MEASUREMENT="pl_PL.utf8@euro"
    LC_IDENTIFICATION="pl_PL.utf8@euro"
    LC_ALL=
    What i should do?
    Last edited by utops (2012-10-06 11:46:37)

    utops wrote:
    karol wrote:
    Create ~/.config/locale.conf
    $ cat $HOME/.config/locale.conf
    LANG="pl_PL.UTF-8"
    and reboot.
    I know nothing about xfce, but can you tell me what part of the console stuff is in English? Can you copy / paste an example?
    $HOME config don't work either.
    From grub to login and from using CLI apps like nano and wifi-menu,mc,no polish language there.
    Everything is in english...
    Like system sudenly goes blind and don't see what i put in to configs.
    Everything worked well on my old pretty instalation i already miss that times.
    EDIT:
    Sudenly it worked again.
    Dunno what happened,just working again...
    Ok,so thx for tips guys,have a good evening...
    see my previous post.
    please mark the thread as solved.

  • I have big problems with mountain lion. you can not have a boot disk system I resulted in the need to re-download the os from scratch impiegandoci 8 hours, it is outrageous even with windows 95.

    I have big problems with mountain lion. you can not have a boot disk system I resulted in the need to re-download the os from scratch impiegandoci 8 hours, it is outrageous even with windows 95.
    at least that the operator has confirmed to me that he called me. I also have problems with either the start of the mac with the power off. I can not understand if it crashes or is just very very slow.
    Finally, I have a problem with the external hard disck. I often said to have been ejected incorrectly (not true) and I start to restore the startup recovery disk because disk utility is ineffective from the normal operating system .. is a shocking thing, but how you reduced. in four years it had never happened. seem to have windows or worse. Wake up.
    I am an Italian, alas, and then I would like an answer to my language because my € are the same as German French or English.

    You are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
    Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
    If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
    Once you are using the "Firefox" button ...
    Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
    To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
    You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • [Solved] Starting systemd --user as a systemd --system process?

    Hey guys,
    I would like to run systemd --user as a system service using this .service file I wrote:
    $ cat [email protected]
    [Unit]
    Description=Systemd --user instance for %I
    Documentation=man:systemd
    [Service]
    User=%I
    ExecStart=/usr/lib/systemd/systemd --user --log-level=debug
    [Install]
    WantedBy=multi-user.target
    I enabled it for my user using `systemctl enable systemd-user@evan`, however, when starting it it fails with the following errors:
    Jul 21 21:14:42 desktop systemd[12920]: systemd 204 running in user mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
    Jul 21 21:14:42 desktop systemd[12920]: Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd/system/[email protected]/[email protected]/systemd-12920.
    Jul 21 21:14:42 desktop systemd[12920]: Failed to create root cgroup hierarchy: Permission denied
    Jul 21 21:14:42 desktop systemd[12920]: Failed to allocate manager object: Permission denied
    Is it possible to run systemd --user like this? Do I need to add something to my [email protected]?
    Last edited by EvanPurkhiser (2013-07-22 02:10:10)

    EDIT: I just realized that the systemd-user-session-units package will only include specific units at build-time weather I have have the programs or not. You're right, I should just use this package!
    Well, to be honest, maybe I'm trying to hack around a problem that doesn't even really exist, but I don't think the systemd-user-sessions-units package meets my needs.
    The way I would like to have my user sessions setup is something like this:
    I would like to have an instance of systemd --user always running under my user so I can keep things like transmission-daemon always running, even when I don't have a user session open. When I do start my user session (via logging into getty) I want to bring my systemd instance up to a certain target. For example, logging in via tty1 should bring up graphical.target, which will start X11 and all that, while logging into any other tty will start console.target (for stuff like ssh-agent etc).
    Thinking more about this I suppose there's really no reason I couldn't use the [email protected] from systemd-user-session-units, but since I won't use most of the other user units included, I would rather just not use it.
    Here's what my .profile looks like:
    if systemctl -q is-active systemd-user@evan
    then
    # Default systemd to the console target
    target="console"
    # If we're logging in from VT1 start the graphical target
    if [[ $XDG_VTNR == 1 ]] && ! systemctl --user -q is-active graphical.target &> /dev/null
    then
    export DISPLAY=:0
    target="graphical"
    fi
    # Set all environment variables in the systemd --user instance (still working on this)
    env | systemctl --user set-environment -
    # Bring up systemd --user to the specified target
    systemctl --user start ${target}.target
    fi
    source "$HOME/.bashrc"
    Last edited by EvanPurkhiser (2013-07-22 03:56:13)

  • [SOLVED] config in /etc/systemd (ssh, getty) resets after system upgr.

    I've made changes in /etc/systemd/system/getty.target.wants/[email protected] (don't clear console at boot as per https://wiki.archlinux.org/index.php/Sy … r_boot.3F) and /etc/systemd/system/sockets.target.wants/sshd.socket (changed ssh port) but they keep getting reset after a system upgrade (not sure by what package, pacman -Qo file says that no package owns them)
    I'm starting to wonder if above places are the correct place and even way to do mentioned changes.
    What I want to achieve;
    1) simple way to not clear console after boot
    2) change what port ssh (systemd ssh socket) listens at
    3) make them changes permanent and durable even after a system upgrade
    My setup is pure systemd.
    Last edited by ImbaLocus (2012-10-30 23:41:08)

    Thank you, this works.
    Have yet to do an upgrade but I'm sure configuring according to your solution will This works perfectly.
    Last edited by ImbaLocus (2012-11-01 12:48:33)

  • [solved] my script in /usr/lib/systemd/system-sleep/ was erroneous

    Maybe I just didn't see something I need to do...
    I have this script:
    -rwxr-xr-x 1 root root 322 13. Nov 10:13 /usr/lib/systemd/system-sleep/resume.sh*
    And whether I suspend with the kde suspend thingy or with systemctl suspend, this script does not run on resume from suspend.
    The script looks like this:
    #!/bin/bash
    case $1/$2 in
    pre/*)
    exit 0
    # some lines to put graphics card back to sleep with vgaswitcheroo
    esac
    Did i do something wrong or do I need to do something else?
    Last edited by Cdh (2012-11-19 00:58:54)

    I did some further testing with my system, it appears that using the '*)' specifically causes a "Job for suspend.target canceled" on resume, which could be the problem you are facing. It could also be that the syntax for the pre and post are explicitly given, otherwise I don't see a reason why would it print that message.
    Given the code:
    #!/bin/sh
    #can also be /bin/bash
    case $1/$2 in
    echo "a $1 with $2"
    esac
    Works and does not produce the above (red) message.
    However combining "pre/*)" and "*)" generates the message, regardless of the shell.
    I was doing all the suspends with systemctl suspend
    So I'd suggest putting a lot of echo statements in your script and then observe the output of journalctl -b -u systemd-suspend (this is where the echo statements get logged) and check for any errors it might throw. And try to use the pre/*) post/*) if you didn't try that yet.
    EDIT:
    Forgot to mention I was doing all this as root
    Last edited by ytech (2012-11-18 20:46:34)

  • Systemd Errors From Deluge Group and gvfs Permission [SOLVED]

    Have a few things that I have not been able to find a fix for.
    The Deluge group is unknown and a gvfs permission problem.  I've tried reinstalled both packages.  I've searched and found inf regarding both, but nothing that has worked for me so far.
    [jeff@Arch2010p5 ~]$ systemctl --failed
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    systemd-tmpfiles-clean.service loaded failed failed Cleanup of Temporary Directories
    systemd-tmpfiles-setup.service loaded failed failed Recreate Volatile Files and Directories
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    2 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    [root@Arch2010p5 jeff]# systemctl status systemd-tmpfiles-clean.service
    systemd-tmpfiles-clean.service - Cleanup of Temporary Directories
    Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-clean.service; static)
    Active: failed (Result: exit-code) since Thu, 2012-11-15 11:07:19 PST; 56min ago
    Docs: man:tmpfiles.d(5)
    Process: 1015 ExecStart=/usr/bin/systemd-tmpfiles --clean (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-tmpfiles-clean.service
    Nov 15 11:07:19 Arch2010p5 systemd[1]: Starting Cleanup of Temporary Directories...
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: stat(/run/user/1000/gvfs) failed: Permission denied
    Nov 15 11:07:19 Arch2010p5 systemd[1]: systemd-tmpfiles-clean.service: main process exited, code=exited, status=1/FAILURE
    Nov 15 11:07:19 Arch2010p5 systemd[1]: Failed to start Cleanup of Temporary Directories.
    Nov 15 11:07:19 Arch2010p5 systemd[1]: Unit systemd-tmpfiles-clean.service entered failed state
    [root@Arch2010p5 jeff]# systemctl status systemd-tmpfiles-setup.service
    systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
    Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
    Active: failed (Result: exit-code) since Thu, 2012-11-15 10:52:44 PST; 20min ago
    Docs: man:tmpfiles.d(5)
    Main PID: 377 (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-tmpfiles-setup.service
    Nov 15 10:52:44 Arch2010p5 systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
    Nov 15 10:52:44 Arch2010p5 systemd[1]: Failed to start Recreate Volatile Files and Directories.
    Nov 15 10:52:44 Arch2010p5 systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state
    [root@Arch2010p5 jeff]# journalctl -f /usr/bin/systemd-tmpfiles
    -- Logs begin at Thu, 2012-11-01 15:56:20 PDT. --
    Nov 15 09:46:50 Arch2010p5 systemd-tmpfiles[923]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 09:46:50 Arch2010p5 systemd-tmpfiles[923]: stat(/run/user/1000/gvfs) failed: Permission denied
    -- Reboot --
    Nov 15 09:55:33 Arch2010p5 systemd-tmpfiles[361]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    -- Reboot --
    Nov 15 10:02:35 Arch2010p5 systemd-tmpfiles[388]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 10:17:10 Arch2010p5 systemd-tmpfiles[971]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 10:17:10 Arch2010p5 systemd-tmpfiles[971]: stat(/run/user/1000/gvfs) failed: Permission denied
    -- Reboot --
    Nov 15 10:41:34 Arch2010p5 systemd-tmpfiles[1151]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 10:41:34 Arch2010p5 systemd-tmpfiles[1151]: stat(/run/user/1000/gvfs) failed: Permission denied
    -- Reboot --
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: stat(/run/user/1000/gvfs) failed: Permission denied
    Last edited by jeff story (2012-11-16 10:20:45)

    Yes the deluge user is present, group deluge is not. I find the following quote from the wiki confusing though.
    Yea I have tried troubleshooting via the wiki and much more.
    wiki wrote:The default user for the Deluge daemon, is deluge, which is created upon package installation. You can change this in /etc/conf.d/deluged. Of course, the user needs to exist.
    So ....... Is the word daemon implied to also mean group?  If so, should user deluge belong to the group deluge?
    The user deluge currently belongs to no groups.
    Does the quote also imply that everything is ok as installed per default?
    If not, it should simply specify that the user has to manually set up <user x> to belong to <group y>.
    The last sentence further confuses things as far as I'm concerned. I'll try to guess the meaning of it.
    Of course user deluge exists if it is created by the installation.
    Is the sentence referring to the user deluge, the user(jeff) or who needs to belong to what?
    I'll update the wiki to clarify if I can get an answer and verify it on my system.
    Also I should mention that Deluge currently works great and also did before switching to systemd. Deluge is a default install as I have not changed any user or groups deluge.
    [root@Arch2010p5 jeff]# cat /etc/passwd | grep d
    daemon:x:2:2:daemon:/sbin:/bin/false
    nobody:x:99:99:nobody:/:/bin/false
    dbus:x:81:81:System message bus:/:/bin/false
    deluge:x:125:125:Deluge user:/srv/deluge:/bin/false
    smmsp:x:150:25:sendmail:/var/spool/mail:/bin/false
    git:x:998:998:git daemon user:/:/bin/bash
    gdm:x:120:120:Gnome Display Manager:/var/lib/gdm:/sbin/nologin
    uuidd:x:996:996::/:/sbin/nologin
    polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
    [jeff@Arch2010p5 ~]$ cat /etc/group | grep d
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    adm:x:4:root,daemon,jeff
    disk:x:6:root,xbmc
    lp:x:7:daemon,jeff,remote
    uuidd:x:68:
    video:x:91:jeff,remote,xbmc
    audio:x:92:xbmc
    nobody:x:99:
    printadmin:x:1000:jeff
    gdm:x:120:
    [root@Arch2010p5 jeff]# groups deluge
    [root@Arch2010p5 jeff]#
    [root@Arch2010p5 jeff]# groups jeff
    adm lp wheel games video storage power vboxusers printadmin users
    /etc/conf.d/deluge
    OPTIONS=""
    WEB_OPTIONS=""
    EDITED TO ADD INFO
    Last edited by jeff story (2012-11-16 02:41:41)

Maybe you are looking for

  • Configure EP6SP9 KM in a file server instead of KM Database

    Hi All, We are at EP6SP9 in Windows 2003. As a part of my user requirment, I need to set up all my KM folders in a file repository and not in KM Database. The users would view this folders as KM Folders and need to utilise all the facilities offered

  • Customizing Photoshop Web Gallery in Dreamweaver

    HOW DO I STOP WIDTH OF IMAGE FROM STRETCHING? (height is in proportion) more details: I've almost finished customizing a Photoshop web gallery in Dreamweaver, which is completely confusing for me (i'm a novice) and any head way i made in changing the

  • Unable to Import Unicode (csv) file to BlackBerry Bold 9700

    Hi all I'm facing some problems with my new BlackBerry Bold 9700. I have Nokia mobile, I exported my contacts using PC-Suite 7. The exported file includes Arabic characters, so the charset used was in Unicode. I've changed the heading for important f

  • Z1 shuts down when unplugging from power

    Dear Sony-Members, I have bought my Z1 some days ago. Every morning I wondered why my phone is shut down. Today I noticed why. I played around with my wallpaper (so not much CPU used) and then unplugged it from power. Immediatly it shuts down. Everyt

  • WD 750gb SE HD Jumper Settings

    Just bought 2 750gb WD SE Caviar drives for my G5 2.3 dual (pre Oct 05) system. Computer crashes about 1/3 into formatting drive. What are the jumper settings for this drive in a G5? Drive came with no jumper installed and given that it is a sata II