Debian Configuration :: Remove Upstart In Favour Of Sysvinit?
Sep 3, 2010
I had read that squeeze was to use upstart instead of sysvinit. Anyway, in playing with splashy, I decided to install upstart to see if it would work, which it does just fine. When I check for updates in synaptic, it always wants to remove upstart in favour of sysvinit. I wouldn't have a problem with that except, with sysvinit, squeeze no longer shuts down or starts up.
View 3 Replies
ADVERTISEMENT
Jul 16, 2010
I'm running the new OpenSuse 11.3 64-bit. how to switch from SysVinit to Upstart?
View 1 Replies
View Related
Jul 3, 2011
upstart clearly boost startup time (tested on other distro). How to force upstart during netinstall of wheezy ? (I have bad past experience of switching from sysvinit to upstart by upgrade, and would like to avoid this way).
View 14 Replies
View Related
Mar 8, 2010
Does anyone know if I can successfully remove / delete the 'debian-sys-maint' account from MySQL? I noticed it there and appears to be something the Debian developers / maintainers of MySQL package added. I am guessing it's there to manage package updates and system maintenance as a back door of sorts. Anyone know if I can remove this account and not break the package or database?
[Code]...
View 2 Replies
View Related
Jan 10, 2016
I would like to remove a specific domU (test01--pv--guest) from my machine. I am not sure how far/to what extent to remove files. Here are the files and properties it seems I should remove:
lrwxrwxrwx 1 root root 10 Jan 9 11:05 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--disk -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jan 9 01:03 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--swap -> ../../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/mapper/xenvg-test01--pv--guest--disk -> ../dm-3
lrwxrwxrwx 1 root root 7 Jan 9 01:03 /dev/mapper/xenvg-test01--pv--guest--swap -> ../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/xenvg/test01-pv-guest-disk -> ../dm-3
The above link to dm-2 and dm-3.
brw-rw---- 1 root disk 254, 0 Jan 9 01:03 /dev/dm-0
brw-rw---- 1 root disk 254, 1 Jan 9 01:03 /dev/dm-1
brw-rw---- 1 root disk 254, 2 Jan 9 01:03 /dev/dm-2
brw-rw---- 1 root disk 254, 3 Jan 9 11:05 /dev/dm-3
brw-rw---- 1 root disk 254, 4 Jan 9 01:03 /dev/dm-4
brw-rw---- 1 root disk 254, 5 Jan 9 01:03 /dev/dm-5
brw-rw---- 1 root disk 254, 6 Jan 9 01:03 /dev/dm-6
brw-rw---- 1 root disk 254, 7 Jan 9 01:03 /dev/dm-7
Will they be deleted automatically or should/can I remove them? How do I check the need for the other dm-? files? As indicated below, it seems like some may be duplicates.
I also found this set in /etc/lvm/archive/:
-rw------- 1 root root 2909 Oct 17 00:41 Relaise-vg_00000-1453251236.vg
-rw------- 1 root root 2929 Oct 24 22:08 Relaise-vg_00001-1530642081.vg
-rw------- 1 root root 2924 Oct 25 19:33 Relaise-vg_00002-328450675.vg
-rw------- 1 root root 2901 Oct 26 19:53 Relaise-vg_00003-1555350964.vg
-rw------- 1 root root 2902 Oct 26 19:53 Relaise-vg_00004-1044927704.vg
[Code] ....
Some of these seem like duplicates. This may be due to multiple attempts to build the volumes. Is there a way to determine if all of the are useful?
View 0 Replies
View Related
Oct 18, 2010
For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?
View 4 Replies
View Related
Aug 10, 2015
The apt-get autoremove command, I use Debian 8 for some time now and I often install a package, test it for some minutes and remove it then. I noticed that in most cases (if not all, I'm not completely sure) all the dependencies that were installed with the package (mostly libraries, of course) stay installed on the system when I remove the package.
And there is no output of apt-get that there are unnecessary pacakges which I can remove with apt-get autoremove. The autoremove command does nothing.Before I changed to Debian, I used Ubuntu and there all the dependencies are removed with apt-get autoremove when I uninstalled a package.My question is now, is this normal? if there are fundamental differences in which packages "autoremove" removes between Debian and Ubuntu?
View 4 Replies
View Related
Apr 19, 2010
I'd like to know how to leave only tty1 and 2 and permanently disable others. (I'm running Lenny/i386).
View 4 Replies
View Related
Oct 17, 2010
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
View 2 Replies
View Related
Jun 20, 2015
After installing Jessie, apt-get gives me a huge list of packages with the suggestion to autoremove them. Now, I've tried auto-remove once and was left with a naked Gnome, so I was wondering if there's another way to find out which packages I should keep and which I can safely remove. Is it safe to delete packages that cannot be found using the search function for the stable release? I checked them one by one here URL....How about linux images that won't appear in the above search?
linux-image-3.14-0.bpo.1-amd64
linux-image-3.14-0.bpo.2-amd64
linux-image-3.16-0.bpo.2-amd64
linux-image-3.16-0.bpo.3-amd64
linux-image-3.2.0-4-amd64
How about results shown by deborphan?
View 9 Replies
View Related
Feb 7, 2016
I am using Wheezy 7.9, Gnome Classic, gdm3 . I have two menu instances of Master PDF Editor, one instance in the Graphics menu and the other in the Office category. I have tried using Alacarte to remove one of the instances. Alacarte shows that the item has been removed but in fact it still shows up in the menu. The procedure I used was to open Alacarte as root user, delete the item, close Alacarte and re-start the computer.
View 1 Replies
View Related
Feb 22, 2010
I had some problems about a week ago with installing Python2.6-minimal (as an issue, it got resolved), however, after the problem was resolved, 'Add/Remove Applications' disappeared after upgrade was complete. I usually do not use this program for installing, etc., if I can help it, but do use it more often for web address reference when I am considering installing a new program, etc. Question is,is there some way to find out if it is merely lurking somewhere in my system... & then to once again add it to my menu list? Or, if that is not the case, to reinstall it via apt-get, aptitude, or some way like this? I could not find this application (or whatever it is called) in the Synaptic Package Manager.
View 3 Replies
View Related
Oct 14, 2010
How to remove a specific folder from your backup?$ rdiff-backup --remove-older-than now /backup/backup_laptop/home/derick/DownloadsFatal Error: Increments for directory /backup/backup_laptop/home/derick/Downloads cannot be removed separately.Instead run on entire directory /backup/backup_laptop.
View 2 Replies
View Related
Aug 7, 2011
I have this package dependency question for a while. I have brand new Squeeze system. I selected desktop during installation. Gnome is default system but I turned off gdm3 and uses fluxbox as window manager. I understand if two packages are tied together funtionally so that removal of either package terminates one feature. Above cases, many small packages only depends on the core packages. The core packages work fine without games, other programs.
There are so many programs that I want to remove in the system. For examples, ekiga is a VoIP program that I never use it. When I tried to remove it using apt-get or aptitude, it suggests entire gnome packages will be removed also, which is illogical. The only solution I found is I need to manually remove the package files. I haven't tried it yet.
View 3 Replies
View Related
Jun 15, 2011
Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.
View 4 Replies
View Related
Jun 17, 2011
I want to remove a keyring package I installed from a repository that I no longer want to use. However, I cannot remove it:
# apt-get remove -y --force-yes debian-xray-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be removed:
debian-xray-keyring
0 upgraded, 0 newly installed, 1 to remove and 130 not upgraded.
After this operation, 49.2 kB disk space will be freed.
(Reading database ... 181076 files and directories currently installed.)
Removing debian-xray-keyring ...
gpg: key "AB8F901D" not found: eof
gpg: AB8F901D: delete key failed: eof
dpkg: error processing debian-xray-keyring (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
debian-xray-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
View 4 Replies
View Related
Aug 13, 2011
VirtualBox is awesome tool for experiment and learning Linux.On the Linux guest OS, I installed standard system without Xorg.i expected it remove all the packages that come along with gnome-terminal previously.Only gnome-terminal was removed, 750kB free space. Now the system have 149MB packages as waste data IMHO.It doesn't look right to me.
View 4 Replies
View Related
Feb 10, 2011
I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.
I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse user,idmap=user 0 0
What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....
View 1 Replies
View Related
Feb 16, 2011
while trying to get a game to work on wine I was surprised to find out that the wine version that ships with sid is 1.0.1 released in October 2005. So I installed the latest release I found at [URL] like this :
dpkg -i wine_1.1.42~winehq1-1_amd64.deb
The install failed, I think because I hadn't remove the old wine version, and that's when the joy-ride started. Impossible to remove wine to restart properly. (apt-get remove libwine wine and apt-get -f install didn't) After some googling I tried this :
dpkg -i --force-depends wine_1.1.42~winehq1-1_amd64.deb
This did install the wine version I wanted, and the game ran fine after that. However the result was a borked apt-get. Tried to remove wine again with the above commands, resulting in apt-get failing to do so because it tried installing wine-unstable and reported errors similar to these : E: Could not perform immediate configuration on 'wine-unstable'. see man 5 apt.conf under APT::Immediate-Configure for details. (2)
View 2 Replies
View Related
Feb 3, 2011
Unbeknownst to me the LVM volume (on LUN) that I removed from my server was in use by another system. So instead of vgexporting the volume group on one of the servers and then lv,vg,pv-removing it on the other I dismantled the LVM devices my servers (as belwo).
0. unmount the filesystem
1. Remove logical volume (lvremove <vg>/<lv>)
2. Remove volume group (vgremove <vg>)
[code]...
View 6 Replies
View Related
Jul 4, 2011
Because of my problem here:[URL]..I'd like to replace upstart with systemd on F14. Is this as simple as a yum install? In the wiki is it's referred to as a "technology preview" for F14, which is meaningless to me; there are no further notes about installing or enabling it.
View 1 Replies
View Related
May 3, 2011
I seem to be having some issues. I want to do the following. I want a script to run prior to any GUI starting (so that if it does crash close or whatever it is not effected).I am able to run the script after the system is booted and it works exactly as I want it to. Once the GUI opens I have a window open and maximize with no decoraction via devilspie. This way I have a desktop that can monitor the logs but not interact directly interact with the shell which is actually recording the logs.
The problem is, when I try and use a simple Upstart script to start it the script does not seem to be working. If I do a ps -A it seems to be still running. What it should be doing is recording what the serial input to the log file I am using. In fact... it doesn't seem to be capturing anything. If I try and run the script manually after the computer has booted (with the Upstart script run) to a GUI it crashes the system.The script I am running is simply to record any incoming data from a Serial connection. It sets up the serial port then starts recording.The shell script is as follows:
Code:
#!/bin/bash
stty -F /dev/ttyS0 9600 -crtscts cs8 -parenb -cstopb -clocal ixoff ixon
[code]....
View 4 Replies
View Related
Jul 20, 2011
Very frustrated. I have used Unix for ages so I understood the SysV startup stuff. But I have not had a lot of luck with Upstart. The other day I noticed that on every reboot my disks are getting fsck'd. I just recently put an ext2 on /tmp so this takes a while (the ext4 drives just rip through their journals).
The problem is no one is unmounting them on a KDE restart (4.X). I started out looking at /etc/init.d/umountfs and putting some logging in there. It never runs. This is despite that /etc/init has an upstart job that is supposed to run all the runlevel stuff.
I also tried to log some info in /etc/init/mountall-shell.conf which looks like it tries to do a umount -a on shutdown (which is probably not a good idea; you need to unmount in a particular order). That doesn't seem to happen either. I am not even sure how to troubleshoot this further. I suppose I need to see if the reboot( command has the same problem. Or if I shut down kdm first if it goes away.
View 1 Replies
View Related
Aug 9, 2010
I was just wondering if there was a package out there to remove all obsolete program configuration files?
View 4 Replies
View Related
Dec 4, 2010
How to remove package with his configuration files. rpm -e doesnt delete any configuration files, is there any similar command to debians apt-get --purge ?
View 2 Replies
View Related
Jan 27, 2010
I have run into a problem that I've tracked down to being a conflict between the "Upstart" init system, and how it handles multiple (alias) IP addresses per physical interface. The summary of the problem is that the interfaces are being configured in the background in parallel with the starting of daemons. One "feature" of this (apparently intended for pluggable devices that would add or remove an interface) is that the network daemons are restarted each time an interface is added (and presumably deleted). But this is a disaster when applied to alias IP addresses.
I first saw the effects of this when during booting Ubuntu Server, the screen showed a message about OpenSSH daemon being restarted ... several times a few seconds apart each. At the time I didn't know what was causing that, but didn't worry because it ultimately was running when I needed it.
But now that I am deploying these servers for specific duty with many IP addresses per system (per network interface), the symptoms are becoming serious, and I need a solution.
1. The IP addresses are coming online too slowly. Apparently the time it takes to restart each daemon is being added to each address being configured.
2. It appears to be disrupting some daemons sometimes. Occaisionally, some daemon just ends up being hung somewhere, or dies. Too many restarts.
3. Sometimes few or even no alias addresses get configured. This might be due to a daemon getting hung, and the whole sequence just not finishing.
4. The "nsd" name server as packaged by Ubuntu doesn't deal well with this at all. It needs all its IP addresses to be up when it starts, or else it won't start. The Ubuntu package of it doesn't including any if-up script at all, although I'm not sure that would do any good.
What I need is a way to configure all these alias IP addresses so they are all configured immediately when the point in time is reached to bring up network interfaces for the first time. These are all static, and all are aliases on ethernet NIC cards plugged into PCIe cards, or integrated in the mainboard. None of them are pluggables. I did run a manual test of "ifconfig" in a loop configuring 2540 alias IP address on eth0 and it only took 2 seconds (no if-up triggers or daemon restarts here). So I know it's fast if nothing else is done between these steps.
Even for pluggable physical interfaces, I see no reason to even try to step through every alias (if it has aliases) with a daemon restart. If an alias IP address is added on later, then I can understand doing it. But if you have a list of 100 aliases for a physical interface, they really should all be done ... or at least attempted ... at once, and do any triggers needed after that.
So, how can I configure or modify Ubuntu Server 9.10 to do that?
I have each alias listed in the "/etc/network/interfaces" file with a separate "auto" and "iface" section for each one, with sequential sub-interface numbers appended to the interface name. I tried it without those sections (e.g. just "address" and other items in sequence) and that prevents the system from even coming up (bootable CD to the rescue to undo that). At least cntrl-alt-del did reboot it.
I tried to attach the /etc/network/interfaces file, but I don't know if it worked because I see no confirmations about it. if it didn't attach and you need to see it, say so, and I'll just paste it in a followup.
View 2 Replies
View Related
Apr 24, 2010
Like the title stated Anyone with experience or suggestion, please do share. I've tinkered all night with this thing. Never get the VBox service I created to start.Here is my final code before I dried my brain.
Code:
# Archayl Server startup
#
[code]....
View 1 Replies
View Related
Jun 27, 2010
I recently discovered upstart is launching sshd on my machine even though I disabled it with `sudo update-rc.d -f ssh remove`. I tried to find a way to prevent upstart from launching ssh by default, but the best I can think of is removing /etc/init/ssh.conf (I just uninstalled openssh-server).I'd like to disable it without doing this, though. This would make it easier to enable sshd when I need it
View 8 Replies
View Related
Nov 11, 2010
From what I've read, it appears that the respawn stanza in /etc/init/mysql.conf would give me the restart option if the daemon crashes, but I want to make sure other safety features of mysqld_safe are present as well.My /etc/init/mysql.conf is the original. I've tried changing the exec stanza from /usr/sbin/mysqld to /usr/sbin/mysqld_safe but the job fails when I sudo service mysql start.mysql.conf
Code:
# MySQL Service
description "MySQL Server"
[code]....
View 1 Replies
View Related
Aug 13, 2010
How i do create autostart script for UpStart ?
I want autostart this commands with UpStart:
mkdir /home/user/_1_
mkdir /_1_
View 2 Replies
View Related