Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610850 - sys-apps/openrc-0.23.2 sys-apps/opentmpfiles-0.1.1 "cannot create directory in /run/**, file exists" warnings during system boot.
Summary: sys-apps/openrc-0.23.2 sys-apps/opentmpfiles-0.1.1 "cannot create directory i...
Status: RESOLVED DUPLICATE of bug 610732
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-25 00:43 UTC by Mikhail Kurinnoi
Modified: 2017-02-25 00:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kurinnoi 2017-02-25 00:43:53 UTC
After emerging sys-apps/openrc-0.23.2 and sys-apps/opentmpfiles-0.1.1, I faced with mkdir related warnings during each system boot:
 * Setting up tmpfiles.d entries ...
mkdir: cannot create directory «/run/samba»: file exists
mkdir: cannot create directory «/run/lock/samba»: file exists
mkdir: cannot create directory «/var/run/tor»: file exists
 [ ok ]


/run is tmpfs mount point for sure:
# mount
...
none on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
...

I have Tor init script in "default" runlevel, and don't have Samba init script in any runlevel at all.

# rc-status -a

Runlevel: shutdown
 savecache                                                         [  stopped  ]
 killprocs                                                         [  stopped  ]
 mount-ro                                                          [  stopped  ]
Runlevel: nonetwork
 local                                                             [  started  ]
Runlevel: boot
 hwclock                                                           [  started  ]
 modules                                                           [  started  ]
 dmcrypt                                                           [  started  ]
 lvm                                                               [  started  ]
 fsck                                                              [  started  ]
 root                                                              [  started  ]
 mtab                                                              [  started  ]
 loopback                                                          [  started  ]
 hostname                                                          [  started  ]
 swap                                                              [  started  ]
 localmount                                                        [  started  ]
 sysctl                                                            [  started  ]
 bootmisc                                                          [  started  ]
 termencoding                                                      [  started  ]
 keymaps                                                           [  started  ]
 procfs                                                            [  started  ]
 opentmpfiles-setup                                                [  started  ]
 urandom                                                           [  started  ]
Runlevel: default
 dbus                                                              [  started  ]
 iptables                                                          [  started  ]
 net.eth0                                                          [  started  ]
 syslog-ng                                                         [  started  ]
 dnscrypt-proxy                                                    [  started  ]
 dnsmasq                                                           [  started  ]
 ntpd                                                              [  started  ]
 acpid                                                             [  started  ]
 consolefont                                                       [  started  ]
 consolekit                                                        [  started  ]
 cupsd                                                             [  started  ]
 hd-idle                                                           [  started  ]
 lm_sensors                                                        [  started  ]
 mdadm                                                             [  started  ]
 netmount                                                          [  started  ]
 nullmailer                                                        [  started  ]
 smartd                                                            [  started  ]
 suricata                                                          [  started  ]
 tor                                                               [  started  ]
 vixie-cron                                                        [  started  ]
 local                                                             [  started  ]
Runlevel: sysinit
 sysfs                                                             [  started  ]
 devfs                                                             [  started  ]
 dmesg                                                             [  started  ]
 kmod-static-nodes                                                 [  started  ]
 opentmpfiles-dev                                                  [  started  ]
 udev                                                              [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 modules-load                                                      [  started  ]
 lvmetad                                                           [  started  ]
Dynamic Runlevel: manual


/usr/lib/tmpfiles.d/ contain only files installed by packages.

tmpfiles.d # ls
lvm2.conf  man-db.conf  revdep-rebuild.conf  samba.conf  tor.conf

Reproducible: Always
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-02-25 00:50:37 UTC

*** This bug has been marked as a duplicate of bug 610732 ***