You are not logged in.

#1 2012-10-09 08:56:50

eherranzr
Member
Registered: 2011-06-28
Posts: 112

[SOLVED] Problem rc.conf deprecated

Hi to everybody!

First of all, I have to say that I have read some post in this forum and I've read the rc.conf wiki page and I don't have anything clear
I upgraded my system yesterday, and when I boot, I receive somo error about the rc.conf being deprecated. I started to read about it and I realised that now, some files replace the rc.conf

Hostname: /etc/hostname or/and /etc/hosts
Console fonts and keymap: /etc/vconsole.conf
Locale: /etc/locale.conf or/and /etc/locale.gen
Timezone:	/etc/localtime
Hardware clock:	/etc/adjtime
Kernel modules:	/etc/modules-load.d/
Daemons:	/etc/rc.conf
Wired network:	/etc/rc.conf

Until here everything correct.
The problem comes when I have to configure the new files.
First of all, this is my rc.conf file:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="es_ES.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Madrid"
KEYMAP="es"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(vboxdrv)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="WORK_GROUP"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(vboxdrv syslog-ng dkms_autoinstaller !network !netfs dbus @wicd @alsa @crond preload openntpd rt5370sta)

Now, when I try to configure the other files I found the have this configuration already:
/etc/hosts

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1               localhost.localdomain   localhost WORK_GROUP

# End of file

/etc/vconsole.conf does not exist
/etc/locale.gen

## Configuration file for locale-gen
##
## lists of locales that are to be generated by the locale-gen command.
##
## Each line is of the form:
##
##     <locale> <charset>
##
##  where <locale> is one of the locales given in /usr/share/i18n/locales
##  and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
##
##  Examples:
##  en_US ISO-8859-1
##  en_US.UTF-8 UTF-8
##  de_DE ISO-8859-1
##  de_DE@euro ISO-8859-15
##
##  The locale-gen command will generate all the locales,
##  placing them in /usr/lib/locale.
##
##  A list of supported locales is included in this file.
##  Uncomment the ones you need.
##
## This file names the currently supported and somewhat tested locales.
## If you have any additions please file a glibc bug report.
# 
#aa_DJ.UTF-8 UTF-8  
#aa_DJ ISO-8859-1  
#aa_ER UTF-8  
#aa_ER@saaho UTF-8  
#aa_ET UTF-8  
#af_ZA.UTF-8 UTF-8  
#af_ZA ISO-8859-1  
#am_ET UTF-8  
#an_ES.UTF-8 UTF-8  
#an_ES ISO-8859-15  
#ar_AE.UTF-8 UTF-8  
#ar_AE ISO-8859-6  
#ar_BH.UTF-8 UTF-8  
#ar_BH ISO-8859-6  
#ar_DZ.UTF-8 UTF-8  
#ar_DZ ISO-8859-6  
#ar_EG.UTF-8 UTF-8  
#ar_EG ISO-8859-6  
#ar_IN UTF-8  
#ar_IQ.UTF-8 UTF-8  
#ar_IQ ISO-8859-6  
#ar_JO.UTF-8 UTF-8  
#ar_JO ISO-8859-6  
#ar_KW.UTF-8 UTF-8  
#ar_KW ISO-8859-6  
#ar_LB.UTF-8 UTF-8  
#ar_LB ISO-8859-6  
#ar_LY.UTF-8 UTF-8  
#ar_LY ISO-8859-6  
#ar_MA.UTF-8 UTF-8  
#ar_MA ISO-8859-6  
#ar_OM.UTF-8 UTF-8  
#ar_OM ISO-8859-6  
#ar_QA.UTF-8 UTF-8  
#ar_QA ISO-8859-6  
#ar_SA.UTF-8 UTF-8  
#ar_SA ISO-8859-6  
#ar_SD.UTF-8 UTF-8  
#ar_SD ISO-8859-6  
#ar_SY.UTF-8 UTF-8  
#ar_SY ISO-8859-6  
#ar_TN.UTF-8 UTF-8  
#ar_TN ISO-8859-6  
#ar_YE.UTF-8 UTF-8  
#ar_YE ISO-8859-6  
#az_AZ.UTF-8 UTF-8  
#as_IN.UTF-8 UTF-8  
#ast_ES.UTF-8 UTF-8  
#ast_ES ISO-8859-15  
#be_BY.UTF-8 UTF-8  
#be_BY CP1251  
#be_BY@latin UTF-8  
#ber_DZ UTF-8  
#ber_MA UTF-8  
#bg_BG.UTF-8 UTF-8  
#bg_BG CP1251  
#bn_BD UTF-8  
#bn_IN UTF-8  
#bo_CN UTF-8  
#bo_IN UTF-8  
#br_FR.UTF-8 UTF-8  
#br_FR ISO-8859-1  
#br_FR@euro ISO-8859-15  
#bs_BA.UTF-8 UTF-8  
#bs_BA ISO-8859-2  
#byn_ER UTF-8  
#ca_AD.UTF-8 UTF-8  
#ca_AD ISO-8859-15  
#ca_ES.UTF-8 UTF-8  
#ca_ES ISO-8859-1  
#ca_ES@euro ISO-8859-15  
#ca_FR.UTF-8 UTF-8  
#ca_FR ISO-8859-15  
#ca_IT.UTF-8 UTF-8  
#ca_IT ISO-8859-15  
#crh_UA UTF-8  
#cs_CZ.UTF-8 UTF-8  
#cs_CZ ISO-8859-2  
#csb_PL UTF-8  
#cy_GB.UTF-8 UTF-8  
#cy_GB ISO-8859-14  
#da_DK.UTF-8 UTF-8  
#da_DK ISO-8859-1  
#de_AT.UTF-8 UTF-8  
#de_AT ISO-8859-1  
#de_AT@euro ISO-8859-15  
#de_BE.UTF-8 UTF-8  
#de_BE ISO-8859-1  
#de_BE@euro ISO-8859-15  
#de_CH.UTF-8 UTF-8  
#de_CH ISO-8859-1  
#de_DE.UTF-8 UTF-8  
#de_DE ISO-8859-1  
#de_DE@euro ISO-8859-15  
#de_LU.UTF-8 UTF-8  
#de_LU ISO-8859-1  
#de_LU@euro ISO-8859-15  
#dv_MV UTF-8  
#dz_BT UTF-8  
#el_GR.UTF-8 UTF-8  
#el_GR ISO-8859-7  
#el_CY.UTF-8 UTF-8  
#el_CY ISO-8859-7  
#en_AG UTF-8  
#en_AU.UTF-8 UTF-8  
#en_AU ISO-8859-1  
#en_BW.UTF-8 UTF-8  
#en_BW ISO-8859-1  
#en_CA.UTF-8 UTF-8  
#en_CA ISO-8859-1  
#en_DK.UTF-8 UTF-8  
#en_DK ISO-8859-1  
#en_GB.UTF-8 UTF-8  
#en_GB ISO-8859-1  
#en_HK.UTF-8 UTF-8  
#en_HK ISO-8859-1  
#en_IE.UTF-8 UTF-8  
#en_IE ISO-8859-1  
#en_IE@euro ISO-8859-15  
#en_IN UTF-8  
#en_NG UTF-8  
#en_NZ.UTF-8 UTF-8  
#en_NZ ISO-8859-1  
#en_PH.UTF-8 UTF-8  
#en_PH ISO-8859-1  
#en_SG.UTF-8 UTF-8  
#en_SG ISO-8859-1  
#en_US.UTF-8 UTF-8  
#en_US ISO-8859-1  
#en_ZA.UTF-8 UTF-8  
#en_ZA ISO-8859-1  
#en_ZW.UTF-8 UTF-8  
#en_ZW ISO-8859-1  
#es_AR.UTF-8 UTF-8  
#es_AR ISO-8859-1  
#es_BO.UTF-8 UTF-8  
#es_BO ISO-8859-1  
#es_CL.UTF-8 UTF-8  
#es_CL ISO-8859-1  
#es_CO.UTF-8 UTF-8  
#es_CO ISO-8859-1  
#es_CR.UTF-8 UTF-8  
#es_CR ISO-8859-1  
#es_DO.UTF-8 UTF-8  
#es_DO ISO-8859-1  
#es_EC.UTF-8 UTF-8  
#es_EC ISO-8859-1  
es_ES.UTF-8 UTF-8  
es_ES ISO-8859-1  
es_ES@euro ISO-8859-15  
#es_GT.UTF-8 UTF-8  
#es_GT ISO-8859-1  
#es_HN.UTF-8 UTF-8  
#es_HN ISO-8859-1  
#es_MX.UTF-8 UTF-8  
#es_MX ISO-8859-1  
#es_NI.UTF-8 UTF-8  
#es_NI ISO-8859-1  
#es_PA.UTF-8 UTF-8  
#es_PA ISO-8859-1  
#es_PE.UTF-8 UTF-8  
#es_PE ISO-8859-1  
#es_PR.UTF-8 UTF-8  
#es_PR ISO-8859-1  
#es_PY.UTF-8 UTF-8  
#es_PY ISO-8859-1  
#es_SV.UTF-8 UTF-8  
#es_SV ISO-8859-1  
#es_US.UTF-8 UTF-8  
#es_US ISO-8859-1  
#es_UY.UTF-8 UTF-8  
#es_UY ISO-8859-1  
#es_VE.UTF-8 UTF-8  
#es_VE ISO-8859-1  
#et_EE.UTF-8 UTF-8  
#et_EE ISO-8859-1  
#et_EE.ISO-8859-15 ISO-8859-15  
#eu_ES.UTF-8 UTF-8  
#eu_ES ISO-8859-1  
#eu_ES@euro ISO-8859-15  
#fa_IR UTF-8  
#fi_FI.UTF-8 UTF-8  
#fi_FI ISO-8859-1  
#fi_FI@euro ISO-8859-15  
#fil_PH UTF-8  
#fo_FO.UTF-8 UTF-8  
#fo_FO ISO-8859-1  
#fr_BE.UTF-8 UTF-8  
#fr_BE ISO-8859-1  
#fr_BE@euro ISO-8859-15  
#fr_CA.UTF-8 UTF-8  
#fr_CA ISO-8859-1  
#fr_CH.UTF-8 UTF-8  
#fr_CH ISO-8859-1  
#fr_FR.UTF-8 UTF-8  
#fr_FR ISO-8859-1  
#fr_FR@euro ISO-8859-15  
#fr_LU.UTF-8 UTF-8  
#fr_LU ISO-8859-1  
#fr_LU@euro ISO-8859-15  
#fur_IT UTF-8  
#fy_NL UTF-8  
#fy_DE UTF-8  
#ga_IE.UTF-8 UTF-8  
#ga_IE ISO-8859-1  
#ga_IE@euro ISO-8859-15  
#gd_GB.UTF-8 UTF-8  
#gd_GB ISO-8859-15  
#gez_ER UTF-8  
#gez_ER@abegede UTF-8  
#gez_ET UTF-8  
#gez_ET@abegede UTF-8  
#gl_ES.UTF-8 UTF-8  
#gl_ES ISO-8859-1  
#gl_ES@euro ISO-8859-15  
#gu_IN UTF-8  
#gv_GB.UTF-8 UTF-8  
#gv_GB ISO-8859-1  
#ha_NG UTF-8  
#he_IL.UTF-8 UTF-8  
#he_IL ISO-8859-8  
#hi_IN UTF-8  
#hne_IN UTF-8  
#hr_HR.UTF-8 UTF-8  
#hr_HR ISO-8859-2  
#hsb_DE ISO-8859-2  
#hsb_DE.UTF-8 UTF-8  
#ht_HT UTF-8  
#hu_HU.UTF-8 UTF-8  
#hu_HU ISO-8859-2  
#hy_AM UTF-8  
#hy_AM.ARMSCII-8 ARMSCII-8  
#id_ID.UTF-8 UTF-8  
#id_ID ISO-8859-1  
#ig_NG UTF-8  
#ik_CA UTF-8  
#is_IS.UTF-8 UTF-8  
#is_IS ISO-8859-1  
#it_CH.UTF-8 UTF-8  
#it_CH ISO-8859-1  
#it_IT.UTF-8 UTF-8  
#it_IT ISO-8859-1  
#it_IT@euro ISO-8859-15  
#iu_CA UTF-8  
#iw_IL.UTF-8 UTF-8  
#iw_IL ISO-8859-8  
#ja_JP.EUC-JP EUC-JP  
#ja_JP.UTF-8 UTF-8  
#ka_GE.UTF-8 UTF-8  
#ka_GE GEORGIAN-PS  
#kk_KZ.UTF-8 UTF-8  
#kk_KZ PT154  
#kl_GL.UTF-8 UTF-8  
#kl_GL ISO-8859-1  
#km_KH UTF-8  
#kn_IN UTF-8  
#ko_KR.EUC-KR EUC-KR  
#ko_KR.UTF-8 UTF-8  
#ks_IN UTF-8  
#ks_IN@devanagari UTF-8  
#ku_TR.UTF-8 UTF-8  
#ku_TR ISO-8859-9  
#kw_GB.UTF-8 UTF-8  
#kw_GB ISO-8859-1  
#ky_KG UTF-8  
#lg_UG.UTF-8 UTF-8  
#lg_UG ISO-8859-10  
#li_BE UTF-8  
#li_NL UTF-8  
#lo_LA UTF-8  
#lt_LT.UTF-8 UTF-8  
#lt_LT ISO-8859-13  
#lv_LV.UTF-8 UTF-8  
#lv_LV ISO-8859-13  
#mai_IN UTF-8  
#mg_MG.UTF-8 UTF-8  
#mg_MG ISO-8859-15  
#mi_NZ.UTF-8 UTF-8  
#mi_NZ ISO-8859-13  
#mk_MK.UTF-8 UTF-8  
#mk_MK ISO-8859-5  
#ml_IN UTF-8  
#mn_MN UTF-8  
#mr_IN UTF-8  
#ms_MY.UTF-8 UTF-8  
#ms_MY ISO-8859-1  
#mt_MT.UTF-8 UTF-8  
#mt_MT ISO-8859-3  
#my_MM UTF-8  
#nan_TW@latin UTF-8  
#nb_NO.UTF-8 UTF-8  
#nb_NO ISO-8859-1  
#nds_DE UTF-8  
#nds_NL UTF-8  
#ne_NP UTF-8  
#nl_AW UTF-8  
#nl_BE.UTF-8 UTF-8  
#nl_BE ISO-8859-1  
#nl_BE@euro ISO-8859-15  
#nl_NL.UTF-8 UTF-8  
#nl_NL ISO-8859-1  
#nl_NL@euro ISO-8859-15  
#nn_NO.UTF-8 UTF-8  
#nn_NO ISO-8859-1  
#nr_ZA UTF-8  
#nso_ZA UTF-8  
#oc_FR.UTF-8 UTF-8  
#oc_FR ISO-8859-1  
#om_ET UTF-8  
#om_KE.UTF-8 UTF-8  
#om_KE ISO-8859-1  
#or_IN UTF-8  
#pa_IN UTF-8  
#pa_PK UTF-8  
#pap_AN UTF-8  
#pl_PL.UTF-8 UTF-8  
#pl_PL ISO-8859-2  
#ps_AF UTF-8  
#pt_BR.UTF-8 UTF-8  
#pt_BR ISO-8859-1  
#pt_PT.UTF-8 UTF-8  
#pt_PT ISO-8859-1  
#pt_PT@euro ISO-8859-15  
#ro_RO.UTF-8 UTF-8  
#ro_RO ISO-8859-2  
#ru_RU.KOI8-R KOI8-R  
#ru_RU.UTF-8 UTF-8  
#ru_RU ISO-8859-5  
#ru_UA.UTF-8 UTF-8  
#ru_UA KOI8-U  
#rw_RW UTF-8  
#sa_IN UTF-8  
#sc_IT UTF-8  
#sd_IN UTF-8  
#sd_IN@devanagari UTF-8  
#se_NO UTF-8  
#shs_CA UTF-8  
#si_LK UTF-8  
#sid_ET UTF-8  
#sk_SK.UTF-8 UTF-8  
#sk_SK ISO-8859-2  
#sl_SI.UTF-8 UTF-8  
#sl_SI ISO-8859-2  
#so_DJ.UTF-8 UTF-8  
#so_DJ ISO-8859-1  
#so_ET UTF-8  
#so_KE.UTF-8 UTF-8  
#so_KE ISO-8859-1  
#so_SO.UTF-8 UTF-8  
#so_SO ISO-8859-1  
#sq_AL.UTF-8 UTF-8  
#sq_AL ISO-8859-1  
#sr_ME UTF-8  
#sr_RS UTF-8  
#sr_RS@latin UTF-8  
#ss_ZA UTF-8  
#st_ZA.UTF-8 UTF-8  
#st_ZA ISO-8859-1  
#sv_FI.UTF-8 UTF-8  
#sv_FI ISO-8859-1  
#sv_FI@euro ISO-8859-15  
#sv_SE.UTF-8 UTF-8  
#sv_SE ISO-8859-1  
#ta_IN UTF-8  
#te_IN UTF-8  
#tg_TJ.UTF-8 UTF-8  
#tg_TJ KOI8-T  
#th_TH.UTF-8 UTF-8  
#th_TH TIS-620  
#ti_ER UTF-8  
#ti_ET UTF-8  
#tig_ER UTF-8  
#tk_TM UTF-8  
#tl_PH.UTF-8 UTF-8  
#tl_PH ISO-8859-1  
#tn_ZA UTF-8  
#tr_CY.UTF-8 UTF-8  
#tr_CY ISO-8859-9  
#tr_TR.UTF-8 UTF-8  
#tr_TR ISO-8859-9  
#ts_ZA UTF-8  
#tt_RU.UTF-8 UTF-8  
#tt_RU@iqtelif.UTF-8 UTF-8  
#ug_CN UTF-8  
#uk_UA.UTF-8 UTF-8  
#uk_UA KOI8-U  
#ur_PK UTF-8  
#uz_UZ ISO-8859-1  
#uz_UZ@cyrillic UTF-8  
#ve_ZA UTF-8  
#vi_VN.TCVN TCVN5712-1  
#vi_VN UTF-8  
#wa_BE ISO-8859-1  
#wa_BE@euro ISO-8859-15  
#wa_BE.UTF-8 UTF-8  
#wo_SN UTF-8  
#xh_ZA.UTF-8 UTF-8  
#xh_ZA ISO-8859-1  
#yi_US.UTF-8 UTF-8  
#yi_US CP1255  
#yo_NG UTF-8  
#zh_CN.GB18030 GB18030  
#zh_CN.GBK GBK  
#zh_CN.UTF-8 UTF-8  
#zh_CN GB2312  
#zh_HK.UTF-8 UTF-8  
#zh_HK BIG5-HKSCS  
#zh_SG.UTF-8 UTF-8  
#zh_SG.GBK GBK  
#zh_SG GB2312  
#zh_TW.EUC-TW EUC-TW  
#zh_TW.UTF-8 UTF-8  
#zh_TW BIG5  
#zu_ZA.UTF-8 UTF-8  
#zu_ZA ISO-8859-1

/etc/localtime
I've done

ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime

And this is what the file contains

TZipp*p^pp_ɧ#Opkp"prpPp¨pXN9p80:!Mp`̖`K`΢▒ϣ-`Ѝp`p`AF
tp
   
9`lt▒pd'T▒MD3#ܐ͐▒㯐Ӡ▒Ñ| lr!\c"LT#<E$,6%'&
                                                                  ▒'C'4(%)*+,-ڐ.ː/t0d1]2r3=4R562x688a9v:C;X<_=:>A?@f#A9BFCd
                                                            %ECFɐG#GIIJKL̿MNOnnPQWRleS7lTLGUNV,)V0XFXY(Z[
\]^_`_a}b?c]̐de=gg藐hriyjTk[lqm=nSohp5qQ<rfs1tEuv/vxxyِz{λ|}~y       WESTWETWEMTCESTCETTZif2                      ~6tpp*p^pp_ɧ#Opkp"prpPp¨pXN9p80:!Mp`̖`K`΢▒ϣ-`Ѝ`у``pb`AFp  `
tp
   
9`lt▒pd'T▒MD3#ܐ͐▒㯐Ӡ▒Ñ| lr!\c"LT#<E$,6%'&
                                                                  ▒'C'4(%)*+,-ڐ.ː/t0d1]2r3=4R562x688a9v:C;X<_=:>A?@f#A9BFCd
                                                            %ECFɐG#GIIJKL̿MNOnnPQWRleS7lTLGUNV,)V0XFXY(Z[
\]^_`_a}b?c]̐de=gg藐hriyjTk[lqm=nSohp5qQ<rfs1tEuv/vxxyِz{λ|}~y  LMTWESTWETWEMTCESTCET
CET-1CEST,M3.5.0,M10.5.0/3

/etc/adjtime

-1.942138 1304429280 0.000000
1304372906
LOCAL

/etc/modules-load.d/   
I's empty

The problem is, although I've read the wiki and the man pages I do not understand what to do to have everything like I had it when the rc.conf wasn't deprecated

Could somebody help me please?
Thanks

Regards

Last edited by eherranzr (2012-10-09 18:40:27)

Offline

#2 2012-10-09 09:08:10

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Problem rc.conf deprecated

eherranzr wrote:
TZipp*p^pp_ɧ#Opkp"prpPp¨pXN9p80:!Mp`̖`K`΢▒ϣ-`Ѝp`p`AF
tp
   
9`lt▒pd'T▒MD3#ܐ͐▒㯐Ӡ▒Ñ| lr!\c"LT#<E$,6%'&
                                                                  ▒'C'4(%)*+,-ڐ.ː/t0d1]2r3=4R562x688a9v:C;X<_=:>A?@f#A9BFCd
                                                            %ECFɐG#GIIJKL̿MNOnnPQWRleS7lTLGUNV,)V0XFXY(Z[
\]^_`_a}b?c]̐de=gg藐hriyjTk[lqm=nSohp5qQ<rfs1tEuv/vxxyِz{λ|}~y       WESTWETWEMTCESTCETTZif2                      ~6tpp*p^pp_ɧ#Opkp"prpPp¨pXN9p80:!Mp`̖`K`΢▒ϣ-`Ѝ`у``pb`AFp  `
tp
   
9`lt▒pd'T▒MD3#ܐ͐▒㯐Ӡ▒Ñ| lr!\c"LT#<E$,6%'&
                                                                  ▒'C'4(%)*+,-ڐ.ː/t0d1]2r3=4R562x688a9v:C;X<_=:>A?@f#A9BFCd
                                                            %ECFɐG#GIIJKL̿MNOnnPQWRleS7lTLGUNV,)V0XFXY(Z[
\]^_`_a}b?c]̐de=gg藐hriyjTk[lqm=nSohp5qQ<rfs1tEuv/vxxyِz{λ|}~y  LMTWESTWETWEMTCESTCET
CET-1CEST,M3.5.0,M10.5.0/3

The problem is, although I've read the wiki and the man pages I do not understand what to do to have everything like I had it when the rc.conf wasn't deprecated

Could somebody help me please?
Thanks

Regards

LOL it is a binary file you don't need to "cat" it.
rc.conf is not deprecated, you may still use it, it will eventually move to [extra] and those file changes are necessary if you are migrating to systemd. Are you getting any error or something ?

EDIT: as long as it is working fine, you don't need to worry about it.

Last edited by illusionist (2012-10-09 09:39:34)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-10-09 09:27:51

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Problem rc.conf deprecated

Now I realise that file was a bit weird LOL
Well, here's my boot log:

Tue Oct  9 10:56:23 2012: :: Setting hostname: WORK_GROUP    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012:  HARDWARECLOCK= is deprecated. See rc.conf(5) and hwclock(8) for details. 
Tue Oct  9 10:56:23 2012: :: Adjusting system time and setting kernel time zone    [BUSY]  TIMEZONE= is deprecated. See rc.conf(5) for details. 
Tue Oct  9 10:56:23 2012:    [DONE] 
Tue Oct  9 10:56:23 2012: :: Starting udev daemon    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Triggering udev uevents    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Loading user-specified modules    [BUSY]  MODULES= is deprecated. See rc.conf(5) and modules-load.d(5) for details. 
Tue Oct  9 10:56:23 2012: [e4rat-preload] Successfully transferred files into page cache
Tue Oct  9 10:56:23 2012:    [DONE] 
Tue Oct  9 10:56:23 2012: :: Waiting for udev uevents to be processed    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Configuring virtual consoles    [BUSY] %G   [DONE] 
Tue Oct  9 10:56:23 2012: :: Bringing up loopback interface    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Checking filesystems    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Remounting root and API filesystems    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Mounting local filesystems    [BUSY] ntfs-3g: Failed to access volume '/dev/sdc1': No existe el fichero o el directorio
Tue Oct  9 10:56:23 2012: 
Tue Oct  9 10:56:23 2012: ntfs-3g 2012.1.15 external FUSE 29 - Third Generation NTFS Driver
Tue Oct  9 10:56:23 2012:               Configuration type 7, XATTRS are on, POSIX ACLS are on
Tue Oct  9 10:56:23 2012: 
Tue Oct  9 10:56:23 2012: Copyright (C) 2005-2007 Yura Pakhuchiy
Tue Oct  9 10:56:23 2012: Copyright (C) 2006-2009 Szabolcs Szakacsits
Tue Oct  9 10:56:23 2012: Copyright (C) 2007-2011 Jean-Pierre Andre
Tue Oct  9 10:56:23 2012: Copyright (C) 2009 Erik Larsson
Tue Oct  9 10:56:23 2012: 
Tue Oct  9 10:56:23 2012: Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Tue Oct  9 10:56:23 2012: 
Tue Oct  9 10:56:23 2012: Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
Tue Oct  9 10:56:23 2012:           umask=, fmask=, dmask=, streams_interface=.
Tue Oct  9 10:56:23 2012:           Please see the details in the manual (type: man ntfs-3g).
Tue Oct  9 10:56:23 2012: 
Tue Oct  9 10:56:23 2012: Example: ntfs-3g /dev/sda1 /mnt/windows
Tue Oct  9 10:56:23 2012: 
Tue Oct  9 10:56:23 2012: News, support and information:  http://tuxera.com
Tue Oct  9 10:56:23 2012:    [DONE] 
Tue Oct  9 10:56:23 2012: :: Activating swap    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Configuring time zone    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Initializing random seed    [BUSY]    [DONE] 
Tue Oct  9 10:56:23 2012: :: Removing leftover files    [BUSY]    [DONE] 
Tue Oct  9 10:56:24 2012: :: Saving dmesg log    [BUSY]    [DONE] 
Tue Oct  9 10:56:24 2012: INIT: Entering runlevel: 5
Tue Oct  9 10:56:24 2012: :: Starting Syslog-NG    [BUSY]    [DONE] 
Tue Oct  9 10:56:24 2012: :: Starting D-BUS system messagebus    [BUSY]    [DONE] 
Tue Oct  9 10:56:24 2012: :: Starting wicd    [BKGD] 
Tue Oct  9 10:56:24 2012: :: Starting alsa    [BKGD] 
Tue Oct  9 10:56:24 2012: :: Starting crond    [BKGD] 
Tue Oct  9 10:56:24 2012: Found hardware: "HDA-Intel" "VIA VT1708S" "HDA:11060397,104383d6,00100000" "0x1043" "0x83d6"
Tue Oct  9 10:56:24 2012: Hardware is initialized using a generic method
Tue Oct  9 10:56:24 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #1 (No such file or directory)
Tue Oct  9 10:56:24 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #2 (No such file or directory)
Tue Oct  9 10:56:24 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #7 (No such file or directory)
Tue Oct  9 10:56:24 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #8 (No such file or directory)
Tue Oct  9 10:56:24 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #21 (No such file or directory)
Tue Oct  9 10:56:24 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #22 (No such file or directory)
Tue Oct  9 10:56:24 2012: :: Starting preload daemon:     [BUSY]    [DONE] 
Tue Oct  9 10:56:24 2012: :: Starting OpenNTPD    [BUSY]    [DONE] 
Tue Oct  9 10:56:39 2012: Error resolving pool.ntp.org: Name or service not known (-2)
Tue Oct  9 10:56:39 2012:  9 Oct 10:56:39 ntpdate[1002]: Can't find host pool.ntp.org: Name or service not known (-2)
Tue Oct  9 10:56:39 2012:  9 Oct 10:56:39 ntpdate[1002]: no servers can be used, exiting
Tue Oct  9 10:56:39 2012: /etc/rc.local: línea 6: service: no se encontró la orde

As you can see there are some errors like MODULES= is deprecated. See rc.conf(5) and modules-load.d(5) for details.
That's why I don't know if it is working well or if the other files do not have the same configuration as the rc.conf and it's booting something different

Offline

#4 2012-10-09 09:45:54

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Problem rc.conf deprecated

These are some variables that are deprecated but they do not affect the functionality and usability of the system . As I said earlier if your system is doing what you want; you are good to go.

EDIT: see 'this' news.

Last edited by illusionist (2012-10-09 09:49:02)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#5 2012-10-09 09:50:17

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

Re: [SOLVED] Problem rc.conf deprecated

You'll get a warning if your rc.conf contains anything except for DAEMONS=(...).

Things should still continue to work even if you do nothing, but it is strongly suggested you move to the new configuration format which is shared with systemd and most other distributions (so that's what is going to be found in documentation, at least in the long-run).

Each of the new configuration files come with man pages, so they should explain what you want. Some of them might need to be created if they do not exist.

To convert, in your case, I would comment out everything except for DAEMONS from rc.conf and do the following:

# echo "LANG=es_ES.UTF8" > /etc/locale.conf
# echo "KEYMAP=es" > /etc/vconsole.conf
# echo "vboxdrv" > /etc/modules-load.d/vbox.conf (but maybe this is already autoloaded? might be worth checking)
# echo "WORK_GROUP > /etc/hostname

The configuration of /etc/locale.gen and /etc/hosts should not have changed, so your locale.gen is correct but your hosts could cause issues. My suggestion to avoid problems is, rather than editing /etc/hosts with the right settings for your hostname, just install the package nss-myhostname and add 'myhostname' to the hosts entry in your /etc/nsswitch.conf, it should just do the right thing for you.

Last edited by tomegun (2012-10-09 09:50:51)

Offline

#6 2012-10-09 10:08:23

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Problem rc.conf deprecated

Okey, I've done the following

[root@WORK_GROUP emilio]# echo "LANG=es_ES.UTF8" > /etc/locale.conf
[root@WORK_GROUP emilio]# echo "KEYMAP=es" > /etc/vconsole.conf
[root@WORK_GROUP emilio]# echo "WORK_GROUP" > /etc/hostname
[root@WORK_GROUP emilio]# yaourt -S nss-myhostname
resolviendo dependencias...
verificando conflictos...

Objetivos (1): nss-myhostname-0.3-2

Tamaño de descarga:     0,01 MiB
Tamaño instalado:       0,03 MiB

¿Continuar con la instalación? [S/n] s
:: Descargando paquetes desde extra...
 nss-myhostname-0.3-2-x86_64              7,7 KiB   260K/s 00:00 [------------------------------------] 100%
(1/1) verificando la integridad de los paquetes                  [------------------------------------] 100%
(1/1) cargando los archivos del paquete...                       [------------------------------------] 100%
(1/1) verificando conflictos entre archivos                      [------------------------------------] 100%
(1/1) verificando el espacio disponible en disco                 [------------------------------------] 100%
(1/1) instalando nss-myhostname                                  [------------------------------------] 100%
==> To enable resolution of the local hostname, append 'myhostname' to the hosts
    line in /etc/nsswitch.conf.
[root@WORK_GROUP emilio]# nano /etc/nsswitch.conf

And this file contains the following:

# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files dns myhostname
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

# End /etc/nsswitch.conf

If I have understand what you have said correctly, what I have to do know is, comment all the lines in the rc.conf except the DAEMONS=(...) one.
I should also check if vboxdrv is autoloaded and if not I have to do

# echo "vboxdrv" > /etc/modules-load.d/vbox.conf

Is it correct? How do I check if vboxdrv is autoloaded?

Thanks tomegun and illusionist

Regards

Offline

#7 2012-10-09 10:18:09

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Problem rc.conf deprecated

try

$ cat /proc/modules | grep vboxdrv

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#8 2012-10-09 10:32:54

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Problem rc.conf deprecated

illusionist wrote:

try

$ cat /proc/modules | grep vboxdrv

This is the output of the command

vboxdrv 1824781 0 - Live 0xffffffffa05b9000 (O)

Offline

#9 2012-10-09 11:54:03

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 3,502
Website

Re: [SOLVED] Problem rc.conf deprecated

I just finished doing the same thing on my computer! smile After I fixed the deprecated rc.conf warnings my computer runs a lot better, especially Firefox.

In my opinion, the easiest documentation is "man archlinux". It has a list of simple steps describing how to configure Arch Linux. And if a configuration file doen't exist, just create it.

Now my rc.conf file is almost empty (like it should be), and I'm all ready to upgrade to systemd.

Yes, you successfully loaded vboxdrv. Also, you can just try starting VirtualBox. It will complain if the driver isn't loaded. wink

Good luck!

Offline

#10 2012-10-09 15:46:14

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Problem rc.conf deprecated

Thanks, I've done everything you told and it seems to be correct now.
But now there's another problem, when I try to execute chromium-dev I receive the following output:

/usr/lib/chromium-dev/chromium: error while loading shared libraries: libv8.so: cannot open shared object file: No such file or directory

And if I try to upgrade

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
 bereflected : Orphan         
 focusbooster : Orphan        
 fortune-mod-es : Orphan      
 kcometen4 : Orphan           
 neverball-svn : Orphan       
 ogre-pagedgeometry : Orphan  
 pomodairo : Orphan           
 smplayer-themes-svn : Orphan  
 Foreign packages: | 148 / 148

==> Package upgrade only (new release):
core/iputils               20101006-4     4 -> 7
core/libltdl               2.4.2-6        6 -> 7
core/libtool               2.4.2-6        6 -> 7
multilib/lib32-libltdl     2.4.2-6        6 -> 7
aur/moodbar                0.1.2-7        7 -> 8
aur/rar                    4.2.0-3        3 -> 4

==> Software upgrade (new version) :
core/linux-api-headers     3.5.1-1        -> 3.5.5-1
extra/chromium             22.0.1229.79-2 -> 22.0.1229.92-1
multilib/lib32-gcc-libs    4.7.1-6        -> 4.7.2-1
multilib/gcc-libs-multilib 4.7.1-6        -> 4.7.2-1
multilib/gcc-multilib      4.7.1-6        -> 4.7.2-1
aur/fontconfig-ubuntu      2.8.0-10       -> 2.10.1-3
aur/google-chrome-dev      23.0.1262.0-1  -> 24.0.1284.2-1
aur/skanlite               0.8-2          -> 0.9-1

==> Continue upgrade ? [Y/n]
==> [V]iew package detail   [M]anually select packages
==> --------------------------------------------------
==> y
:: Starting full system upgrade...
resolving dependencies...
warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
looking for inter-conflicts...

Targets (9): chromium-22.0.1229.92-1  gcc-libs-multilib-4.7.2-1  gcc-multilib-4.7.2-1  iputils-20101006-7
             lib32-gcc-libs-4.7.2-1  lib32-libltdl-2.4.2-7  libltdl-2.4.2-7  libtool-2.4.2-7
             linux-api-headers-3.5.5-1

Total Installed Size:   195,77 MiB
Net Upgrade Size:       -1,66 MiB

Proceed with installation? [Y/n] y
(9/9) checking package integrity                                 [------------------------------------] 100%
error: linux-api-headers: signature from "Allan McRae <me@allanmcrae.com>" is invalid
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Thanks
Regards

Offline

#11 2012-10-09 16:12:37

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 459
Website

Re: [SOLVED] Problem rc.conf deprecated

I would mark this one as solved and open a new post with your new problem, as it isn't related, I'm pretty sure.


My tech blog: Daemon Dancing in the Dark
My Arch Linux blog: ArChatter

Offline

Board footer

Powered by FluxBB