I want to use minicom as a user but I am getting a cant create
lockfile failure. It works fine as root. I dont wish to change the
perms on /var/lock unless I have to - so whats the gentoo way to get
minicom working as a user? Also what group(s) do I need for serial
port access (/dev/ttyS0 so I
Am 10.12.2009 05:41, schrieb Joshua Murphy:
Respawns on close/crash... doesn't allow attempts to start more than
once (hence the 'lockfile' type hack in the script), doesn't break on
a stale lockfile, and does whatever the user ('myuser' should be
replaced with a real username) wishes
On Fri, Dec 11, 2009 at 11:55 AM, Stefan G. Weichinger li...@xunil.at wrote:
Am 10.12.2009 05:41, schrieb Joshua Murphy:
Respawns on close/crash... doesn't allow attempts to start more than
once (hence the 'lockfile' type hack in the script), doesn't break on
a stale lockfile, and does
Hi Jules,
Jules Colding wrote:
[snip]
../../config/make-jars.pl: Could not get lockfile
/var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/dist/bin/chrome/toolkit.lck.
[snip]
MAKEOPTS=-j3
Try it with MAKEOPTS=-j2.
Zac
--
gentoo-user@gentoo.org mailing list
haven't had any problems.
portage also takes care of stale lockfiles, the masterclient truncates
the lockfile and the other clients fill the lockfile with data. If a
threshold is met the lock is discarded.
You're absolutely right. I set things up like this a long time ago, when
portage's lockfiles
Hi folks,
I've seen my ntpd process is sometimes dying over night.
To restart it, i have to remove the lockfile in /var/lib/init.d
manually.
This happens from time to time.
Does anyone else have this problem ?
cu
`-selenix'
[...]
ln ../src/procmail ../new/procmail
i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions
lockfile.c
i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions lockfile.o
exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile
-Wl
Jules Colding wrote:
On Thu, 2005-07-21 at 19:12 -0700, Zac Medico wrote:
Hi Jules,
Jules Colding wrote:
[snip]
../../config/make-jars.pl: Could not get lockfile
/var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/dist/bin/chrome/toolkit.lck.
[snip]
MAKEOPTS=-j3
Try
acommon.o mcommon.o authenticate.o lastdirsep.o
-o lockfile -Wl,-z,now -Wl,-O1 -lm -lnsl -ldl -lc
ln ../src/lockfile ../new/lockfile
i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions
formail.c
In file included from formail.c:25:
formisc.h:20: error: conflicting types
Hi group,
according to the manual, setting NETSERVER on and NISPORT to 3551 in
apcupsd.conf should allow me to run apcaccess test. However, this is what I get:
localhost heathen # apcaccess test
FATAL ERROR in apcaccess.c at line 326
Unknown command test
LOCKFILE is set to /var/lock as per
On Thu, 25 Aug 2005 14:51:33 -0400, Willie Wong wrote:
BUT!!! It seems that there is a bug with genlop and newer versions of
portage because some issues with a sandbox lockfile. Search for
genlop sandbox on bugs.gentoo.org for more info. In any case, for
the time being, until the bug is fixed
My remote box is connected direclty to apcups and it is running apcupsd
However, when I pull the cord out of the wall the onbattery script is not email me
anything.
My configuration: apcupsd.conf
UPSCABLE usb
UPSTYPE usb
DEVICE
POLLTIME 60
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR
I installed apcupsd and testing it I don't see any message being broadcasted
via wall when I unplug the power.
setting:
UPSCABLE 940-0024C usb
UPSTYPE usb
DEVICE
POLLTIME 30
LOCKFILE /run/apcupsd
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 10
BATTERYLEVEL 10
uses locking for distfiles so if your share is writeable you
wouldn't have any need for http-replicator. The locks are kept in
$DISTDIR/.locks/
I'm sharing my distfiles over nfs myself and I haven't had any problems.
portage also takes care of stale lockfiles, the masterclient truncates the
lockfile
On Fri, 2005-07-22 at 09:42 -0700, Zac Medico wrote:
[snip]
+++ making
chrome
/var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/extensions/cookie =
../../dist/bin/chrome/classic.jar
../../config/make-jars.pl: Could not get
lockfile
/var/tmp/portage/mozilla-firefox-1.0.5-r1
Jules Colding wrote:
On Fri, 2005-07-22 at 09:42 -0700, Zac Medico wrote:
[snip]
+++ making
chrome /var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/extensions/cookie
= ../../dist/bin/chrome/classic.jar
../../config/make-jars.pl: Could not get
lockfile
/var/tmp/portage/mozilla
il-filter/procmail-3.22-r9 you'll need to ensure
> that you configure a mail storage location using DEFAULT in
> /etc/procmailrc, for example:
> DEFAULT=$HOME/.maildir/
> WARN: postinst
> FEATURES=sfperms removes the read-bit for others from
> /usr/bin/procmail
> /usr/b
which I had (and which has to do I think with
pam_console which is a flag for emerging pam)
Anyhow, as I got bored to create the lockfile every time I just fixed
the /etc/hotplug/usb/usbcam to use my name whenever it couldn't find a lock
file.. Somewhat ugly, but oh well..
Hope this helps
/usr/lib/portage/pym/portage.py, line 1880, in fetch
file_lock =
portage_locks.lockfile(mysettings[DISTDIR]+/+locks_in_subdir+/+myfile,wantnewlockfile=1)
File /usr/lib/portage/pym/portage_locks.py, line 125, in lockfile
if type(lockfilename) == types.StringType and os.fstat(myfd).st_nlink
related to
administer gentoo-thingy ?
Thank you very much in advance for any helpful reply ! :)
Keep hacking!
mcc
I have experience only with distfiles on vfat partition. generally it can be
that way but without lockfile and cvs and svn. and probably resume on
unfinished downloads
experience only with distfiles on vfat partition. generally it can be
that way but without lockfile and cvs and svn. and probably resume on
unfinished downloads corrupts files but I'm not sure about it.
To avoid very complex setup i steal space from vfat in favor of ext3 to put
distfiles
On Thu, Aug 25, 2005 at 11:03:47PM +0100, Neil Bothwick wrote:
On Thu, 25 Aug 2005 14:51:33 -0400, Willie Wong wrote:
BUT!!! It seems that there is a bug with genlop and newer versions of
portage because some issues with a sandbox lockfile. Search for
genlop sandbox on bugs.gentoo.org
articles, get headers, get bodies, post articles
erased stale pid 1097 host quattro.stroller.uk.eu.org lockfile /
var/spool/news/leaf.node/lock.file
*** glibc detected *** double free or corruption (!prev):
0x08067d98 ***
Aborted
$ sudo rm /var/spool/news/leaf.node/lock.file
$ sudo
to write its lockfile to a readonly filesystem.
I'm going to try mounting /run on tmpfs in my initramfs as that is where
it is mounted now, but apparently too late for the first attempt at
starting LVM.
--
Neil Bothwick
If Micro built cars, the worlds population would be in decline
signature.asc
:
UPSNAME SC620I
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyS0
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 20
MINUTES 2
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 192.168.0.1
NISPORT 3551
EVENTSFILE
doesn't need rpcbind since an nfsv4 mount only
needs to now about rpc.nfsd's default port 2049.
Tom, you obviously know nfs better than I do, so maybe you can answer
this question for me.
This morning I got waiting on lockfile foo in /usr/portage/distfiles
locking not available from my nfs3
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 60
MINUTES 10
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
I tried distcc. I can't get it to work in portage at all; it
fails to create some lockfile due to wrong permissions. It may not be
hard to fix it but it makes me suspect the setup doesn't get much
testing, if any.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you a
-2.58.3/homedir/.distcc/lock/cpu_localhost_0:
> > Permission denied
>
I have to set this to get distcc to work (the file is created with root
ownership) - not sure why your lockfile is in a different location.
chown portage /var/tmp/portage/.distcc/lock/cpu_localhost_0
/procmailrc, for example:
DEFAULT=$HOME/.maildir/
WARN: postinst
FEATURES=sfperms removes the read-bit for others from
/usr/bin/procmail
/usr/bin/lockfile
If you use procmail from an MTA like Exim, you need to
re-add the read-bit or avoid the MTA checking the binary
exists.
--
Nei
the 'lockfile' type hack in the script), doesn't break on
a stale lockfile, and does whatever the user ('myuser' should be
replaced with a real username) wishes in terms of WM/desktop by way of
the user's ~/.xinitrc ... and all without ever asking me for a user
password.
--
Poison [BLX]
Joshua M. Murphy
memory)
^
Oops..
What does that mean? Why did it run out of memory - there's still plenty of
RAM.
Couldn't remove lockfile
/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock
Does this file exist
? Should Akonadi be using a lockfile within
$HOME, or are /run/postgresql permissions wrong? I don't see this
reported on b.g.o or upstream, but several KDE bugs (#303740, #286826)
speak of a lockfile in $HOME/.local/share/akonadi/socket-$USER/. This
directory is empty for me with KDE running
in the camera and try to download the photo's. If it now works, you have
the same problem which I had (and which has to do I think with pam_console
which is a flag for emerging pam)
Anyhow, as I got bored to create the lockfile every time I just fixed
the /etc/hotplug/usb/usbcam to use my name whenever
I had a very similar problem, but I actually got something in my
/var/log/mythtv/mythbackend.log file:
Starting up as the master server.
/mnt/store//nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/mnt/store/' exists and that both
the directory and that file
(fetchme, mysettings, listonly=listonly,
fetchonly=fetchonly):
File /usr/lib/portage/pym/portage.py, line 1880, in fetch
file_lock =
portage_locks.lockfile(mysettings[DISTDIR]+/+locks_in_subdir+/+myfile
,wantnewlockfile=1) File /usr/lib/portage/pym/portage_locks.py, line 125,
in lockfile
73, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
File /usr/lib64/portage/pym/portage/__init__.py, line 215, in __call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 28] No space left on device:
'/var/tmp/portage/sys-kernel/hardened-sources
. :-(
Unfortunately, mysql has left a lock file behind, so it won't start at reboot
until I remove the lockfile.
Now, here's the strange thing about all this. I have 4 RAM modules, 2x1G and
2x500M. Following the manual I have installed them in this order:
slot 1 - 1G,
slot 2 - 0.5G,
slot 3 - 1G,
slot 4
/usr is already mounted, it is the openrc
startup of LVM that is failing, because it is trying to write a lockfile
to a read-only filesystem, which would be the case even if you were not
using an initramfs.
The problem is that it is trying to write to /var/lock, which is on / at
this point, rather
stuff and passed control to init on the real root
partition. At this point /usr is already mounted, it is the openrc
startup of LVM that is failing, because it is trying to write a lockfile
to a read-only filesystem, which would be the case even if you were not
using an initramfs.
The problem
because especially nfsv3 needs it because,
theoretically, nfsv4 doesn't need rpcbind since an nfsv4 mount only
needs to now about rpc.nfsd's default port 2049.
This morning I got waiting on lockfile foo in /usr/portage/distfiles
locking not available from my nfs3 clients when trying to download
On 02/03/2015 03:29 AM, Tom H wrote:
On Mon, Feb 2, 2015 at 8:46 PM, walt w41...@gmail.com wrote:
This morning I got waiting on lockfile foo in /usr/portage/distfiles
locking not available from my nfs3 clients when trying to download
needed source files.
I don't recall having this problem
do that, I'll probably just kill groupadd and see if the
> merging continues.
The group is already created so kill groupadd. One of three things will
happen:
1. the emerge will continue. Do nothing
2. The emerge will fail with a groupadd error. Restart the emerge
3. Nothing will change. Kill the emerge and restart it
If the lockfile persists after killing groupadd, delete it.
--
Alan McKinnon
alan.mckin...@gmail.com
merging continues.
>
> The group is already created so kill groupadd. One of three things will
> happen:
>
> 1. the emerge will continue. Do nothing
> 2. The emerge will fail with a groupadd error. Restart the emerge
> 3. Nothing will change. Kill the emerge and restart it
>
> If the lockfile persists after killing groupadd, delete it.
Well, yes ... I just would like to know what the problem might be.
merging continues.
The group is already created so kill groupadd. One of three things will
happen:
1. the emerge will continue. Do nothing
2. The emerge will fail with a groupadd error. Restart the emerge
3. Nothing will change. Kill the emerge and restart it
If the lockfile persists after killin
(dcc_open_lockfile) ERROR: failed to creat
>
/var/tmp/portage/dev-libs/glib-2.58.3/homedir/.distcc/lock/cpu_localhost_0:
> Permission denied
I have to set this to get distcc to work (the file is created with root
ownership) - not sure why your lockfile is in a different location.
On Thu, 2005-07-21 at 19:12 -0700, Zac Medico wrote:
Hi Jules,
Jules Colding wrote:
[snip]
../../config/make-jars.pl: Could not get lockfile
/var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/dist/bin/chrome/toolkit.lck.
[snip]
MAKEOPTS=-j3
Try it with MAKEOPTS=-j2.
OK, did
/portage/locks.py, line 147, in lockfile
locking_method(myfd, fcntl.LOCK_EX|fcntl.LOCK_NB)
IOError: [Errno 11] Resource temporarily unavailable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File /usr/lib64/portage/bin/lock-helper.py, line
compiling package and
estimate time left. (And if it has been compiling longer than the
average time, it would say: Any Time Now.)
BUT!!! It seems that there is a bug with genlop and newer versions of
portage because some issues with a sandbox lockfile. Search for
genlop sandbox on bugs.gentoo.org
, in fetch
file_lock =
portage_locks.lockfile(mysettings[DISTDIR]+/+locks_in_subdir+/+myfile,wantnewlockfile=1)
File /usr/lib/portage/pym/portage_locks.py, line 93, in lockfile
fcntl.lockf(myfd,fcntl.LOCK_EX|fcntl.LOCK_NB)
IOError: [Errno 13] Permission denied
[EMAIL PROTECTED
/portage/pym/portage/locks.py, line 73, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
File /usr/lib64/portage/pym/portage/__init__.py, line 215, in __call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 28] No space left on device:
'/var/tmp
. The only way to
recover is to pull the plug. :-(
Unfortunately, mysql has left a lock file behind, so it won't start at reboot
until I remove the lockfile.
Now, here's the strange thing about all this. I have 4 RAM modules, 2x1G and
2x500M. Following the manual I have installed them
-3.14.8-r2)
/etc/apcupsd/apcupsd.conf folows:
UPSNAME SC620I
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyS0
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 20
MINUTES 2
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON
be running?
(Running sys-power/apcupsd-3.14.8-r2)
/etc/apcupsd/apcupsd.conf folows:
UPSNAME SC620I
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyS0
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 20
MINUTES 2
TIMEOUT 0
ANNOY 300
On Tue, Feb 3, 2015 at 7:05 PM, walt w41...@gmail.com wrote:
On 02/03/2015 03:29 AM, Tom H wrote:
On Mon, Feb 2, 2015 at 8:46 PM, walt w41...@gmail.com wrote:
This morning I got waiting on lockfile foo in /usr/portage/distfiles
locking not available from my nfs3 clients when trying
to recover is to pull the plug. :-(
Unfortunately, mysql has left a lock file behind, so it won't start
at reboot until I remove the lockfile.
Now, here's the strange thing about all this. I have 4 RAM modules,
2x1G and 2x500M. Following the manual I have installed them in this
order
the network, so I assume that the NIC is also
suspended. The only way to recover is to pull the plug. :-(
Unfortunately, mysql has left a lock file behind, so it won't start
at reboot until I remove the lockfile.
Now, here's the strange thing about all this. I have 4 RAM modules
I assume that the NIC is also
suspended. The only way to recover is to pull the plug. :-(
Unfortunately, mysql has left a lock file behind, so it won't start
at reboot until I remove the lockfile.
Now, here's the strange thing about all this. I have 4 RAM modules,
2x1G and 2x500M
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 15
MINUTES 5
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 180
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
e success: net-mail/dovecot-2.3.10
So it is missing the "Post-Build Cleaning" and the "completed emerge" line for
dovecot.
Lokking into the temporary build directory of portage I can see see only a
single file
being left (PORTAGE_TMPDIR="/home/portage/tmp):
/home/portage/tmp/por
/portage/bin/ebuild-ipc.py, line 63, in communicate
lock_obj = portage.locks.lockfile(self.ipc_lock_file, unlinkfile=True)
File /usr/lib64/portage/pym/portage/locks.py, line 73, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
File /usr/lib64/portage/pym/portage
)
File /usr/lib64/portage/pym/portage/locks.py, line 73, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
File /usr/lib64/portage/pym/portage/__init__.py, line 215, in __call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 22] Invalid argument
[akonadiserver] Database /home/michael/.local/share/akonadi/akonadi.db
opened using driver QSQLITE
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_40(12617):
Couldn't remove lockfile /var/tmp/kdecache-michael/kpc/kde-icon-cache.lock
Does this file exist?
[/usr
=also
bash_launcher chdir chroot conflict cpout critical ctrlaltdel
daemon_clean debug_commands envparser find fmon fstat history idleprobe
initctl interactive iparser last limit lockfile logfile netdev netprobe
ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd
stdout suid
/chrome/toolkit.jar
../../config/make-jars.pl: Could not get lockfile
/var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/dist/bin/chrome/toolkit.lck.
Remove
/var/tmp/portage/mozilla-firefox-1.0.5-r1/work/mozilla/dist/bin/chrome/toolkit.lck
to clear up
gmake[3]: *** [libs] Error 9
gmake[3
bash_launcher
chdir chroot conflict cpout critical ctrlaltdel daemon_clean
debug_commands envparser find fmon fstat history idleprobe initctl
interactive iparser last limit lockfile logfile netdev netprobe ngc4
ngcs nge pause provide reload renice rlparser simple_launcher stcmd
stdout suid syncron syslog
66 matches
Mail list logo