You are not logged in.

#1 2013-01-15 18:07:06

stefkee
Member
From: Serbia
Registered: 2012-11-09
Posts: 32
Website

[SOLVED]systemd and nss-myhostname are in conflict.

Hey guys,
Today I typed in terminal: pacman -Syy then pacman -Syu and I get following error:

:: systemd and nss-myhostname are in conflict. Remove nss-myhostname? [y/N]

I don't know what to do. Is it safe to remove nss-myhostname? Any recommendations?

Thanks : )

Last edited by stefkee (2013-01-15 18:20:39)


[img]http://img97.imageshack.us/img97/8027/15735.png[/img]

Offline

#2 2013-01-15 18:16:19

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: [SOLVED]systemd and nss-myhostname are in conflict.

The new systemd provides the usr/lib/libnss_myhostname.so.2 file, so it's probably safe to replace. I had to -Rdd it, since filesystem package depends on nss-myhostname.

Last edited by kaszak696 (2013-01-15 18:17:49)


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#3 2013-01-15 18:20:05

stefkee
Member
From: Serbia
Registered: 2012-11-09
Posts: 32
Website

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Thanks. Just updated, everything is alright. Marking as solved smile


[img]http://img97.imageshack.us/img97/8027/15735.png[/img]

Offline

#4 2013-01-15 21:57:41

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 438

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Just for future reference, you don't have to -Rdd it manually. Just select "y" and pacman replaces it seamlessly for you. That's why there's a "replaces" field.


dots (or just the awesomewm config)

$ whatis this?
this?: nothing appropriate.

Offline

#5 2013-01-15 22:28:14

draptik
Member
Registered: 2012-07-13
Posts: 4

Re: [SOLVED]systemd and nss-myhostname are in conflict.

So, after moving from /etc/hosts to nss-myhostname, and now to systemd: Where is the correct place to change the mapping entries which used to be located in /etc/hosts?

Offline

#6 2013-01-16 06:40:50

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

Re: [SOLVED]systemd and nss-myhostname are in conflict.

draptik wrote:

So, after moving from /etc/hosts to nss-myhostname, and now to systemd: Where is the correct place to change the mapping entries which used to be located in /etc/hosts?

We haven't moved from /etc/hosts at all and nss-myhostname has been merged with systemd (read it: http://0pointer.de/lennart/projects/nss-myhostname/) If you really don't like nss-myhostname you can always remove myhostname from /etc/nsswitch.conf.


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

Offline

#7 2013-01-16 08:28:17

luke_dirtwalker
Member
Registered: 2012-03-14
Posts: 3

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Hi,
I recently tried to update but it fails:

core/systemd                196-2        -> 197-4
core/systemd-sysvcompat     196-2        -> 197-4

then i receive this:

looking for inter-conflicts...
:: systemd and nss-myhostname are in conflict. Remove nss-myhostname? [y/N]

nss-myhostname is required in filesystem.

Anyone else has seen this? Does anyone know how to get around this problem?

Thanks

Offline

#8 2013-01-16 08:31:00

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

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Please search before posting...

https://bbs.archlinux.org/viewtopic.php?pid=1217910

Merging


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#9 2013-01-18 09:38:05

89c51
Member
Registered: 2012-06-05
Posts: 642

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Anything a casual user must do with the /etc/udev/rules.d/80-net-name-slot.rules file???

Offline

#10 2013-01-18 09:51:58

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: [SOLVED]systemd and nss-myhostname are in conflict.

cat /etc/udev/rules.d/80-net-name-slot.rules

and you will know.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#11 2013-01-18 10:01:24

89c51
Member
Registered: 2012-06-05
Posts: 642

Re: [SOLVED]systemd and nss-myhostname are in conflict.

kaszak696 wrote:
cat /etc/udev/rules.d/80-net-name-slot.rules

and you will know.

Yes i know. The question is (or should have been) if i delete it (its empty anyway) will it cause problems in other places?

Offline

#12 2013-01-18 10:04:37

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Other than possibly renaming your network interfaces? None. /lib/udev/rules.d/80-net-name-slot.rules will take over, you can see what it does.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#13 2013-01-18 10:04:53

WorMzy
Forum Moderator
From: England
Registered: 2010-06-16
Posts: 4,851

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Define "problems".

There's a sticky conglomerate of topics about this here: https://bbs.archlinux.org/viewtopic.php?id=156283


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#14 2013-01-18 10:05:00

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Rename it (i called mine "x80-net-name-slot.rules"), then reboot.

If you experience any problems, then undo.

I have not personally seen any difference.


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#15 2013-01-18 13:40:13

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: [SOLVED]systemd and nss-myhostname are in conflict.

-

Last edited by sl1pkn07 (2013-01-18 13:43:53)

Offline

#16 2013-01-18 14:07:49

89c51
Member
Registered: 2012-06-05
Posts: 642

Re: [SOLVED]systemd and nss-myhostname are in conflict.

flipper T wrote:

Rename it (i called mine "x80-net-name-slot.rules"), then reboot.

If you experience any problems, then undo.

I have not personally seen any difference.


Deleted both rule files (80-net-name-slot.rules, network_persistent.rules), rebooted, internet works and thats all i care tongue

Thanks

Offline

#17 2013-01-18 14:59:29

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Just for future reference, its always a good idea to either backup or rename the file, rather than delete, just to be safe.

Glad it worked out for you this time.


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#18 2013-01-18 15:11:22

89c51
Member
Registered: 2012-06-05
Posts: 642

Re: [SOLVED]systemd and nss-myhostname are in conflict.

Yes i renamed them first rebooted and then did the above.

Offline

Board footer

Powered by FluxBB