You are not logged in.

#1 2012-12-05 17:17:24

Antunes
Member
Registered: 2012-07-15
Posts: 20

dbus-core removal [Solved]

My dbus-core was just removed, it seems it is no longer in the repos. This happened when dbus upgraded to 1.6.8-5.

Ever since, I cannot automount internal drives and several other modules seem to be broken. Is it intentional to remove dbus-core from the repos and what do I have to do to compensate for that?

Last edited by Antunes (2012-12-06 11:18:25)

Offline

#2 2012-12-05 17:41:58

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,121

Re: dbus-core removal [Solved]

I'd guess that you didn't have any packages installed that required dbus-core so it was removed.  I see the new dbus doesn't have dbus-core as a dep.  I still have dbus-core installed since I have a couple of packages that still require it so pacman must have left it alone.  Have you switched over to systemd yet?

Last edited by bgc1954 (2012-12-05 17:42:25)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2012-12-05 17:42:53

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: dbus-core removal [Solved]

dbus-core has been merged into dbus, that's why it is being removed.

Offline

#4 2012-12-05 17:45:39

sano
Member
Registered: 2012-02-11
Posts: 113

Re: dbus-core removal [Solved]

Out of curiousity, and to check if your problems are reproducible: What other modules are broken?
(Auto)mounting internal partitions seems to break all the time, and I am using fstab for automounting and udevil for "manual" mounting...

Offline

#5 2012-12-05 17:46:59

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 921

Re: dbus-core removal [Solved]

and as same time a filesystem update was merged
not sure how manage it because only add dbus as a new user id and the flag fro dbus-core into dbus make my thinking that is going to be bad if I merge it incoprreclty

any idea about it?


Well, I suppose that this is somekind of signature, no?

Offline

#6 2012-12-05 17:49:01

Antunes
Member
Registered: 2012-07-15
Posts: 20

Re: dbus-core removal [Solved]

@sano: Another problem was that I could not open X windows as root: see here

 sudo thunar                                                                 
No protocol specified
Thunar: Cannot open display: 

Is this unrelated?

Last edited by Antunes (2012-12-05 17:49:38)

Offline

#7 2012-12-05 17:56:21

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: dbus-core removal [Solved]

Antunes wrote:

@sano: Another problem was that I could not open X windows as root: see here

 sudo thunar                                                                 
No protocol specified
Thunar: Cannot open display: 

Is this unrelated?

Yes. You'll notice that it says, "Cannot open display: ". That means that the DISPLAY variable is not set.  Use something like gksudo/kdesudo etc.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#8 2012-12-05 17:59:44

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,121

Re: dbus-core removal [Solved]

Try reading https://wiki.archlinux.org/index.php/Ru … ps_as_root

We try to encourage people to do some of their own research before asking on the forum. smile

edit: I gotta learn how to type or think faster.

Last edited by bgc1954 (2012-12-05 18:00:38)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#9 2012-12-05 18:02:00

Antunes
Member
Registered: 2012-07-15
Posts: 20

Re: dbus-core removal [Solved]

OK, so this seems to be unrelated. Is nobody else having these automount problems?

@bgc1954: this was just a side issue, the main problem is the automounting.

Last edited by Antunes (2012-12-05 18:02:46)

Offline

#10 2012-12-05 18:06:27

omeringen
Member
Registered: 2012-05-28
Posts: 109

Re: dbus-core removal [Solved]

(1/1) removing dbus-core                                                                         [---------------------------------------------------------] 100%
userdel: user dbus is currently used by process 318
groupdel: cannot remove the primary group of user 'dbus'
error: command failed to execute correctly
(1/3) upgrading filesystem                                                                       [---------------------------------------------------------] 100%
warning: /etc/group installed as /etc/group.pacnew
warning: /etc/passwd installed as /etc/passwd.pacnew
warning: /etc/gshadow installed as /etc/gshadow.pacnew
warning: /etc/shadow installed as /etc/shadow.pacnew
(2/3) upgrading dbus                                                                             [---------------------------------------------------------] 100%
New optional dependencies for dbus
    libx11: dbus-launch support
(3/3) upgrading hwids                                                                            [---------------------------------------------------------] 100%

Anything about the error on (1/1) ?

Offline

#11 2012-12-05 18:07:40

Antunes
Member
Registered: 2012-07-15
Posts: 20

Re: dbus-core removal [Solved]

Thx, omeringen. Had that error myself, sorry for not posting earlier, but I had lost the logs upon reboot.

Offline

#12 2012-12-05 18:12:20

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: dbus-core removal [Solved]

For everyone in this thread: just install the new dbus package and the new filesystem package and make sure to merge your .pacnew files. If any of your old packages depend on dbus-core, they should still work as dbus now provides dbus-core.

There have been two changes:
1. The dbus package used to only include dbus-launch while dbus-core included dbus itself. Now, the dbus package includes everything.
2. The 'dbus' user is no longer added by the install script in the dbus-core/dbus package; it is defined in the default /etc/{passwd,group,shadow,gshadow} files in the filesystem package.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#13 2012-12-05 18:12:59

googol-1
Member
Registered: 2012-10-21
Posts: 22

Re: dbus-core removal [Solved]

Jristz wrote:

and as same time a filesystem update was merged
not sure how manage it because only add dbus as a new user id and the flag fro dbus-core into dbus make my thinking that is going to be bad if I merge it incoprreclty

any idea about it?

No need to merge the .pacnew files in this case.
You should have a dbus user and groupe already. It was added by dbus-core and now it is provided by filesystem.
If you don't have them than merge the .pacnew

And about the error:
https://mailman.archlinux.org/pipermail … 24118.html

Last edited by googol-1 (2012-12-05 18:23:42)

Offline

#14 2012-12-05 18:13:14

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: dbus-core removal [Solved]

omeringen wrote:
(1/1) removing dbus-core                                                                         [---------------------------------------------------------] 100%
userdel: user dbus is currently used by process 318
groupdel: cannot remove the primary group of user 'dbus'
error: command failed to execute correctly
(1/3) upgrading filesystem                                                                       [---------------------------------------------------------] 100%
warning: /etc/group installed as /etc/group.pacnew
warning: /etc/passwd installed as /etc/passwd.pacnew
warning: /etc/gshadow installed as /etc/gshadow.pacnew
warning: /etc/shadow installed as /etc/shadow.pacnew
(2/3) upgrading dbus                                                                             [---------------------------------------------------------] 100%
New optional dependencies for dbus
    libx11: dbus-launch support
(3/3) upgrading hwids                                                                            [---------------------------------------------------------] 100%

Anything about the error on (1/1) ?

That error is expected and unavoidable, ignore it (or read the arch-dev-public mailing list for an explanation).

googol-1 wrote:

No need to merge the .pacnew files in this case.
You should have a dbus user and groupe already. It was added by dbus-core and now it is provided by filesystem.

Theoretically, if the userdel/groupdel commands actually worked, you would have to merge the pacnew files. However, they don't so you are correct and this shouldn't be a problem. However, it's still a good idea to merge them for consistency.

Last edited by Stebalien (2012-12-05 18:15:36)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#15 2012-12-05 18:16:15

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,121

Re: dbus-core removal [Solved]

@omeringen - A simple search on the forums revealed this: https://bbs.archlinux.org/viewtopic.php?pid=1187801 which is eerily similair.

edit: Again, beaten to the punch and a tad off the mark but perhaps relevant.

Last edited by bgc1954 (2012-12-05 18:20:37)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#16 2012-12-05 18:22:18

Antunes
Member
Registered: 2012-07-15
Posts: 20

Re: dbus-core removal [Solved]

Hmm, just checked and the groupnew file does not contain anything which is not alread in the old one.

So is it possible that the automount problems are completely unrelated?

Offline

#17 2012-12-05 19:29:51

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,060
Website

Re: dbus-core removal [Solved]

There was a change in the /etc/passwd file. The dbus entry has been modified a bit.
Old entry:
dbus:x:81:81:System message bus:/:/bin/false
New entry:
dbus:x:81:81:dbus:/:/sbin/nologin
Is it safe to change to the new entry? I assume it is because the group number is the same and only description and shell have been changed.

Offline

#18 2012-12-05 19:32:25

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 19,074
Website

Re: dbus-core removal [Solved]

Antunes wrote:

So is it possible that the automount problems are completely unrelated?

I can confirm that, using udiskie, automounting has gone south with the new dbus. I haven't had time to look at it more closely...

teatetawhy wrote:

dbus:x:81:81:dbus:/:/sbin/nologin
Is it safe to change to the new entry? I assume it is because the group number is the same and only description and shell have been changed.

It worked for me smile


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#19 2012-12-05 19:48:28

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: dbus-core removal [Solved]

So if I understand correctly *all* old entries are simply to be replaced by the new info regarding dbus, f.e. dbus:!:: in gshadow etc.?


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#20 2012-12-05 20:28:54

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,060
Website

Re: dbus-core removal [Solved]

root wrote:

So if I understand correctly *all* old entries are simply to be replaced by the new info regarding dbus, f.e. dbus:!:: in gshadow etc.?

Do not replace your original shadow file. It contains hashed passwords, if you overwrite the file your passwords will be empty and everyone can login...

Offline

#21 2012-12-05 20:30:24

hydn
Member
From: Antigua
Registered: 2012-09-23
Posts: 104
Website

Re: dbus-core removal [Solved]

Hey me to. I'm skeptical about removing until I can confirm others report doing so without issue.

Sorry I don't know the answer to your question but I have one of my own. Anyone can confirm allowing this removal without any issues after reboot etc?

thx

Offline

#22 2012-12-05 20:37:58

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: dbus-core removal [Solved]

teateawhy wrote:

Do not replace your original shadow file. It contains hashed passwords, if you overwrite the file your passwords will be empty and everyone can login...

No, no I do no refer to replace the file but to set the dbus entries to the ones featured in the .pacnew files.

F.e. in groups, if I remember correctly, I had already the pacnew entry but changed it in order to have a more 'standard' listing. The passwd update is working fine so far, just like mentioned by jasonwryan in #18 (and I presume in your case too).

But in gshadow I have besides the update info also a dbus:!:: entry. Therefore I am not sure if that has to be removed and only the dbus:x:: has to be kept or the keeping should apply to both.

Last edited by root (2012-12-05 20:39:43)


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#23 2012-12-05 20:56:27

T.J.S.
Member
Registered: 2012-08-14
Posts: 83

Re: dbus-core removal [Solved]

Also in /etc/shadow the dbus line is changed, but if I understand correctly this should stay the way it was.

Anyone can elaborate more on the shell change in dbus line in /etc/passwd? I want to change it, but the lack of knowledge is refraining me. tongue

Last edited by T.J.S. (2012-12-05 20:58:03)

Offline

#24 2012-12-05 21:06:37

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: dbus-core removal [Solved]

T.J.S. wrote:

Also in /etc/shadow the dbus line is changed, but if I understand correctly this should stay the way it was.

Anyone can elaborate more on the shell change in dbus line in /etc/passwd? I want to change it, but the lack of knowledge is refraining me. tongue

Mind sharing the source for the dbus line to stay the same?

As for your shell doubt check out #17/#18 in this same thread.

Last edited by root (2012-12-05 21:09:15)


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#25 2012-12-05 21:09:42

gordoleon
Member
Registered: 2012-02-22
Posts: 12

Re: dbus-core removal [Solved]

The only problem i've been having is that automounting is gone wich is a real pain.

Anyone with more info about all the .pacnew's im quite confused here.=|

Offline

Board footer

Powered by FluxBB