Debian Configuration :: Services That Can Be Safely Disabled With Systemctl
Jul 22, 2015
Have been working most of the day on this usb full install (Jesiie xfce) trying to make it leaner/faster and trying to get rid of minor annoyances like "watchdog: watchdog0 is not shutting down" (couldn't btw), finally managed to disable "You have mail" by commenting out "session optional pam_ mail.so standard" in /etc/pam.d/login. Every little change registers in terms of seconds of boot time saved and how the system responds because, well, i'm booting from a usb 2 drive.Followed some suggestions from "Reduce Debian", removed cups-common, some foreign language locales and man pages. what i can safely do with systemctl.
I'm trying to find the systemctl equivalent of "chkconfig --list".$ systemctl -t service -alooks like the command, but it does not return any line about the ntp service. It does exist because I get this:
$ systemctl status ntpd.service ntpd.service - Network Time Service Loaded: loaded (/lib/systemd/system/ntpd.service)
I am building CentOs servers on a regular basis.The last one was to be barebones with services. I wasn't sure which ones to turn off in "Setup".I Googled My dilemma and got conflicting info (Imagine that!) The customer complained of too many things running.
I'm not sure if this is a bug in Squeeze beta 2 or if it's something I've overlooked. I have a Maxtor 250 GB external USB drive that I use for backups. It gets auto-mounted fine, always in the same place, and from my normal user account I can write to it, even delete directories on it if I want to. But when, from Gnome, I select the "Safely remove" option, I get an error to the effect that it can't stop the device. The weird thing is that the thing actually *is* unmounted. I've checked the mount point and it's no longer there.Is there some package I maybe should've installed but haven't? I'm not really worried about data loss, since I'm sure the drive wouldn't unmount unless it was properly synched; it's just the error message that bugs me.
I have a few computers running linux and windows and I like to be able to telnet and to ftp but these services are not active I look into system settings but I can not find anything on were to start them.I already try using ssh but it just hangs and nothing happened also I tried to use the graphical app for ftp but same result host not reachable.
I'm running debian unstable and since there was the switch to dependency based boot I can no longer control my boot services.I used to suppress the services that I use rarely during boot with: sudo update-rc.d -f myservice remove This arranged the links in /etc/rc?.d and everything worked.
Now this command only says: update-rc.d: using dependency based boot sequencing.This seems to work until I upgrade the service to a new version and it is enabled again.Do you have any idea of how to disable boot services permanently with the new system?
I'm trying to control access to different services on an Debian server using /etc/group. So that a user I create for FTP usage doesn't fill up my server with IMAP folders or samba garbage.
Services like proftpd have:
AllowGroup ftpgroup
sshd have
AllowGroups sshgroup
And samba have
valid users = @smbgroup
But I can't find the correct option in Dovecot (/etc/dovecot/dovecot.conf) Do anyone have the magic option or a workaround thats doesn't envolve maintaining seperate user databases and password?
Debian 2.6.32 Squeeze + GnomeI try to start System | Administration | Services and I get an error:The configuration could not be loadedAn unknown error occurredI turned on a whole bunch of different services and suddenly now I can't get back in to switch any of these on or off. I'm assuming there is some manual way of switching these off again, I just don't know where to do this.
is there a Debian way possibility to start services depending on the choice made on the (grub) boot prompt? As an example:
Workstation - starts all and everything but no hostap nor xend (run this at home) Workstation traveller - starts like Worksation except networking (run this in the pub Xen host - run this preparing some training courses Xen host HOSTAP - run this having the training course with a WiFi net for the class
I came from Gentoo recently and there is such a possibility. It is relatively simple to put a kernel option which the kernel does not recognize at the boot prompt. Such not recognized options will be sent through to init (and thus to the SysV init scripts) by the kernel and I could script this. What I am looking for is a the "official" way on Debian to do such things.
I'm trying to lower consumption of my server/HTPC. After wakeup from pm-suspend server/HTPC is ready to use in 1 or 2 seconds .For example if I suspend it while watching movie in KODI, after resume movie starts playing instantly. But some services (SSH and SAMBA) are not running. I thought it was network problem so I change configuration to static (not DHCP). SAMBA and SSH starts like 15 seconds after wakeup.
I've installed SalixOS LXDE and thought it was the best thing but... After I disabled almost all services except syslog, dbus, and hald while inside lxde desktop. I rebooted and my mouse and keyboard no longer worked. So then I booted my Slackware install and edited /etc/inittab on the salix partition so I could boot into init 3 (I kinda like init 3 more than 4 anyway). Booted back into salix and keyboard seems to work but gpm doesn't... Gpm can't find any mouse so I do an lsmod and there's only about 4 modules loaded? Crap... So I dig around /etc/rc.d folder and I think it's got to do with me disabling the udev services when everything was fine after a fresh install...
I ran the init script for udev but it does nothing... I also ran pkgtool and went to setup, selected services and hit enter but it jumps back to the main menu?! I don't know if that's a glitch or what but it won't even let me pick the services with pkgtool... So what can I do to change everything back to their default value? I only booted once into my new salix install, changed services, rebooted, and then problems... I really loved the way everything was working on my first boot. Salix is one of those distro's that really gave me a happy feeling with linux so I'd really hate to stop using it over this one wrong thing I did...
I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
It was working until a recent update. I have the icon in my system tray. Networkmanager is running. I have tried to reboot the computer and restart the network manager. All switches that could turn the network off is on. Every time I click on the icon in the system tray it tell me the networkmanager is disabled.
Using Squeeze, I wanted to get KMS + DRI2 and suspend/hibernate working with my radeon card using the Open source driver (my card: ATI Radeon Xpress 200M IGP (5955) PCIE (RC410) is no longer supported by the ATI/AMD proprietary driver). I know my card has problems with suspend/hibernate in User modesetting and from what I've read [URL] it has been solved for some only using KMS.
I followed this instructions by the Debian maintainer:[URL] Of course in reality the available version in experimental is now 6.12.191, and mesa 7.7 and libdrm-radeon1 are already in testing. Therefore I only had to get xserver-xorg-video-radeon from experimental and switch KMS on. It worked ok , except that when I tried to hibernate, it didn't even go into hibernate mode!...the screen went blank and the wireless led shut off, but the fan was running and the keyboard lights were on...
Aside from that I also got the following disquieting messages:
[drm:rs400_gart_adjust_size] *ERROR* Forcing to 32M GART size (because of ASIC bug ?) radeon 0000:01:05.0: Wait MC idle timeout before updating MC Failed to wait MC idle while programming pipes. Bad things might happen.
I'm trying to avoid having to migrate my machine to Fedora: it's either learn to clone some existing Puppet manifests from Fedora to Ubuntu, or move back to Fedora. I'm running into several problems, including parsing errors for rules that work for Fedora and fail for Ubuntu, presumably because the version of libaugeas-ruby is older for Ubuntu (0.3.0) than Fedora (0.4.0). For Ubuntu, these rules fail with "Could not evaluate: Could not retrieve information from source(s)". Another one is a failure of augeas to use the 'ins' command to insert a rule into krb5.conf. I can't think of any good reason for these other than the older versions of the libraries render Puppet unable to parse properly.
At any rate, I was wondering whether anyone has had experience and success controlling security services in Ubuntu (Natty), such as krb5, pam, screensaver locking, etc. I should be able to hack my way through these, but I keep hitting walls like the evaluation error above.
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
Could the FOSS community instigate a free how-to e/book or pamphlet for web newbies? Released under Creative Commons and designed to teach newbies how to use the web safely and responsibly regardless of their Operating System. It could be made available in multiple formats as an ebook or printable document for download from SourceForge.
After some recent upgrade of my Debian Testing i386, on ThinkPad T400s, I am receiving panic message upon Safely Remove Drive.When I insert external HDD, it is automatically detected and the partitions mounted and works perfectly well. But when I "Safely Remove" the disk, Debian freezes and hangs. Nothing works (mouse or keyboard), and even X crashes and I get frozen terminal.I never experienced anything similar
I have Debian Lenny with a couple of libraries from backports. I go to install Wine from the package manager and it says such and such a dependency is needed but that the backports version is installed, I use force version to choose right version then it says the same for every other file so it`s going round in circles.
Some libraries, libasound and similar, are installed from backports but it seems wine wants the older version. How can I install wine without this endless loop and without breaking anything, please?
I've just installed Squeeze with KDE. I was wondering what is the best way to remove some unwanted apps without breaking everything (I want to get rid of Kopete and a few other apps like Dragon Player as I don't use them)? I tried to: apt-get remove kopete but it said it wanted to remove a whole bunch of other stuff as well. (I'm a recent Fedora convert).
On my laptop, squeeze has /, /boot, /usr, /home and I think /tmp /var on separate partitions. I want more space for apps and to not have to be so frugal with /home. Earlier this week I shrank sda1, freeing up 40 GB. I wanted to start moving the squeeze partitions, but GParted logically enough denied it since they were mounted, duh. I'm glad for that, because I was getting overeager and hadn't made even a full system backup.
This is one of those situations where choice, while good, makes it hard to get started. I wouldn't mind using dump, but doesn't it inefficiently copy the whole partition regardless of empty space? I figure tar could do as well, but is it a problem that it doesn't preserve all the meta info? As a starting point, I'd like to have an "quick" and safe way to make sure that if something happens while moving partitions, I can do a restore. I can progress to more optimal solutions later on, like semi- or fully automated incremental backup.
So what is a sure-fire way to do this while preserving all info? Should I stick with something like clonezilla, can I manage it from within Debian (CLI, ready-made script, GUI), is there a still better way?
In Fedora 12 Network Configuration tool the Activate and Deactivate buttons are disabled.I thought that this was due to Network Manager overriding it but I've disabled that in order to set a static ip but the buttons are still disabled.
Debian if I suspend the PC, will the external mounted harddisk safely umount automatically? I want to make sure that the integrity of my external HDD is not compromised while the PC goes in the suspend mode.
So I want to get mount/umount option under right click services menu. I went to Dolphin -> Settings -> Configure Dolphin -> Services -> Download New Services and from there I installed KDE CDEmu Emulator and MountISO. But neither of them is showing up in actual context menu. Neither in Dolphin -> Settings -> Configure Dolphin -> Services for that matter. I tried to install them as normal user and as a root. I went to have a peak in /usr/share/kde4/services/ServiceMenus/ but they aren't there as well... It's just me or lots of things seems to be not quite working in 11.3?