Bug 11484 - mgaapplet crashed (/var/lib/urpmi: Permission denied)
Summary: mgaapplet crashed (/var/lib/urpmi: Permission denied)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2013-10-17 03:42 CEST by Doug Laidlaw
Modified: 2014-01-08 14:15 CET (History)
1 user (show)

See Also:
Source RPM: mgaonline-2.83-1.mga4
CVE:
Status comment:


Attachments

Description Doug Laidlaw 2013-10-17 03:42:03 CEST
The "mgaapplet" program crashed. Drakbug-15.68 caught it.

This is on first booting into Cauldron with all updates as of yesterday 16th (my time) and an "upgrade" to the Alpha 3 DVD.  

/var/lib/urpmi does not exist.

/var/lib is owned by root:root with permissions 755.

mkdir /var/lib/urpmi: Permission denied at /usr/lib/perl5/vendor_perl/5.18.1/urpm.pm line 305.
Perl's trace:
standalone::bug_handler() called from /usr/lib/perl5/5.18.1/Carp.pm:100
Carp::croak() called from /usr/lib/perl5/5.18.1/File/Path.pm:156
File::Path::_mkpath() called from /usr/lib/perl5/5.18.1/File/Path.pm:114
File::Path::mkpath() called from /usr/lib/perl5/vendor_perl/5.18.1/urpm.pm:305
urpm::create_var_lib_rpm() called from /usr/lib/perl5/vendor_perl/5.18.1/urpm.pm:293
urpm::set_files() called from /usr/lib/perl5/vendor_perl/5.18.1/urpm.pm:151
urpm::new() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/open_db.pm:80
Rpmdrake::open_db::fast_open_urpmi_db() called from /usr/bin/mgaapplet:58

Theme name: Raleigh
Kernel version = 3.11.4-server-1.mga4
Distribution=Mageia release 4 (Cauldron) for i586
CPU=AMD Sempron(tm) Processor 2800+
Comment 1 Doug Laidlaw 2013-10-17 03:46:50 CEST
At this point, there were no sources other than the DVD.  mgaapplet should have prompted me to add sources.  On selecting "Update media" from MCC, /var/lib/urpmi was created.
Manuel Hiebel 2013-10-17 23:39:42 CEST

CC: (none) => mageia
Assignee: bugsquad => thierry.vignaud
Summary: mgaapplet crashed => mgaapplet crashed (/var/lib/urpmi: Permission denied)

Comment 2 Thierry Vignaud 2014-01-08 04:59:52 CET
Why did you have no /var/lib/urpmi?
1) if you had just applied updates, that mean that you add sources
2) this directory is packaged as part of urpmi so did you manually delete it?

Keywords: (none) => NEEDINFO

Comment 3 Doug Laidlaw 2014-01-08 06:53:46 CET
(In reply to Thierry Vignaud from comment #2)
> Why did you have no /var/lib/urpmi?
> 1) if you had just applied updates, that mean that you add sources
> 2) this directory is packaged as part of urpmi so did you manually delete it?

It simply wasn't there.  Once the directory was created, I have had no problem.

Since then, I did a complete reinstall formatting /var and /tmp. No problem on that occasion.  So this bug is now history, and I have omitted a more detailed sequence of events.
Comment 4 Thierry Vignaud 2014-01-08 14:15:34 CET
Closing then

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.