You are not logged in.

#1 2017-05-13 06:42:33

tusharpandey13
Member
Registered: 2017-05-06
Posts: 13

[RESOLVED] I don't have /etc/rc.d

Title explains it.
I have Arch x86_64, kernel 4.10.13-1, everything runs fine.

I want to install swat which requires xinetd which requires starting the daemon:

/etc/rc.d/xinetd start

but doing so:

tushar@tusharpc ~ $ sudo /etc/rc.d/xinetd start
sudo: /etc/rc.d/xinetd: command not found
tushar@tusharpc ~ $ ls /etc | grep rc.d

gives no output.

This is my /etc :

tushar@tusharpc /etc $ ls
NetworkManager     gnome-vfs-mime-magic  mdadm.conf        rpc
UPower             group                 mke2fs.conf       samba
X11                group-                mkinitcpio.conf   sane.d
adjtime            grub-customizer       mkinitcpio.d      sddm.conf
anacrontab         grub.d                modprobe.d        securetty
appstream.conf     gshadow               modules-load.d    security
arch-release       gshadow-              mono              sensors.d
asound.conf        gtk-2.0               motd              sensors3.conf
avahi              gtk-3.0               mplayer           services
bash.bash_logout   healthd.conf          mtab              shadow
bash.bashrc        host.conf             mysql             shadow-
bash_completion.d  hostname              nanorc            shells
binfmt.d           hosts                 netconfig         signon-ui
bluetooth          hosts.save            netctl            signond.conf
ca-certificates    ifplugd               nscd.conf         skel
cifs-utils         initcpio              nsswitch.conf     slp.conf
conf.d             inputrc               openldap          slp.reg
cron.d             iproute2              os-release        slp.spi
cron.daily         iptables              oss.conf          slsh.rc
cron.deny          issue                 pacman.conf       speech-dispatcher
cron.hourly        kernel                pacman.d          ssl
cron.monthly       krb5.conf             pam.d             sudoers
cron.weekly        ksysguarddrc          papersize         sudoers.d
crypttab           ld.so.cache           passwd            sysctl.d
dbus-1             ld.so.conf            passwd-           systemd
default            ld.so.conf.d          passwd.OLD        tmpfiles.d
depmod.d           libao.conf            pcmcia            ts.conf
dhcpcd.conf        libnl                 pkcs11            udev
dhcpcd.duid        libpaper.d            polkit-1          udisks2
dhcpcd.secret      lirc                  ppp               updatedb.conf
drirc              locale.conf           profile           vconsole.conf
environment        locale.gen            profile.d         vdpau_wrapper.cfg
ethertypes         localtime             protocols         vimrc
fonts              login.defs            pulse             wgetrc
fstab              logrotate.conf        rc_keymaps        wpa_supplicant
fuse.conf          logrotate.d           rc_maps.cfg       xdg
gai.conf           lvm                   request-key.conf  xinetd.conf
gconf              machine-id            request-key.d     xinetd.d
gdb                mail.rc               resolv.conf       xml
gemrc              makepkg.conf          resolv.conf.bak   zsh
geoclue            man_db.conf           resolvconf.conf

What to do?

Last edited by tusharpandey13 (2017-05-13 07:29:56)

Offline

#2 2017-05-13 06:44:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [RESOLVED] I don't have /etc/rc.d

xinetd ships with a service file.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-13 06:47:34

tusharpandey13
Member
Registered: 2017-05-06
Posts: 13

Re: [RESOLVED] I don't have /etc/rc.d

jasonwryan wrote:

xinetd ships with a service file.

I tried

systemctl [enable and start] xinetd

but it won't run.

Also,

tushar@tusharpc ~ $ which rc.d
rc.d not found

Last edited by tusharpandey13 (2017-05-13 06:53:45)

Offline

#4 2017-05-13 07:13:57

pekka
Member
Registered: 2011-07-21
Posts: 104

Re: [RESOLVED] I don't have /etc/rc.d

Me too
I don't have /etc/rc.d

Time flies

systemd is now default

Offline

#5 2017-05-13 07:15:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,891

Re: [RESOLVED] I don't have /etc/rc.d

How did you install archlinux and where did you get the /etc/rc.d idea from?
"won't run" is not an error message, what's the output of "pacman -Qi xorg-xinit"?

Did you read https://wiki.archlinux.org/index.php/Xinit ?

Offline

#6 2017-05-13 07:28:23

tusharpandey13
Member
Registered: 2017-05-06
Posts: 13

Re: [RESOLVED] I don't have /etc/rc.d

seth wrote:

How did you install archlinux and where did you get the /etc/rc.d idea from?
"won't run" is not an error message, what's the output of "pacman -Qi xorg-xinit"?

Did you read https://wiki.archlinux.org/index.php/Xinit ?

Archboot iso. I tried installing swat, it's installation guide said to use /etc/rc.d/xinetd start (read above)

tushar@tusharpc ~ $ pacman -Qi xorg-xinit
Name            : xorg-xinit
Version         : 1.3.4-4
Description     : X.Org initialisation program
Architecture    : x86_64
URL             : http://xorg.freedesktop.org/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : libx11  xorg-xauth  xorg-xrdb  xorg-xmodmap  inetutils
Optional Deps   : xorg-twm
                  xterm [installed]
Required By     : xfce4-session
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 77.00 KiB
Packager        : Andreas Radke <andyrtr@archlinux.org>
Build Date      : Fri 01 Apr 2016 04:22:55 PM UTC
Install Date    : Mon 08 May 2017 07:51:56 AM UTC
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Offline

#7 2017-05-13 08:10:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,891

Re: [RESOLVED] I don't have /etc/rc.d

swat was removed from samba about 3½ years ago, what are you doing and which "installation guide" are you following?

Offline

Board footer

Powered by FluxBB