Bug 3922 - netprofile's %post should check whether dbus is running before calling dbus-send
Summary: netprofile's %post should check whether dbus is running before calling dbus-send
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 19:57 CET by Frederik Himpe
Modified: 2016-10-11 21:39 CEST (History)
4 users (show)

See Also:
Source RPM: netprofile
CVE:
Status comment:


Attachments

Description Frederik Himpe 2011-12-29 19:57:00 CET
In the install.log of a cauldron installation, I find this:

Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
netprofile-0.28-3.mga1.noarch

netprofile's %post script calls /usr/sbin/netprofile which calls dbus-send. This triggers this error during cauldron installation, because dbus is not running. Either it should check first whether dbus is running before calling dbus-send, or the error message should be silenced by adding 2>/dev/null in the dbus-send call.
Comment 1 Manuel Hiebel 2011-12-29 22:29:11 CET
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)

CC: (none) => thomas

Comment 2 Marja Van Waes 2012-03-19 12:57:32 CET
We still don't have a maintainer for this package

Is the bug still valid?

Keywords: (none) => NEEDINFO
CC: (none) => marja11

Comment 3 Marja Van Waes 2012-04-04 16:39:14 CEST
(In reply to comment #2)
> We still don't have a maintainer for this package
> 
> Is the bug still valid?

@ Frederik

Is the bug still valid for Mga2b2?
Comment 4 Frederik Himpe 2012-04-05 15:09:57 CEST
I'm not going to do a complete mageia installation to test whether this is still valid. But as netprofile did not have any commit in 13 months, according to http://svnweb.mageia.org/packages/cauldron/netprofile/, it's extremely unlikely this warning is gone now.
Comment 5 Marja Van Waes 2012-04-21 19:54:50 CEST
(In reply to comment #4)
> I'm not going to do a complete mageia installation to test whether this is
> still valid. But as netprofile did not have any commit in 13 months, according
> to http://svnweb.mageia.org/packages/cauldron/netprofile/, it's extremely
> unlikely this warning is gone now.

That makes sense :)

Keywords: NEEDINFO => (none)

Comment 6 Marja Van Waes 2012-05-26 13:09:06 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Marja Van Waes 2012-07-09 11:36:24 CEST

Whiteboard: (none) => lastconfirmed 2011-12-29

Comment 7 roelof Wobben 2012-12-31 10:03:50 CET
We have now Cauldron. 

Can anyone report if the report is still valid ?

Thanks.

Roelof

CC: (none) => r.wobben

Comment 8 roelof Wobben 2012-12-31 10:04:29 CET
On my install I cannot find the error message. 

Roelof
Comment 9 Alex Loginov 2013-06-29 15:55:06 CEST
netprofile            #########################################################################################################
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Will you add checking if there is no /var/run/dbus/system_bus_socket, then don't start %post?

CC: (none) => loginov_alex

Comment 10 Alex Loginov 2014-11-27 21:31:14 CET
I cannot find the error message now for current Cauldron.

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

Comment 11 Alex Loginov 2014-11-28 08:43:01 CET
Yes, error is present:
   44/115: netprofile            #########################################################################################################
Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Status: RESOLVED => REOPENED
Resolution: WORKSFORME => (none)

Alex Loginov 2014-11-28 08:44:06 CET

Keywords: NEEDINFO => (none)
Whiteboard: lastconfirmed 2011-12-29 => lastconfirmed 2014-11-28

Comment 12 Samuel Verschelde 2016-10-11 21:39:02 CEST
Assigning to Mageia Tools maintainer group. If it happens not to be valid anymore, just close it, thanks!

Status: REOPENED => NEW
Assignee: bugsquad => mageiatools
Summary: should check whether dbus is running before calling dbus-send => netprofile's %post should check whether dbus is running before calling dbus-send
Whiteboard: lastconfirmed 2014-11-28 => (none)


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