Searched refs:lockfile (Results 1 - 5 of 5) sorted by relevance

/pkg/src/svc/
H A Dsvc-pkg-mirror252 typeset lockfile=/system/volatile/pkg/mirror.$instance.lock
254 if [ -f $lockfile ]; then
255 pid=$(<$lockfile)
257 under process $pid when the cron job fired. Remove $lockfile to
263 echo $$ > $lockfile
264 check_failure $? "unable to create lockfile" $SMF_FMRI degrade
368 $RM $lockfile
375 $RM $lockfile
/pkg/src/modules/
H A Dcfgfiles.py41 import pkg.lockfile as lockfile namespace
235 self.lockfile = lockfile.LockFile(os.path.join(self.path_prefix,
304 self.lockfile.lock()
307 self.lockfile.unlock()
H A Dindexer.py35 import pkg.lockfile as lockfile namespace
137 self.__lockfile = lockfile.LockFile(os.path.join(
139 set_lockstr=lockfile.generic_lock_set_str,
140 get_lockstr=lockfile.generic_lock_get_str,
/pkg/src/modules/client/
H A Dimage.py67 import pkg.lockfile as lockfile namespace
867 self.__lockfile = lockfile.LockFile(os.path.join(self.imgdir,
868 "lock"), set_lockstr=lockfile.client_lock_set_str,
869 get_lockstr=lockfile.client_lock_get_str,
/pkg/src/modules/server/
H A Drepository.py56 import pkg.lockfile as lockfile namespace
431 self.__lockfile = lockfile.LockFile(os.path.join(
433 set_lockstr=lockfile.generic_lock_set_str,
434 get_lockstr=lockfile.generic_lock_get_str,

Completed in 96 milliseconds