Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#5873 closed defect (fixed)

Opkg fails "Could not obtain administrative lock"

Reported by: Jacotb Owned by: claudio
Priority: high Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

I am using the daily snapshot of 20 Sep 2009 for the etrax platform.

Whatever opkg command I use, it always returns "Could not obtain administrative lock". When I manually remove the /usr/lib/opkg/lock file, opkg creates the file again and throws the same error.

How to reproduce: Use any opkg command on a fresh etrax install.

I have checked there is still +/- 15MB of free space on the tmpfs.

Attachments (1)

log.txt (3.4 KB) - added by Jacotb <jacotb@…> 8 years ago.
Strace log

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by Jacotb <jacotb@…>

Strace log

comment:1 in reply to: ↑ description Changed 8 years ago by Jacotb <jacotb@…>

I've also checked there are no zombie opkg processes. Also a lsof tells me no other processes have the file opened. The file system is jffs2 and writable.
Making a /usr/lib/opkg link to the tmpfs has no effect.

I have done a reinstall twice, same issue appears every time with a fresh install.

comment:2 Changed 8 years ago by Jacotb <jacotb@…>

It appears to be a general filesystem issue: passwd also warns "unable to lock /etc/passwd file (Permission denied)"

comment:3 Changed 8 years ago by claudio

  • Owner changed from developers to claudio
  • Status changed from new to assigned

comment:4 Changed 8 years ago by claudio

  • Resolution set to fixed
  • Status changed from assigned to closed

Fix with 17815

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.