Some init scripts disappeared?

Hi
I upgraded using pacman -Syu yesterday, then I found some init scripts(/etc/rc.d/nginx  /etc/rc.d/postgresql) disappeared.
I searched about it but found nothing.

peonone wrote:I searched about it but found nothing.
Really?
Read the front page news:
https://www.archlinux.org/news/end-of-i … s-support/
https://www.archlinux.org/news/final-sy … n-warning/

Similar Messages

  • Some init script ideas

    I'm packaging GNUstep... again (this time from CVS), and it requires a certain shell script to be sourced by every shell.  That's easy enough for any user to do by modifying their .foorc and adding it in there, but I thought I would just throw a command in the postinstall to symlink the shell script to /etc/profile.d, so every login shell would automatically source it.
    That's all fine and dandy, but xterms by default aren't login shells, so anybody using an xterm would find themselves without a working GNUstep build environment unless they set xterm to be a login shell in their .Xdefaults.
    Change #1) Make xterms login shells by default in Arch's xfree86 distribution
    Now that xterms are all login shells, and we can expect a user's shell to be a login shell by default, why not add scripts to profile.d for the various self-contained distributions that live in /opt (like gnome, kde, java, etc.) that automatically set up the paths for those binaries.  At the moment, it appears you have to do this manually (I have not installed gnome or kde though, maybe those maintainers are doing this).
    Change #2) Have packages that live in /opt add a script to profile.d setting up the paths and environment necessary to use those packages.
    Thirdly, there's two daemons that need to be started for GNUstep when xfree86 starts (specifically gdnc and gpbs).  Once again, this is something that can easily be done by a user editing their .Xsession, but I'd rather automate it.  In the spirit of Arch's init script system, I think it would be wise to make an xinit.d directory (possibly in /etc, or more to the keeping of X's directory structure, in /etc/xinit.d), full of files that are run whenever X is started.  These could be enabled and disabled in rc.conf just like init scripts in rc.d currently are.
    Change #3) Add an xinit.d directory, in the spirit of rc.d and profile.d, full of items that are run whenever X is started.
    Perhaps some of this has already been done, or perhaps there are other solutions.  I just think these changes would be well in the spirit of Arch, and a boon to package maintainers.
    Please give me your feedback either here or by mailing me at [email protected]
    -- Michael Baehr

    sarah31 wrote:most if not all /opt package sets have profile.d scripts.  some may not think so but one has to log out then in to enable them.
    Good Looks like profile.d is being used for the right purpose.  I should've expected it would be  :oops:
    Xentac wrote:Ok... but what happens if I'm running blackbox?  I probably don't want gdnc and gpbs started when I start X, it'd make me cry.  How would xinit.d help with that?
    I don't see why it'd make you cry.  Let me explain what gdnc and gpbs are:
    GNUstep Distributed Notification Center
    Handles messaging and notification between GNUstep applications
    GNUstep Pasteboard Server
    Handles rich copy and paste between GNUstep applications
    Basically, none of these would impact whatever environment you'd be running, and only GNUstep apps would use them.  In fact, you wouldn't even realize they were running as they'd just be sitting in the background like the valiant daemons they are, waiting to be called into service for the holy emperor GNUstep  :twisted:
    And in any case, with the whole xinit.d idea, you should be able to just disable it with a ! if you don't like it
    I might as well throw in my last idea, which I forgot to write before.
    I've noticed people complaining about Pacman upgrades wiping their pacman.conf, which is a problem if you're using several people's TURs and other external repositories like I am.  Instead, I propose doing what APT has been doing in a recent version with its new sources.list.d layout... having one directory (pacman.repo.d or something of its ilk) storing files for each repository, and enabling and disabling them in pacman.conf the way you do in rc.conf (with a bang).  This would be especially nice because somebody could install a package called, for example, "pacman-TUR", and have a repo file for each TUR, and then be able to enable or disable them.  This package would be updated every time a new TUR was added or one was removed, thus enabling people to easily track the latest repository happenings, while still maintaining control over what repos they use.
    Just a thought.

  • Compiling init scripts as C

    Hello!
    A while back, I read that Blice (owner of http://its.alrig.ht/) had converted their init scripts to C to help the computer boot faster.
    Unfortunately, Blice's site seems to have disappeared, which is a shame since I'd like to read some of the information on his webpage.
    Anywho, my question is: anybody here have experience in converting startup scripts to C?
    I've rewritten the apache, ssh, and postfix startup scripts so far. I've put the code up on GitHub at http://github.com/ColinJones/binary-startup
    Any thoughts?

    I kind of like the idea myself. I would like to help with the development.
    After rethinking a bit, I don't think the hardest part to develop is the actually code, the part that is going to be challenging is the build script. I mean, if it is going to be according to my original idea, the program code itself is going to be simple but to be able to have simple program code when parsing rc.conf it means that the build script has to be a bit more complex, otherwise it will mean that the program code itself has to parse rc.conf. Well, that means if the rc.conf is going to be parsed in the first place. I think it should be parsed during build time, it will be a bit like mkinitcpio but for the initscripts but that is of course in my opinion.
    One of the first thing that needs to be done is probably do a prof-of-concept of a program + build script that can depending on the content of the config file build a program with different functionality. This is pretty much to simulate the DAEMONS array. A traditional way of doing this with statically linking is to including different files with the same interfaces and in case a functionality is not going to be present, use interface functions that are empty. This pretty much works when there isn't a lot of different functionality but I think there are to many possible DAEMONS to make this practical. I think a better way is to generate a config.h (or use a different name for the file) which contains a list of functional pointers to all the "modules" that should be included. In short, make the program aware of the function and include the file that contains the function to the linker and make the complete process dynamically.
    I might look in this prof-of-concept during the weekend.
    Last edited by PJ (2010-01-08 18:18:09)

  • Script Disappearing in Acrobat 9

    Hi,
    I am having the problem that my Javascript keeps disappearing from the
    Properties window randomly.
    If I click "Add or Edit Form" and add some script to an Event, many
    times it disappears. Totally random.
    If I close the PDF file and open the file again, the script comes back.
    If I save the PDF file after the script disappears, the script is gone
    for good.
    Do you guys have this problem?

    Great. Thanks. I just changed it on my computer and it worked. I'll change it back now to my address. If my client wants to do it in future though, would they would need a copy of Acrobat Pro, not just Acrobat Reader? Or can you 'distribute' from Reader too? That would be great if you can, then the client can track the responses.

  • Init scripts

    It has been a while since I last posted, but I like arch.
    My question is regarding the init scripts used in arch.  Specifically, three common commands used in the init scipts, and they are "stat_fail","stat_done", and "add_daemon".
    Could some refer me a wiki, webpage or man page for them, and yes I see there definitions in /etc/rc.d/functions file.

    For example in add_daemon:
    add_daemon() {
            [ -d /var/run/daemons ] || mkdir -p /var/run/daemons
            touch /var/run/daemons/$1
    What is the variable $1 refer to?  I cannot see it defined anywhere else in the function or in the /etc/rc.d/functions script.  Could it be the function referred to in which /etc/rc.d/"script" is run; "script" being whatever init service that is started and stopped,  ie crond would be then touch /var/run/daemons/crond?
      For what it is worth I am just trying to improve my shell scripting skills.
    [/i]

  • Dhcpcd starting by wich init-script? [Solved]

    I have static ip on both eth devices.  These configured by netcfg: with if1 and if2 files in /etc/network.d/
    here they are:
    cat /etc/network.d/if1
    CONNECTION='ethernet'
    DESCRIPTION='ethernet connection to internet'
    INTERFACE='eth0'
    IP='static'
    ADDR='10.85.231.106'
    NETMASK='255.255.0.0'
    GATEWAY='10.85.231.65'
    DNS=('10.85.224.33')
    cat /etc/network.d/if1
    CONNECTION='ethernet'
    DESCRIPTION='ethernet connection to localnet'
    INTERFACE='eth1'
    IP='static'
    ADDR='192.168.225.222'
    NETMASK='255.255.255.0'
    But my resolve.conf sometimes is overwritten by dhcpcd.
    in /etc/rc.conf I don't have any property connected with net set except HOSTNAME="ramazotty" and NETWORK_PERSIST="no"
    my daemons are:
    DAEMONS=(hwclock syslog-ng network net-profiles sshd samba xinetd @cupsd dbus @netfs crond)
    Who in the world is starting dhcpcd?
    p.s. The parent is process 1:
    >ps -f `pidof dhcpcd`
    UID        PID  PPID  C STIME TTY      STAT   TIME CMD
    root       497     1  0 15:09 ?        Ss     0:00 dhcpcd -q
    Last edited by roginovicci (2012-10-26 09:16:04)

    FYI you don't need the network init script when you're using netcfg.
    This is not the answer you're looking for, just some useful information - unless you happen to be wrong about your rc.conf.

  • [SOLVED] netatalk and postfix init scripts (not systemd)

    Hey, does anybody have an older version of Arch running somewhere?
    I'm looking for init scripts for netatalk and postfix that I've just re-built from ABS on an outdated Arch system. However, both packages offer systemd support these days and no love for dissidents like myself.
    They are probably very simple to write on one's own, but I just want to make sure I don't overlook some important trick.
    If someone could possibly post those either here or on dpaste.org or whatever paste service you love, I would be a very happy person lol
    Last edited by iliv (2013-12-01 14:17:00)

    netatalk is in the AUR https://aur.archlinux.org/packages/netatalk/
    postfix: https://projects.archlinux.org/svntogit … a3365f273e

  • Suggestion for init scripts

    I like the simplified sysvinit scripts that Arch uses, but I think the file locations could be improved a bit.  /etc should be reserved for configuration files only; when you put init scripts in there as well the /etc folder gets a little cluttered.
    Since we already have an rc.d folder anyway that contains some of the init stuff, why not put all rc scripts, settings, and so forth in the same rc.d folder?
    I'm probably not the smartest person to be talking about optimal naming conventions and file locations for the sysvinit stuff... I renamed my rc.conf to CONFIG.SYS and my rc.sysinit to AUTOEXEC.BAT

    tomk wrote:Could you clarify your suggestion? All the application init scripts are already in /etc/rc.d, and the system init scripts e.g. /etc/rc.sysinit, are in standard locations. The rest of /etc consists of system-wide application configs, and their locations are determined upstream.
    Also, iBertus is right.
    Well, I wasn't talking about the rest of /etc - specifically the init scripts (rc.single, rc.multi, etc.)  Alas, I'm unfamiliar with the bsd init process (or at least I was before this discussion).  Since one of the packages we install from base is sysvinit, I *assumed* (there I go again) it was indeed a SysV init process, only modified for Arch purposes.  That is, I thought y'all just arbitrarily decided to put rc.multi et al in /etc. and I was suggesting, as long as you're arbitrarily changing stuff around, why not keep all the rc. stuff together in /etc/rc.d.  Now that I know you're just conforming to bsd standards, my premise (that it was an arbitrary decision) is meaningless so I withdraw the suggestion and stand corrected.
    shining wrote:Seeing how much the rest of your post makes sense, I am not even sure if that's supposed to be a joke.
    Wow, I should have stayed back in newbie corner where there's no such thing as a stupid question!  It is a joke... and I was serious.  That is, I really did rename rc.conf to config.sys and rc.sysinit to autoexec.bat, but specifically *because* it's a joke, even if I'm the only one who will ever see it.  Kinda like the APPLE ][ logo I use for my Fluxbox wallpaper.
    Thanks for the explanations, ibertus and tomk... I obviously have a lot to learn about Arch (and *nix in general) before I'm ready to pitch in with meaningful suggestions!

  • Some iCal events disappear when in week view

    Hello all,
    I recently had a double agenda booking. Today I found out why:
    In week view some iCal events disappear... When i switch to month view, they reappear.
    So, depending on the view i have open time slots. Not very reliable.
    Anyone know what i can do to return to solid bookings again?
    Best regards
    Fred

    Same problem here. I just imported everything from my old MacBook to my new one using Time Machine. My events appear in the Month view but not in the Week or Day views. So I went back to my old MacBook, created an iCal backup file, and emailed it to myself. Opened it on the new machine, restored from the backup file, and . . . same thing!
    Very strange!! I need my daily events to be visible. Any help out there?

  • I back up my iphone's icalendar to my MacBook. Why have some previous events disappeared in the phone but I can see them on the backup? How do I retrieve?

    I back up my iphone's icalendar to my MacBook. Why have some previous events disappeared in the phone but I can see them on the backup? How do I retrieve?

    Did you back it up to the cloud?

  • Some contacts have disappeared from my phone contacts. They are still in the phone because if someone calls me their name appears and if i search in text for contacts they are still there - but if i search in phone contacts they are not there, Help

    Some contacts have disappeared from my phone. Not all just random ones. They are still in the phone because if someone (who has disappeared from my phone contacts calls me their name appears and if i search in text messages for contacts they are still there - but if i search in phone contacts they are not there, Help!

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • TS4002 Having upgraded to 10.8 some emails are disappearing before I can read them.

    Having upgraded to 10.8 some emails are disappearing before I can read them.
    They are present for about a second, display as notified, but are not going to junk or Trash.
    The problem doesn't affect all emails and seems to be restricted to some senders.

    What ype of account is this (IMAP / POP)?
    Perhaps it's setup on another system (computer, mobile, etc.) and downloading there, while removing from the server. You may also have email rules moving it automatically or marking as SPAM.
    Changing your password may seem drastic but will ensure your current setup is the only one with access to downloading/archival of the email, and you can then eliminate other possibilities as mentioned above.

  • Photos in some events have disappeared....

    Photos in some events have disappeared leaving a grey image of a sunset and palm tree. I have tried rebuilding iPhoto 11, but no change. What can I do to restore these?

    Thanks Japp74.  The photos were still in the main photo file, but the events had dissappeared. I have now created new events. I'm not sure what has happened but it may be something to do with iCloud as the photos had moved from several events on seperate days into one large event with several dates.  thi si sthe first time this has happened so may be a glitch that Apple fix in the future.

  • Synergyc as init script

    Greetings,
    I am trying to start synergyc as an init script so that it will work with slim, i copied the init script from the wiki, however, i get the error Fri Apr 13 10:16:02 2012: /usr/bin/xset:  unable to open display ""
    and the client never connects to the server.
    thanks!
    Adam

    If you're using slim, just put it in your .xinitrc, it's much easier and tends not to throw as many errors (at least for me, anyway).

  • Some files have disappeared from my macbook pro.they were on the desktop and have vanished,i started to do these files again and upon restarting my macbook this morning the new files had gone.Also i can't launch any of my applications safari or app store

    some files have disappeared from my macbook pro they were on the desktop.Iredid some of my work and this morning when i started up my macbook they too had vanished.Spotlight doesn't reveal them and also i can't launch any of my applications like safari app store etc, help please anyone?  thanks

    Restore them from your latest backup

Maybe you are looking for

  • Space after negating exclamation mark

    Hi, is it possible to add a space after a negating exclamation mark in the code formatting rules such as: if (!true) {}   <- I don't want this style if (! true) {}  <- I do want this I think that the Tools -> Options -> Text Editor settings give me q

  • How to generate goods receipt / goods issue (gr/gi) slip no. ?

    Hi all SAP experts,    i did following steps 1) by using omc1 assigned gr/gi slip number for our plant. 2) created internal number range for no. range group code. 3) intervals are created for gr/ir slip in 2009 by using omj6 t-code. 4) assigned no. r

  • Fonts in some websites wont render

    I got the interface fonts to render, and they seem to work fine, but some (a lot) of websites text wont render at all. The problem seems to be in the way it handles CSS, that if a font listed in font-family is not installed on the system, it just won

  • Different Version of report based on Prompt!!!

    Hi , Please do reply if you have  solution to this problem. I have a main report which has all its data coming from different subreports. So basically I have already a version for thsi report in production which retrieves me all data in table used. B

  • Smartforms in Dot Matrix

    Hi all, Can anyone tell me how to make a smartform in Dot Matrix mode.?