Debian Configuration :: Init Not Following Crypttab Order

Jun 24, 2010

My setup: Debian Squeeze;4 physical partitions, 3 of those create 1 volume group, 13 logical volumes within that vg; 1 unencrypted(boot); all others encrypted including swap.As stated in the man crypttab:The order of records in crypttab is important because the init scripts sequentially iterate through crypttab doing their thing.

View 2 Replies


ADVERTISEMENT

Debian Configuration :: INIT Not Running A Script?

Mar 23, 2011

I have a firewall script setup to run in rc2.d. There is a K99 for it and then an S99. The problem however, is that it isn't being called. No errors, no logs, nothing. The symlinks in /etc/rc2.d point to /etc/init.d/script, but nothing ever happens on boot or shutdown. I can manually do /etc/init.d/script start and it will start just fine, including printing a line that it is starting. What's going on here? The permissions are the same as the other scripts in the init directory, so I doubt that is a problem.

View 4 Replies View Related

Debian Installation :: Installer Incorrectly Setting Crypttab For Encrypted Swap?

Oct 29, 2014

Setting up a randomly passworded swap partition in Debian installer with the default settings (aes-xts-plain64 w/ AES-256 key strength) gives the following line in /etc/crypttab:

Code: Select all####_crypt /dev/#### /dev/urandom cipher=aes-xts-plain64,size=256,swap

However according to cryptsetup manpage when using XTS mode the key size must be doubled so in effect the 'size=256' parameter above is actually resulting in AES-128 strength, no? To get 256 bit key length the size option should be set to 512. Quote from cryptsetup manpage:

For XTS mode (a possible future default), use "aes-xts-plain" or better "aes-xts-plain64" as cipher specification and optionally set a key size of 512 bits with the -s option. Key size for XTS mode is twice that for other modes for the same security level.

View 3 Replies View Related

Debian Configuration :: Unable To Get Ip Address For Wlan0 During Init?

Sep 23, 2010

This is embarrassing. I can't get a wireless address from my router with dhclient. The distribution is sid/lxde/liquorix kernel with no network manager on /dev/sdb1.

root@sid:/home/jheaton5# dhclient -4 -v wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.

[code]....

View 14 Replies View Related

Debian Configuration :: Kernel Panic - Not Syncing / Segfault At Init

Feb 19, 2016

I recently tried to install php5-gd package on my debian vmware server and it failed at libc6 - i386.

Afterwards every command other than CD caused a Segmentation fault and the server would no long boot, showing the following error

[ 4.808086] init[1]: segfault at 0 ip (null) sp bff4645c error 14 in init[8048000+8000]
[ 4.808372] Kernel panic - not syncing: Attempted to kill init!
[ 4.808442] Pid: 1, comm: init Not tainted 3.2.0-4-686-pae #1 Debian 3.2.65-1

View 0 Replies View Related

Debian Configuration :: SDL Init Failure, Reason Is: No Available Video Device

Aug 11, 2011

i have this problem i install android sdk, and i install libreries: libstdc++5, lib32stdc++6, lib32ncurses5 and libstdl1.2-dev,
now if i use ldd comand don't have problem, but when i use eclipse and i compile a simple example (hello word example), i have this
error: [Emulator] SDL init failure, reason is: No available video device i have a notebook toshiba satellite A300-1RI whit ATI Radeon 3650, i install the amd driver and all work well.

View 1 Replies View Related

Server :: Order Of Init Services

May 5, 2011

How can I find the order of stated services in boot process? For example I want to check which one runs first: /etc/fstab or networking? I am using ubuntu server 10.04

View 7 Replies View Related

Debian Configuration :: Is The Order Important When Installing Packets

Oct 20, 2010

I would like to know if the order is important when one install some packets at the same time. For example : apt-get install apache-ssl php4 php4-cgi libphp-adodb. If I start with libphp-adodb ( apt-get install libphp-adodb ) then apache-ssl ( apt-get install apache-ssl ), may some errors occur ? Should I respect the order which is indicated in the installation guide?

View 2 Replies View Related

Debian Configuration :: DHCP Client Don't Start With /etc/init.d/network Restart?

May 28, 2011

I installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?

View 4 Replies View Related

Debian Configuration :: Make Init.d Script That Asks For User Input?

Jul 30, 2011

I'm trying to make a script that loads at boot and asks for user input before doing it's stuff. So I created a script in /etc/init.d/ following the example given there (skeleton file) and used update-rc.d to make it load before GDM.

But when my script requests user input, init doesn't stop, and goes on loading other services and loads GDM. I have to CTRL+F1 to get to my script. I want my script to pause the init system till it ends doing it's stuff and the the other services can go on loading.

I tried
#X-interactive: true to no avail.

View 1 Replies View Related

Debian Configuration :: Install In Order To Run Any Window-manager Like Openbox?

May 7, 2010

I installed debian with minimal packages (without an any X components). Later I installed xserver-xorg-video-intel , xserver-xorg-input-mouse, xserver-xorg-input-kbd ... and other X components through apt-get. Created a Xorg.conf file.

On execution of X, I see black screen without cursor. What are the other minimal packages that I need to install in order to run any window-manager like openbox.. ?

View 6 Replies View Related

Debian Configuration :: Script "test" Is Executable And Located In /etc/init.d?

Feb 11, 2011

brand new Squeeze box built toady - I'm trying to install a init script and I want it to start last and only in runlevel 2...

The script "test" is executable and located in /etc/init.d

so I run update-rc.d -f test start 2 95 - I expect /etc/rc2.d/S95test but instead get S01test

On my Lenny boxes symlinks in /etc/rc2.d are in the S10 - S99 range but the Squeeze box has the same services in the S01-S06 range?

Did something change in Squeeze?

I also tried creating the symlinks in rc2.d manually but the script never ran...

View 12 Replies View Related

Ubuntu Servers :: Configure The Order Of Boot Scripts When Using Both Upstart And Legacy Init.d Scripts?

Apr 7, 2011

I've got an Ubuntu Server 10.10 with Bacula. Bacula is not using Upstart at boot time, it is started using legacy init.d scripts. MySQL on the other hand uses Upstart. This causes MySQL to start after Bacula, thus preventing Bacula director from connecting to the MySQL database - causing an error.I've tried to change the order of the init.d scripts in /etc/rc2.d, giving mysql the prefix S20 and bacula prefixes ranging from S90-S93, but to no avail. The bacula scripts are still loading before MySQL. how to configure the order of boot scripts when using both Upstart and legacy init.d scripts?

View 1 Replies View Related

Debian :: INIT : Cannot Execute /etc/init.d/rc?

May 7, 2011

I'm trying to boot Emdebian lenny on my compact flash and it shows the following errors during boot time :

Code:
Mounting local filesystems ... done .
/etc/rc.d/S35mountall.sh : line 45 : uname : command not found .

[code]...

View 3 Replies View Related

Security :: Pass A Key File To The Crypttab From An NFS Mounted Location?

Apr 12, 2011

I am implementing hard drive encryption. I wish to pass a key file to the crypttab from an NFS mounted location. But I could see that the disk encryption process starts very early during the booting process, before fstab is run. I could not find which script, in rc5.d, starts this service. And I am confused on how nfs mount are performed from fstab, as the network service starts at a very later stage than after fstab is called to mount the local partitions/disks. In my case, I have to wait until the nfs is mounted and then call the /dev/mapper mount (in fastab) to mount the encrypted partition.

View 2 Replies View Related

General :: CentOs 5.3 - Grub Configuration For Boot Order

Feb 11, 2010

I clone an drive with CentOs 5.3 from a drive connected to ATA0 device 0 of an ATA controller to an identical drive connected to the same ATA contoller ATA1 device 0. No matter what I do it boots from ATA1 device 0 and I need to be able to control which one it is booted from. When I have puppy linux on one drive and CentOs on the other drive I can control the boot thru the system BIOS either way no matter if puppy is in ATA 0 or 1. So its not a BIOS issue. It appears (to me) to be a grub configuration issue. Since the 2 drives are clones they both have VolGroup00. I think grub loads from the last VolGroup00 found.

Here is my grub.conf file:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
# boot=/dev/hde
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-128.el5.img

Here is the Device.map:
# this device map was generated by anaconda
(hd0) /dev/hde

View 3 Replies View Related

CentOS 5 Networking :: Is There Any Additional Configuration In Order To Make Network Stable

Jul 8, 2010

I have a webserver to host some system application to the public. the server have two network interface. I set eth0 with wan IP and eth1 with internal LAN IP.the reason for the internal ip on eth1 is to enable LAN pc directly access to the webserver application..is this configuration is ok. sometimes the server link down and i have to restart network to get it back to normal again.. Is there any additional configuration in order to make the network stable.

View 4 Replies View Related

Fedora Hardware :: Motherboard Configuration - Raid Setup Utility Shows Drives Out Of Order

Sep 19, 2010

I just went out and bought stuff to build a new computer, and among the parts was a Gigabyte ga-890fxa-ud5 motherboard ([URL]). The board has 3 (well, 4, but we'll stick to the 3) main sata interfaces, with 2 slots per interface, allowing 6 sata drives. In slot_0 i put my blu-ray drive, in slot_1 i put my drive that will host the OS and its partitions, and that is in the sata connector pair on the left. The middle sata connector pair (slot_2 and slot_3) i have 2 2tb drives, and in the sata connector pair on the right (slot_4 and slot_5) i have 2 1.5tb drives.

[Code]....

View 14 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

General :: Use Sort Command For Its Ascending Order And Descending Order?

Aug 18, 2010

in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.

Is the same can be use for the date format YYYYMMDD ?

View 3 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Debian :: System Mixed With Init?

Aug 28, 2015

ow Debian init system is organized actually (btw i am using stretch) ? I see systemd installed, with some services run from it (systemctl shows a small list), but at the same, i still see /etc/init.d full of traditional init scripts.

View 3 Replies View Related

Debian :: How To Install A File In /etc/init.d/

Sep 10, 2010

use command dpkg -i ****.deb let my deb install a file in /etc/init.d/ what i need to change in debin/rules file?

View 9 Replies View Related

Debian :: How To Make Init Script

Aug 1, 2011

I need to start script I created every time so I created:
/etc/init.d/startflowcapture.
There I put:
flow-capture -w /var/netflow/ft 0/0/2055 -S5 -V5 -E1G -n 287 -N 0 -R /usr/local/netflow/bin/linkme

I made it executable:
chmod +x /etc/init.d/startflowcapture
But permanently adding it to rc defaults shows this error:
update-rc.d startflowcapture defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01startflowcapture' missing LSB tags and overrides
insserv: warning: script 'startflowcapture' missing LSB tags and overrides

View 6 Replies View Related

Debian :: How Autostart Daemon In /etc/init.d

Mar 26, 2010

I installed ntop and it works but I cant make it autostart with my server. I started ntop with its parameters and it works as a daemon but if I restart the server ntop wont load even if an ntop file is in /etc/init.d. I executed rcconf and it wont list ntop. How can I make it autostart in daemon with my parameters? (like ntop -d -w12345)

View 7 Replies View Related

Debian Installation :: No Init Found When Trying To Run Lenny?

Mar 25, 2010

I installed ubuntu on my dual boot Debian/Lenny and windows 7 toshiba laptop. Now when I try to boot Lenny i get the following error messages:

kinit : name_to_dev_t(/dev/sda6)=dev(8,6)
kinit : trying to resume from /dev/sda6
kinit : No resume image doing normal boot ....

[code].....

I can see the whole filesystem is there. The problem may have something to do with the boot loader. I was originally using Grub 1.5 when I just had Lenny and Windows 7, but when I installed ubuntu it has installed GRUB 2. When I use the debian install cd to go into rescue mode, all the init scripts are still where they should be. Another thing that happened when I partioned of a section for ubuntu all the dev numbers went up one. In the debian /boot/grub/menu.lst windows 7 was booting under (hd0,1) now it boots under (hd0,2) debian used to boot from (hd0,7) with root=/dev/sda8 but now it is under (hd0,8) root=/dev/sda9 in the GRUB2 menu.lst. Is there anyway to get my Debian back up and running? After 6 months of studying it at uni I am finally learning my way around and want it back.

View 6 Replies View Related

Debian Hardware :: Run Alsactl Init On Every Reboot

Jun 24, 2015

I installed jessie. every time reboot jessie i have no sound and i must run "alsactl init", after run command all things work great.

View 1 Replies View Related

Debian :: Loading A Module From The Init Process?

Dec 6, 2010

recently I've updated my kernel, i had to reconfigure some stuff, in particular, the b43 module is not loading at init process, my question is: what command should I use to load it from the init? or what file should I hagve to edit?

View 1 Replies View Related

Programming :: Init Scripts In /etc/init.d?

Sep 17, 2010

I have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved