You are not logged in.

#1 2012-10-02 22:14:15

djyoung4
Member
Registered: 2012-05-03
Posts: 22

[Solved]deprecated daemons on startup

I have been getting these errors whenever I boot

Tue Oct  2 14:57:59 2012:  HARDWARECLOCK= is deprecated. See rc.conf(5) and hwclock(8) for details. 
Tue Oct  2 14:57:59 2012: :: Adjusting system time and setting kernel time zone    [BUSY]  TIMEZONE= is deprecated. See rc.conf(5) for details. 

I also get the same thing but for HOSTNAME but it is not in the logs.  Should I just remove those from my rc.conf?  any help greatly appreciated.

Last edited by djyoung4 (2012-10-02 22:56:15)

Offline

#2 2012-10-02 22:19:11

DeadWolfSA
Member
Registered: 2012-07-11
Posts: 6

Re: [Solved]deprecated daemons on startup

With the switch to systemd you will need to create new configuration files.

https://wiki.archlinux.org/index.php/Sy … tion_files

Offline

#3 2012-10-02 22:22:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]deprecated daemons on startup

Have you read these man pages? They tell you what to do.

Offline

#4 2012-10-02 22:23:45

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved]deprecated daemons on startup


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2012-10-02 22:29:33

djyoung4
Member
Registered: 2012-05-03
Posts: 22

Re: [Solved]deprecated daemons on startup

I'm reading the man pages now.  thanks for the quick responses.  I'm assuming once I create the new files and add the necessary info that I should remove it from the rc.conf. correct?

Offline

#6 2012-10-02 22:46:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]deprecated daemons on startup

Yes, although I prefer to comment stuff out and not outright remove it. Makes reverting the changes much easier in case something doesn't work.

Offline

#7 2012-10-02 22:56:46

djyoung4
Member
Registered: 2012-05-03
Posts: 22

Re: [Solved]deprecated daemons on startup

thats what I did.  All fixed now.  Thanks for the help. smile

Last edited by djyoung4 (2012-10-02 22:57:00)

Offline

#8 2012-10-05 23:08:34

aliasbody
Member
From: Portugal
Registered: 2010-12-16
Posts: 157
Website

Re: [Solved]deprecated daemons on startup

Hello, sorry for asking this here but, I have the exact same problem with HOSTNAME and I did everything correctly, i have my /etc/hostname created with the hostname in there but the problem remain, how can I solve this ?

Offline

#9 2012-10-06 16:14:00

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [Solved]deprecated daemons on startup

@aliasbody: you'll still get the warning as long as HOSTNAME is set in /etc/rc.conf (even if /etc/hostname is what is being used). That is to avoid confusion in case people don't realise that the /etc/rc.conf HOSTNAME is actually being ignored.

Offline

#10 2012-10-06 22:14:12

aliasbody
Member
From: Portugal
Registered: 2010-12-16
Posts: 157
Website

Re: [Solved]deprecated daemons on startup

tomegun wrote:

@aliasbody: you'll still get the warning as long as HOSTNAME is set in /etc/rc.conf (even if /etc/hostname is what is being used). That is to avoid confusion in case people don't realise that the /etc/rc.conf HOSTNAME is actually being ignored.

The problem is that I am talking about my laptop (fresh installation 1 week ago with already the new changes) and on the /etc/rc.conf there is no hostname= in any place :S...

Offline

#11 2012-10-06 23:42:20

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [Solved]deprecated daemons on startup

aliasbody wrote:
tomegun wrote:

@aliasbody: you'll still get the warning as long as HOSTNAME is set in /etc/rc.conf (even if /etc/hostname is what is being used). That is to avoid confusion in case people don't realise that the /etc/rc.conf HOSTNAME is actually being ignored.

The problem is that I am talking about my laptop (fresh installation 1 week ago with already the new changes) and on the /etc/rc.conf there is no hostname= in any place :S...

Hm. Might be a bug then. Are you using initscripts-2012.09.2? It should have been fixed in that release.

Offline

#12 2012-10-07 01:01:28

aliasbody
Member
From: Portugal
Registered: 2010-12-16
Posts: 157
Website

Re: [Solved]deprecated daemons on startup

tomegun wrote:
aliasbody wrote:
tomegun wrote:

@aliasbody: you'll still get the warning as long as HOSTNAME is set in /etc/rc.conf (even if /etc/hostname is what is being used). That is to avoid confusion in case people don't realise that the /etc/rc.conf HOSTNAME is actually being ignored.

The problem is that I am talking about my laptop (fresh installation 1 week ago with already the new changes) and on the /etc/rc.conf there is no hostname= in any place :S...

Hm. Might be a bug then. Are you using initscripts-2012.09.2? It should have been fixed in that release.

I update the System and now the problem is solved (I really have a little perception of time xD). Thanks anyways big_smile

Offline

Board footer

Powered by FluxBB