On Fri, 22.07.11 10:55, yang.y...@gmail.com (yang.y...@gmail.com) wrote:

> The below is i see in Fedora 15:
> 
> [root@yangyi-dev2 /]# cat /etc/*-release
> Fedora release 15 (Lovelock)
> Fedora release 15 (Lovelock)
> Fedora release 15 (Lovelock)
> [root@yangyi-dev2 /]# rpm -qf /var/run/
> abrt/           cups/           gdm/            lock/
> netreport/      openvpn/        ppp/            sepermit/
> setroubleshoot/ vpnc/
> console/        faillock/       libgpod/        lvm/
> NetworkManager/ plymouth/       pptp/           setrans/
> utmp            wpa_supplicant/
> [root@yangyi-dev2 /]# rpm -qf /var/run/abrt
> abrt-2.0.2-5.fc15.x86_64
> [root@yangyi-dev2 /]# rpm -qf /var/lo
> local/ lock/  log/
> [root@yangyi-dev2 /]# rpm -qf /var/lo
> local/ lock/  log/
> [root@yangyi-dev2 /]# rpm -qf /var/lock/l
> lockdev/ lvm/
> [root@yangyi-dev2 /]# rpm -qf /var/lock/lvm
> lvm2-2.02.84-1.fc15.x86_64
> [root@yangyi-dev2 /]#
> 
> /run is a disk directory, /var/lock -> /run/lock, /var/run -> /run,
> http://lwn.net/Articles/436012/ told about /run.
> 

Some rpms still include the dirs they create in /var/run in the package
itself, instead of just using a tmpfiles drop-in. These even might have
some benefit, for example it is an easy way to ensure the dir is created
right at package install time instead of waiting until the next reboot.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to