LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /run directory (https://www.linuxquestions.org/questions/linux-newbie-8/run-directory-4175536108/)

sharky 03-08-2015 01:12 PM

/run directory
 
in a linux mint installation should there be a /run directory?

Code:

> ls /run
acpid.pid              initramfs          samba
acpid.socket            kerneloops.pid      sdp
alsa                    lock                sendsigs.omit.d
apache2                mdm.pid            shm
avahi-daemon            mlocate.daily.lock  systemd
console                motd.dynamic        tor
ConsoleKit              mount              udev
console-kit-daemon.pid  mysqld              udisks2
crond.pid              network            upstart-file-bridge.pid
crond.reboot            NetworkManager      upstart-socket-bridge.pid
cups                    plymouth            upstart-udev-bridge.pid
dbus                    pm-utils            user
dirmngr                pppconfig          utmp
dirmngr.pid            resolvconf
gdm_socket              rsyslogd.pid


jdkaye 03-08-2015 01:20 PM

Yes. There's also one in Debian:
Code:

~$ ls /run
acpid.pid              dbus                NetworkManager  sshd
acpid.socket            dhclient-wlan1.pid  ntpd.pid        sshd.pid
alsa                    exim4              openvpn          systemd
apache2                initctl            postgresql      systemd-shim-state
atd.pid                initramfs          rpcbind          timidity
avahi-daemon            kdm                rpcbind.lock    udev
blkid                  kdm.pid            rpcbind.pid      udev-configure-printer
cgmanager              lock                rpcbind.sock    udisks2
cgmanager.pid          lwresd              rpc_pipefs      user
console                minidlna            rpc.statd.pid    utmp
ConsoleKit              mlocate.daily.lock  rsyslogd.pid    uuidd
console-kit-daemon.pid  motd.dynamic        samba            wpa_supplicant
crond.pid              mount              sendsigs.omit.d  xauth
crond.reboot            named              shm              xdmctl
cups                    network            sm-notify.pid

jdk

frankbell 03-08-2015 08:53 PM

Ubuntu has an article about this. It states that the ultimate goal is to migrate /var/run to /run:

http://askubuntu.com/questions/57297...igrated-to-run

This is what I have on Slackware --Current:

Code:

$ ls /run
lock  lvm  mount  udev  udisks2
$ ls /var/run
ConsoleKit      acpid.socket  cups    inetd.pid  libgpod  nscd      sshd.pid    udisks
NetworkManager  atd.pid      dbus    iptraf-ng  mysql    pm-utils  stunnel      utmp
acpid.pid      console      gpm.pid  klogd.pid  named    samba    syslogd.pid

Here's what I get on Mageia v. 4:

Code:

[frankbell@narwhal ~]$ ls /var/run
/var/run@
[frankbell@narwhal ~]$ ls /run
acpid.pid      cups/              initramfs/  nmbd.pid      tmpfiles.d/      xauth/
acpid.socket=  dbus/              kdm.pid    plymouth/    udev/            xdmctl/
alsactl.pid    dhclient/          lock/      resolvconf/  udisks/          xinetd.pid
avahi-daemon/  dhclient-eno1.pid  log/        rsyslogd.pid  udisks2/
chronyd.pid    dirmngr/            lxdm/      samba/        user/
console/      hplip/              mount/      smbd.pid      utmp
crond.pid      ifplugd.eno1.pid    msec.pid    sshd.pid      virtualbox/
cron.reboot    ifplugd.wlp2s0.pid  netreport/  systemd/      wpa_supplicant/


mkmety 03-08-2015 09:01 PM

CentOS 7 has a symlink from /var/run to /run. RHEL Server 6.6 is still using /var/run.

sharky 03-09-2015 08:52 AM

Thanks to all.


All times are GMT -5. The time now is 04:26 PM.