Trouble with luks non root partition

hello,
today i struggled with creating an encryptet archlinux installation.
what i want is to encrypt my root and all other partitions with luks.
basically i used the guide on the archwiki ( https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS ),
but iam always failing at the same point.
my setup is a bit more complex, but to describe my problem i want to use a simple testcase
/dev/sda with 2 partitions
  /dev/sda1    as /boot
  /dev/sda2    as crypto_LUKS
/dev/sdb with 1 partition
  /dev/sdb1    as crypto_LUKS
/dev/sda2 should be / and /dev/sdb1 f.eks. /home
iam using passphrases for both partitions.
i edited the HOOKS line in mkinitcpio.conf and added "encrypt" before "filesystems",
and i also edited the crypttab to somethink like this:
sdb1_crypt /dev/sdb1 none luks
my fstab entry for /home looks like
/dev/mapper/sdb1_crypt /home ext4 rw,relatime,data=ordered 0 1
so far so good, when iam booting iam prompted for passphrases 2 times. first time to encrypt and mount the root-partition, which works fine.
second time for the /home partition, but then the boot process stucks and systemd times out
[ OK ] Found device /dev/mapper/sdb1_crypt
[ OK ] Started Cryptography Setup for sdb1_crypt
[ OK ] Reached target Encryptet Volumes
[ TIME ] Timed out waiting for device dev-mapper/sdb1_crypt
[ DEPEND ] Dependency failed for /home
[ DEPEND ] Dependency failed for Local File Systems
iam thrown to emergency shell then.
/dev/mapper/sdb1_crypt exists, but when iam trying to mount it with
mount /dev/mapper/sdb1_crypt /mnt
it says
mount: special device /dev/mapper/sdb1_crypt does not exist
cryptsetyp says , that /dev/mapper/sdb1_crypt is inactive.
anyway i can luksOpen it manually with
cryptsetup luksOpen /dev/sdb1 foo
enter passphrase again and now iam able to mount /dev/mapper/foo
what am i missing in my here?
thanks for helping !
ineb

I just worte this. It dose not cover the LVM part. However, you do not need to do anything for that.
Just add this between "keymap encrypt" and "filesystems" in the HOOKS= array
lvm2
Also, becuase you have more then mone parition that is encrypted and needs to be decrypted at boot, you may need to have this the the /etc/default/grub instead of what what I put in the post I linked to.
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:root cryptdevice=/dev/sdb1:home"
The `grub-mkconfig -o /boot/grub/grub.cfg` command WILL find all your LVM2 lv's with no problem and configure grub.cfg correctly. You just need to edit /etc/default/grub and use that command to rebuild the grub.cfg
Other then that this post should solve your problems.
https://bbs.archlinux.org/viewtopic.php … 2#p1209702
Last edited by hunterthomson (2012-12-25 02:40:23)

Similar Messages

  • [solved] kernel 2.6.27 - open LUKS encrypted root partition fails

    Hi,
    after updating to kernel 2.6.27 the passphrase for my LUKS encrypted root partition does not work anymore.
    I get this error messages:
    Enter LUKS passphrase:
    device-mapper: table: 254:0 crypt: Error allocating crypto tfm
    device-mapper: ioctl: error adding target to table
    device-mapper: ioctl: device doesn't appear to be in the dev hash table.
    Command failed: No key available with this passphrase.
    Enter LUKS passphrase:
    With a old (2.6.25) vanilla kernel it works.
    any ideas?
    EDIT
    Solved.
    The Problem was that I had this line in my mkinitcpio.conf to get rid of the padlock-error-message at boot.
    #CRYPTO_MODULES="aes_i586 aes_generic sha256_generic"
    With kernel 2.6.27 there are new / more modules needed to open the LUKS encryptet root partition.
    So I removed the line from mkinitcpio.conf and deletet the padlock modules in /lib/modules/2.6.27-ARCH before regenarating the initrd image.
    Thanks to GerBra for the tip.
    Last edited by SiD (2008-10-22 11:41:56)

    I'm not shure, but think ... yes.

  • LVM + LUKS + TRIM @ root partition

    Hi.
    I'm installing a fresh arch linux PC right now with LVM + LUKS and TRIM because i have one SSD , and UEFI mobo.
    SSD has a physical partition for the /boot and the rest one used with LVM where a virtual group created called "lvmRootPool" which contains two logical volumes ("lvmRootPool-root" and "lvmRootPool-swap")
    The lvmRootPool-swap was kept for swap and
    the lvmRootPool-root for /.
    Here comes the question. I want to enable TRIM for that disk (i know the security risk) and following this guide i have to add a specific line with discard keyword in /mnt/etc/crypttab (i'm before chroot). But when i open the /mnt/etc/crypttab it has a note saying
    Do not list your root partition here, it must be set up beforehand by the initramfs (/etc/mkinitcpio.conf)
    So what i supposed to do ? Should i add that line at crypttab file or not ?
    lvmRootPool-root /dev/sda2 none luks,discard
    Also , is it possible to use TRIM for swap ? I think that isn't but maybe something have been changed that i don't know.
    Thank you.
    Last edited by netpumber (2015-05-24 18:06:40)

    maybe your missing pieces are: https://wiki.archlinux.org/index.php/So … IM_for_LVM and https://wiki.archlinux.org/index.php/Dm … encryption
    In a nutshell:
    For encryption you need to change the kernel parameter in your bootloader, add encryption and resume hook to mkinitcpio.conf. If the hooks are at the right spots, it just works for swap as well.
    For LVM passthru there is a setting described in the link above
    You still need the discard flags in your fstab.

  • Weblogic server with OIM non-root

    Friends,
    I am installing OIAM on top of Weblogic Server on CentOSLinux OS .
    The problem is i want to install weblogic server and OIAM with non-root so that it does not have security issues.
    When i try to install weblogic i am unable to install it with normal user rights in /opt dir it requires root access. As per the document oiam install on top of weblogic should not be a problem but the major issue is running weblogic with non-root.
    pls let me know abt install and running weblogic as a non-root user, or a pointer to the documentation.
    thank you

    I have installed weblogic server as an nt service. In install Nt service
    cmd, if I make any change in the script, I have to uninstall and install it
    again. I do not know where to specify the weblogic.management.username =(Non
    system user)
    I have created a user name in NT server and added them to Administrator
    group. I have also modified in file realm propertes i.e to boot and shutdown
    the non system user.
    I have to start weblogic server as a non system user.
    Thanks
    Madhu
    I think I replied to some of the questions when I found out the answers.
    Only thing I did was hit reply, instead of reply group. Might it went to
    persons e-mail. That might be the reason, the answers I posted is not found
    in the newsgroup
    Thanks
    freelance_code_inspector <[email protected]> wrote in message
    news:[email protected]..
    "m holur" <[email protected]> wrote in message
    news:<3bfbafce$[email protected]>...
    I want to start wls6.1 as an nt service with different user name otherthan
    system.Madhu,
    Specify weblogic.management.username={Non system user} in your -D
    option. BTW, just curious, have observed that u have been posting a
    lot of weblogic questions lately, did u find out the answers? If so, u
    should share it back to this community.
    Regards
    drit
    Freelance Java Developer/Code Inspector
    http://www.geocities.com/doc_i_t/CodeInspectionService.html

  • 1310 Root Bridge will not Authenticate with 350 Non Root Bridge

    I've exhausted myself solving this issue.
    I have a 1310 set as a root bridge using WEPS. I have a 350 set as a non root bridge/without clients, also using WEPS (they both use the same SSID)
    The 350 will not authenticate to the 1310. After doing a Carrier Busy Test, it is clear the 350 see's the 1310 with signal strengh of 100 percent.
    (I have a test lab setup in my office)
    If I make the 350 the Root Bridge and the 1310 the Non Root, The 1310 will authenticate to the 350.
    I hoping someone else has seen this problem and can enlighten me.
    Thank you.

    I have successfully configured a 1310 Bridge as a Root Bridge and a BR350 Bridge and a Non Root Bridge/with Clients. I also had to force the 1310 to operate at 11MB only.
    As soon as I make the BR350 Bridge a Non Root Bridge/without Clients, the authentication is dropped between the two.
    I was hoping I could transition to the 1310 one unit at a time since I have over a dozen 350's to replace.

  • It's possible (and easy) to downgrade to the previous update, even with a non-rooted device.

    I've just complete the downgrade on my non-rooted Galaxy S3 to the previous (MB1) version.  It was easy to do and my phone is back to normal.  I've never been one to mess around with rooting or otherwise modifying my phones and was a little intimidated, but everything went smooth as silk.
    Follow the direction on this page
    This is the download link for MB1
    >Links deleted. First one takes readers to a site to root their device, links to this type of site are not allowed.
    2nd link VZW does not support and should not be held liable by users who brick their phone and expect VZW to fix it. So it is deleted also<
    Message was edited by: Verizon Moderator><

    Most that have received the refurbished phone have said that it fixed the issue as it had the older version of firmware when they received the phone but as they say no guarantee with it.  Good Luck with your refurbished phone we hope there are not other issues with it.  I wonder why all this testing VZW does with the upgrades was or was not done cause this thing sounds bigger than just a handful of customers to me.  I am one of the lucky ones with only issue with name caller ID thing which was really sneaky of VZW sending that out with the update but they did sort of give us a choice.

  • 1310 Root with two non-root bridges

    I have a Cisco 1310 root bridge and a 1310 non-root bridge . it worked fine for a year, I then installed one more 1310 as a non-root bridge now I?m seeing both of my non-root bridges dropping offline more and more. I checked my first non-root bridge today and the radio is down and I can?t seem to bring it back up. I have recently upgraded the tar to see if that would fix the problem. This problem started when I added my second non-root bridge. Did I miss some setting or something

    Make sure the spanning tree protocol is disabled on Vlan interfaces

  • NetworkManager applet doesn't prompt for VPN secret for non-root user

    I'm using NetworkManager in GNOME DE. When logged in as non-root user, I'm unable to connect to a vpnc profile.
    * As non-root, I am able to add/remove/alter/connect to WiFi network profiles with no trouble.
    * As non-root, I am also able to add/remove/alter vpnc profiles.
    * However, the VPN group key and VPN user password do not appear to store properly when adding/editing the profile as non-root. I can enter them, but when I bring the dialog back up, they are always blank. Even so, I can see an entry for vpnc in the Gnome keyring.
    * When I slide the on/off switch to try to connect with the vpn profile, there is no prompt for the VPN group key or password. The switch just slides back to Off immediately and I can see the text 'authentication required' flash briefly where it shows the connection status. After that flashes, the connection status is back to 'Not connected'. No error message displays.
    * If I sign in as root, there are no problems. The VPN 'secrets' will save properly in the dialog, and also if I leave them blank, I'm prompted for them when I activate the connection.
    * Creating the connection as 'root' is not an option, as this doesn't appear in profile list when signing on as non-root.
    Any ideas on where to look or what to check? As mentioned above, non-root can maintain WiFi connections through NetworkManager just fine, so the problem appears localized to VPN 'secrets'. Also other applications (i.e. Evolution) have no trouble in dealing with authentication.
    I do have polkit installed:
    extra/polkit 0.110-2 [installed]
    Application development toolkit for controlling system-wide privileges
    extra/polkit-kde 0.99.0-2
    Daemon providing a polkit authentication UI for KDE
    extra/polkit-qt 0.103.0-2
    A library that allows developers to access PolicyKit API with a nice Qt-style API
    community/polkit-gnome 0.105-1 [installed]
    PolicyKit integration for the GNOME desktop

    Update/more information on this...
    My typical/preferred setup for my VPNs is to save the VPN group key, but to be prompted for my VPN user password on each connect. So, this is how I was trying to setup in the applet. Interestingly, I have found that if I save BOTH of the 'secrets' to the keyring, then I can connect!
    The behavior is still as above in the dialog -- both secrets are blank if I edit the connection, although they are present in the Gnome keyring. As long as they are BOTH there, I can connect fine. But, if I have either of them set to 'Always Ask', then I am not prompted for them and the connection fails.
    Although I can work with this, I would certainly still like to figure out what is going on and fix it, as it does bother me that it works that way:
    * Why can't the dialog redisplay my secrets when I edit a connection as non-root?
    * Why doesn't Always Ask work to prompt me for secrets when running as non-root?
    Any ideas? I've used the Gnome/NetworkManager/vpnc combination on other desktops (this is my first Arch), and I have never seen anything like this.

  • [Solved] Non-root user cannot access mounted ntfs filesystem

    Hi -,
    i have a dualboot system (arch/xfce + win7) and i use a ntfs partition /dev/sda2 to store files i use with both operating systems. I added the partition to fstab and it gets mounted, but i cannot access it with my non-root user. With root it works fine...
    My fstab:
    # cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    LABEL=home /home ext4 defaults 0 1
    LABEL=root / ext4 defaults 0 1
    LABEL=swap swap swap defaults 0 0
    /dev/sda2 /media/sda2 ntfs defaults 0 2
    Is there any option that allows all users to use the mounted device? Or how is this usually done ...
    Last edited by muzzel (2012-05-30 20:39:58)

    See: NTFS-3G for important setup information.
    My fstab line looks like:
    /dev/sdb1 /media/Win_USB ntfs-3g uid=1000,gid=users,fmask=113,dmask=0022 0 0
    This sets up some important parameters which the NTFS-3G Wiki Page covers.  Basically, "ntfs" is only a basic driver and is built into the kernel.  "ntfs-3g" is a much better, and less disk-eating, driver that you should install and use if you need the drive in Linux any more than occasionally.  My fstab line makes my user (1000) the owner and the masks lets me write and etc to it.  When you install NTFS-3G it is automatically used when you use the mount command to mount NTFS drives.  In fstab, as above, you would specify it explicitly.
    You can find your own user number by entering "id" at a terminal.

  • Non-root bridge association problem

    I have an installation using Cisco 1242 Access Points (IOS) as bridges
    in 5Ghz band, and as AP in 2,4 GHz band. Sometimes I get problems
    with the non-root bridges, after mains outage, they will not
    associate to the root bridge. Command "dot11 do 1 carrier busy"
    issued to the non-root bridge helps, but sometimes I have to use it
    several times. Have anybody any idea about possible cause?
    Thanks

    Hi Frank,
    I think I have found the reason of my troubles. It is the following configuration command:
    (interface Dot11Radio1)
    world-mode dot11d country CZ outdoor
    which is not only not-needed on the non-root bridge AP, it prevents associating the non-root bridge to the root-bridge AP. It does not cause the troubles on each root non-root couple. The troubles are more frequent with IOS version 12.3(11)JA or 12.3(8)JEA than with 12.3(8)JA2.
    Regards
    Frantisek Opravil

  • Crypt non-root

    Hi,
    I would like to have a non root partition and swap mounted on boot.
    At the moment i do this via rc.local:
    modprobe dm-crypt
    modprobe aes-x86-64
    cryptsetup -c aes-cbc-essiv:sha256 -h sha256 -s 256 -d /dev/urandom create swap /dev/md3
    mkswap /dev/mapper/swap
    swapon /dev/mapper/swap
    cryptsetup luksOpen /dev/md4 data
    mount /dev/mapper/data
    Do I have to manually unmount/crypt remove those in rc.local.shutdown?
    Is there a better option than rc.local?
    I still want to be able to start the system, and then remotely login via ssh, which is why I don't use crypttab.
    Thanks in advance
    Julian

    In my opinion there are 2 reasons to encrypt the root filesystem.
    1. protecting passwords used by e.g. daemons like ppp, vpn, or if you automate cryptsetup of other filesystems via crypttab (as described above, passphrase in crypttab)
    2. Integrity: You can be quite sure that no one (without your / encryption key) has compromised your system. (yea, cold boot, etcetc...but the average attacker with physical access will not be able to tamper with any data on / )
    I now found a to me satisfieing solution.
    Reminder: I want to be prompted for passphrase on system boot if I boot it locally, e.g. have physical access to the machine via keyboard, and I don't want this to happen when I boot it remotely, e.g. my only access to the machine after boot is via ssh.
    Yea, this violates KISS 
    First, my setup:
    I mount the encrypted partition as /data , and I have several daemons which depend on it being mounted.
    The daemons that use this partition are nfs, (icecast), mpd.
    I use a little "pseudo" (as no executable) daemon for that (I'm not good at inventing names, I called it "data") which starts those daemons (instead of putting them in rc.conf they go in here).
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    case "$1" in
    start)
    stat_busy "Starting data daemon"
    /root/bin/killer.sh 5 $$ &
    echo -n "Enter to stop timeout"
    read
    if [ -f "/tmp/killer$$.pid" ]; then
    kill `cat /tmp/killer$$.pid`
    rm /tmp/killer$$.pid
    fi
    cryptsetup luksOpen /dev/md4 data
    mount /dev/mapper/data
    /etc/rc.d/portmap start
    /etc/rc.d/nfslock start
    /etc/rc.d/nfsd start
    /etc/rc.d/icecast start
    /etc/rc.d/mpd start
    add_daemon data
    stat_done
    stop)
    stat_busy "Stopping data daemon"
    /etc/rc.d/mpd stop
    /etc/rc.d/icecast stop
    /etc/rc.d/nfsd stop
    /etc/rc.d/nfslock stop
    /etc/rc.d/portmap stop
    umount /data
    cryptsetup remove data
    rm_daemon data
    stat_done
    /etc/rc.d/nfsd stop
    /etc/rc.d/nfslock stop
    /etc/rc.d/portmap stop
    umount /data
    cryptsetup remove data
    rm_daemon data
    stat_done
    restart)
    $0 stop
    sleep 1
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    I use a little script killer.sh for the timeout:
    #!/bin/bash
    echo $$ > /tmp/killer$2.pid
    sleep $1
    kill $2
    I don't write shell scripts often, and in fact am neither good at it nor have tried to really "learn" it.
    Is there a simpler/better way to realize this timeout?

  • Trouble with mounted partitions (root twice)

    Since a few days ago, I'm experiencing troubles with my partitions, like / being mounted twice. I'm using systemd instead of Init, mtab is symlinked to /proc/self/mounts
    df output:
    rootfs                                                  103212320 13629136   84340304  14% /
    udev                                                        10240        0      10240   0% /dev
    run                                                         10240      344       9896   4% /run
    /dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3  103212320 13629136   84340304  14% /
    tmpfs                                                     2011176        0    2011176   0% /dev/shm
    tmpfs                                                     2011176      176    2011000   1% /sys/fs/cgroup
    tmpfs                                                     2011176        0    2011176   0% /media
    run                                                         10240      344       9896   4% /var/lock
    run                                                         10240      344       9896   4% /var/run
    /dev/sda1                                               369251368 61124056  289370348  18% /media/Akai-Data
    As you can see, / is mounted twice.
    my /proc/self/mounts looks like this (in fact, is):
    http://pastebin.com/bLi22Cps
    my partition layout inherit from the time where I had both Windows and Arch Linux installed (so I was low on free primary partitions) is: sda1 350 GB ext4, sda3 8 GB swap, sda4 98 GB ext4. So I have no /home and / in different partitions as sda1 is where I have all my data.
    my /etc/fstab:
    devpts                 /dev/pts      devpts    defaults            0      0
    shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
    /dev/sda1 /media/Akai-Data ext4 defaults,realtime,data=writeback 0 2
    /dev/sda3 swap swap defaults 0 0
    /dev/sda4 / ext4 defaults,user_xattr,realtime,data=writeback 0 1
    Also, my /tmp folder has not being cleaned in 5 days. ¿Does it not supposed to be cleaned at every boot/shutdown (I have booted few times in five days)?
    So, my troubles here are:
    / is mounted twice, and /tmp is not being cleaned. Any clue on this?
    Also, to me, my/proc/self/mounts seems weird, aside from the fact that I think there is why / is mounted twice. Could someone check that?
    Thank you in advance.
    Last edited by ethail (2011-05-10 16:34:09)

    The only place I have found that is on my /boot/burg/burg.cfg file:
    linux   /boot/vmlinuz26-pf root=/dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3 ro fastboot quiet logo.nologo resume=/dev/sda3 init=/sbi/e4rat-preload
    But as far as I can remember, that has been always there since I started using burg instead of grub (half of a mont ago, maybe more). And never got troubles with that.
    Also, rc.local has everything comented out
    EDIT: have I to assume that the burg entry is leading to troubles?
    Last edited by ethail (2011-05-10 21:37:04)

  • Aironet 1310 non-root with wireless clients

    I have two 1310s. One set as a root-bridge with wireless clients, another as a non-root bridge with wireless clients. The wireless side of things is working fine, but I'm having trouble when I try to connect a windows work station to the non-root bridge via ethernet. I'm getting an IP address from the router attached to the root bridge via DHCP, and I am able to connect to the configuration page of both 1310 APs, but I'm not getting any internet connectivity. Have I misunderstood what 'non-root bridge with wireless clients' means? If not, is there an obvious problem which might cause the wireless clients to work fine, but interfere with a wired client? Thanks.

    Thanks Seth,
    It's good to know that this is how it is supposed to work. The thing that has me scratching my head is that the wireless clients are working fine from this bridge--it is only the client hooked up to the ethernet interface that is not getting out.
    I'll take a look at the gateway settings and see what I can find. I appreciate the tip.

  • Root partition suddenly full while updating packages with Pacman

    Hello
    I'm not sure if this is a problem with Pacman, but my root partition seems to have become completely full while updating my system using pacman -Syu. Before updating anything, there seems to have been an update to a new version of Pacman (3.3.1-1) that needed to be installed before updating packages.
    In the middle of the updates, I got this error:
    error: error writing to file '/var/cache/pacman/pkg/openoffice-base-3.1.1-2-x86_64.pkg.tar.gz': No space left on device
    Also, I don't know if this is related, but I got a lot of 'not found' errors after that.
    The entire output from everything:
    ~ $ sudo pacman -Syu
    Password:
    :: Synchronizing package databases...
    core 34.6K 101.4K/s 00:00:00 [#####################] 100%
    extra 427.5K 394.3K/s 00:00:01 [#####################] 100%
    community 374.7K 362.2K/s 00:00:01 [#####################] 100%
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): pacman-3.3.1-1
    Total Download Size: 0.60 MB
    Total Installed Size: 2.10 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    pacman-3.3.1-1-x86_64 618.9K 455.6K/s 00:00:01 [#####################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [#####################] 100%
    (1/1) upgrading pacman [#####################] 100%
    ~ $ sudo pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (42): taglib-extras-1.0.1-1 qt-4.5.3-2 liblastfm-0.3.0-4
    loudmouth-1.4.3-1 libmtp-0.3.7-1.1 amarok-2.2.0-1 apr-1.3.9-1
    db-4.8.24-1 apr-util-1.3.9-3 apache-2.2.13-3 bluez-4.54-1
    python-2.6.3-1 dbus-python-0.83.0-2.1 device-mapper-2.02.53-1
    eclipse-3.5.1-1 gpm-1.20.6-3 perl-5.10.1-3 groff-1.20.1-3
    vim-7.2.266-1 gvim-7.2.266-2 heimdal-1.2.1-7 inkscape-0.46-13
    iproute2-2.6.29-2 lib32-db-4.8.24-1 lib32-heimdal-1.2.1-7
    libical-0.44-1 libsasl-2.1.23-2 lm_sensors-3.1.1-2
    lvm2-2.02.53-1 nexuiz-data-2.5.2-1 nexuiz-2.5.2-1
    redland-1.0.9-4 openoffice-base-3.1.1-2 pam-1.0.4-2
    php-5.3.0-5 pstoedit-3.50-1 ruby-1.9.1_p243-2 soprano-2.3.1-1
    texlive-bin-2009.4-1 texlive-core-2009.15574-1 wget-1.12-1
    xchat-2.8.6-5
    Total Download Size: 1354.95 MB
    Total Installed Size: 2035.02 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    db-4.8.24-1-x86_64 4.7M 432.0K/s 00:00:11 [#####################] 100%
    device-mapper-2.02.... 479.0K 287.9K/s 00:00:02 [#####################] 100%
    gpm-1.20.6-3-x86_64 173.2K 243.7K/s 00:00:01 [#####################] 100%
    perl-5.10.1-3-x86_64 13.5M 412.5K/s 00:00:33 [#####################] 100%
    groff-1.20.1-3-x86_64 4.1M 365.7K/s 00:00:12 [#####################] 100%
    heimdal-1.2.1-7-x86_64 2.8M 368.5K/s 00:00:08 [#####################] 100%
    iproute2-2.6.29-2-x... 489.0K 303.8K/s 00:00:02 [#####################] 100%
    libsasl-2.1.23-2-x86_64 118.5K 252.4K/s 00:00:00 [#####################] 100%
    lvm2-2.02.53-1-x86_64 930.3K 327.3K/s 00:00:03 [#####################] 100%
    pam-1.0.4-2-x86_64 537.8K 289.5K/s 00:00:02 [#####################] 100%
    wget-1.12-1-x86_64 672.4K 308.0K/s 00:00:02 [#####################] 100%
    :: Retrieving packages from extra...
    qt-4.5.3-2-x86_64 26.9M 418.8K/s 00:01:06 [#####################] 100%
    liblastfm-0.3.0-4-x... 223.4K 252.0K/s 00:00:01 [#####################] 100%
    loudmouth-1.4.3-1-x... 80.8K 183.8K/s 00:00:00 [#####################] 100%
    libmtp-0.3.7-1.1-x86_64 439.4K 309.5K/s 00:00:01 [#####################] 100%
    amarok-2.2.0-1-x86_64 10.9M 486.0K/s 00:00:23 [#####################] 100%
    apr-1.3.9-1-x86_64 328.5K 332.4K/s 00:00:01 [#####################] 100%
    apr-util-1.3.9-3-x86_64 237.6K 322.3K/s 00:00:01 [#####################] 100%
    error: failed retrieving file 'apache-2.2.13-3-x86_64.pkg.tar.gz' from archlinux.unixheads.org : Connection timed out
    error: failed retrieving file 'apache-2.2.13-3-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'apache-2.2.13-3-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    bluez-4.54-1-x86_64 671.6K 361.7K/s 00:00:02 [#####################] 100%
    python-2.6.3-1-x86_64 15.2M 442.0K/s 00:00:35 [#####################] 100%
    dbus-python-0.83.0-... 177.4K 225.6K/s 00:00:01 [#####################] 100%
    eclipse-3.5.1-1-x86_64 162.0M 457.1K/s 00:06:03 [#####################] 100%
    vim-7.2.266-1-x86_64 8.6M 437.9K/s 00:00:20 [#####################] 100%
    gvim-7.2.266-2-x86_64 1115.4K 216.9K/s 00:00:05 [#####################] 100%
    inkscape-0.46-13-x86_64 18.4M 464.6K/s 00:00:41 [#####################] 100%
    libical-0.44-1-x86_64 281.3K 283.7K/s 00:00:01 [#####################] 100%
    lm_sensors-3.1.1-2-... 133.2K 228.9K/s 00:00:01 [#####################] 100%
    redland-1.0.9-4-x86_64 307.4K 275.7K/s 00:00:01 [#####################] 100%
    error: error writing to file '/var/cache/pacman/pkg/openoffice-base-3.1.1-2-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'openoffice-base-3.1.1-2-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'openoffice-base-3.1.1-2-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/php-5.3.0-5-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'php-5.3.0-5-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'php-5.3.0-5-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/pstoedit-3.50-1-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'pstoedit-3.50-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'pstoedit-3.50-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/ruby-1.9.1_p243-2-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'ruby-1.9.1_p243-2-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'ruby-1.9.1_p243-2-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/soprano-2.3.1-1-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'soprano-2.3.1-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'soprano-2.3.1-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/texlive-bin-2009.4-1-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'texlive-bin-2009.4-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'texlive-bin-2009.4-1-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/texlive-core-2009.15574-1-any.pkg.tar.gz': No space left on device
    error: failed retrieving file 'texlive-core-2009.15574-1-any.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'texlive-core-2009.15574-1-any.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: error writing to file '/var/cache/pacman/pkg/xchat-2.8.6-5-x86_64.pkg.tar.gz': No space left on device
    error: failed retrieving file 'xchat-2.8.6-5-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : Not Found
    error: failed retrieving file 'xchat-2.8.6-5-x86_64.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (File unavailable (e.g., file not found, no access))
    Errors occurred, no packages were upgraded.
    ~ $
    Also, I haven't restarted my system yet. Should I try and see what happens?
    Thanks!

    This happened to me recently. I could not restart my laptop properly due to lack of space on my root partition.
    The error during boot was along the lines of:-
    Starting D-BUS system messagebus   - Failed
    Failed to start message bus: Failed to close "var/run/dbus.pid": No space left on drive
    Hardware Abstraction Layer - Failed
    everything else during the boot was as normal till I started to type in my username - but couldn't because the keyboard was inactive.
    I used a Wolvix live CD to investigate and found a QT4 file in the packman cache which was 6.9GB in size (compared to the normal 27mb size). Once that was deleted and the drive/partition error checked everything was back to normal. So before you reboot I would definitely recommend clearing any oversize file out of your packman cache, or just clearing the whole cache.
    Last edited by Nixie (2009-10-05 17:16:13)

  • IdM 8.1: Problems to provision Solaris 10 with non root user.

    Hello
    When IdM 8.1 tries to create a user into Solaris 10 I got this Error:
    com.waveset.util.WavesetException: An error occurred adding user 'testSolaris' to resource 'Test_Solaris'. com.waveset.util.WavesetException: Script failed waiting for "_,)#(:" in response "> > > > > > > > > > > pbmasterd3.5.4-01: 5408.07 select: Bad file number [email protected]: 3005 Request en...roblem in readMuxHeader fd 1. - fd closed unexpectedly [email protected]: 3005 Request ended unexpectedly " com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "> > > > > > > > > > > pbmasterd3.5.4-01: 5408.07 select: Bad file number [email protected]: 3005 Request ended unexpectedly pbmasterd3.5.4-01@pbr9c: 5430.1 header problem in readMuxHeader fd 1. - fd closed unexpectedly [email protected]: 3005 Request ended unexpectedly pbmasterd3.5.4-01@pbr9c: 5430.1 header problem in readMuxHeader fd 1. - fd closed unexpectedly [email protected]: 3005 Request ended unexpectedly pbmasterd3.5.4-01@pbr9c: 5430.1 header problem in readMuxHeader fd 1. - fd closed unexpectedly [email protected]: 3005 Request ended unexpectedly ".+
    *The non root user has the privileges that describes the IdM documentation. This error doesn't occure when the connection user is root.*
    *What's wrong?*

    The non - root doesn't work yet. I try to use a user with SUDO = TRUE but I got this error when I Test the connection:
    Script failed waiting for "ASSWORD:" in response "_,)#+(:" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "++_,)#+(:".+
    I haver already configured the parameter tty_tickets to TRUE and the sudoers file as following:
    +# sudoers file.+
    +#+
    +# This file MUST be edited with the 'visudo' command as root.+
    +#+
    +# See the sudoers man page for the details on how to write a sudoers file.+
    +#+
    ++Defaults syslog=auth+
    Defaults:idm_sudo       tty_tickets
    root    ALL=(ALL) ALL
    idm_sudo  ALL = NOPASSWD: /usr/bin/auths,/usr/sbin/groupadd,/usr/sbin/groupdel,/usr/sbin/groupmod,/usr/bin/last,/usr/bin/listusers,/usr/bin/logins,/usr/bin/passwd,/usr/bin/profiles,
    +/usr/bin/roles,/usr/sbin/useradd,/usr/sbin/userdel,/usr/sbin/usermod,/usr/bin/awk,/usr/bin/cat,/usr/bin/chmod,/usr/bin/chown,/usr/bin/cp,/usr/bin/cut,/usr/bin/diff,/usr/bin/echo,+
    +/usr/bin/grep,/usr/bin/ls,/usr/bin/mv,/usr/bin/rm,/usr/bin/sed,/usr/bin/sleep,/usr/bin/sort,/usr/bin/tail,/usr/bin/touch,/usr/bin/which+
    What's wrong?

Maybe you are looking for