Ask Your Question

shatadru's profile - activity

2016-02-28 14:35:27 -0500 received badge  Nice Question (source)
2016-02-28 14:35:00 -0500 received badge  Popular Question (source)
2016-02-28 14:35:00 -0500 received badge  Famous Question (source)
2016-02-28 14:35:00 -0500 received badge  Notable Question (source)
2015-07-09 07:48:02 -0500 commented question Using HTTP instead of HTTPS in dnf when downloading

Change the repo link to http ? And it should work if it is available through http

baseurl=http://url.com/
       or 
metalink=http://url.com/

btw, you can actually use yum, #yum-deprecated (till date)

2015-07-09 07:38:52 -0500 commented question How to auto mount Luks encrypted partition at boot in Fedora 22

Thanks for the reply. @randomuser : True. The next plan is putting it(the kery file) in a USB and if the USB is mounted then only it will work. However atleast it should work as per "man 5 crypttab"

 The third field specifies the encryption password. If the field is not present or the password is set to "none" or "-", the password has to be manually entered during system boot. Otherwise, the field is interpreted as a absolute path to a file containing the encryption password.

@krishnayeddula : I have already edited /etc/crypttab and made sure changes were populated in initramfs

2015-07-08 23:08:44 -0500 received badge  Student (source)
2015-07-08 17:40:17 -0500 asked a question How to auto mount Luks encrypted partition at boot in Fedora 22

Partition format :

|    Hard drive (/dev/sda)       |
| /boot      |  Encrypted Volume |
|/dev/sda1   | /dev/sda2         |
|            |  LVM (root,home)  |

Here is my fstab :

/dev/mapper/fedora21-root /                       ext4    defaults,x-systemd.device-timeout=0 1 1
UUID=<uuid> /boot                   ext4    defaults        1 2

Here is my /ect/crypttab :

luks UUID=<luks uuid> /boot/key_luks luks

I have added the key (/boot/key_luks) in one of the key slot of Luks

However while boot it is asking for password, is there a guide to properly automount a Lulks partition ? When only encrypted volume is /boot ?

JFYI : Added the key using following command :

  #dd if=/dev/urandom of=/boot/key_luks bs=1024 count=4
  #cryptsetup luksAddKey /dev/sda2 /boot/key_luks

Edit: Also rebuilt the initramfs and checked the changes were reflected in the initramfs. However It is still asking for password!

2015-06-05 20:19:13 -0500 received badge  Supporter (source)
2015-06-05 20:13:07 -0500 received badge  Editor (source)
2015-06-05 20:11:20 -0500 answered a question Nothing works

Hello,

I use the following :

  1. Video editor - Pitvi
  2. Media Burner - Brasero

Both of them works pretty well for me.

Could you please elaborate what kind of files you are trying to open and the exact steps you are following ?

Also you can use to install packages usimg following commands :

 #dnf install <package-name>   ##F22
 #yum localinstall <package-name>  ## <= F21

This will give you details why the installed failed.

I did not get what is the exact issue you are facing while running a Live OS

As @aeperezt pointed out, you might also want to install "fedy" for codecs, which will enable the required repos.

2015-06-05 19:43:37 -0500 commented question Totem Video player unable to start on Fedora 22

Are you getting any error if you run it from a terminal ?

You can also check the strace for details :

strace -f totem

Reference: strace man page

2015-06-05 19:31:05 -0500 commented answer Knowing exact time of power outage looking on system logs files

You can check journal logs just before reboot:

journalctl |grep -B20 -i '\- reboot \-'

If sysstat is installed and configured to collect data in regular interval you can check sar/sa files under /var/logs/sa/

Apart from that you can check different log files (e.g. access log in case of http server)

However none of them will ensure the exact shutdown time.

In case of a sever you can check hardware logs to check the exact outage time.

2015-05-27 22:06:08 -0500 received badge  Teacher (source)
2015-05-27 13:47:20 -0500 answered a question Slow laptop after update Fedora 21 to Fedora 22

You can start basic troubleshooting by checking sar,top,free etc. Then you can check strace :

 strace -f <command>
 strace -cf <command>

Best Regards Shatadru B.

2015-05-27 13:45:56 -0500 answered a question Knowing exact time of power outage looking on system logs files

You can write a script to save current time in X seconds interval and run it in background : eg

bash script.sh &

Script :

#!/bin/bash
while (true)
do
date > /var/log/tick
sleep X
done

For a better solution you can create a systemd unit which will run this on system startup, however in that case you have to make sure when the script is run, it archives the old file "/var/log/tick" You can add the following line in script before the loop:

tar cvf /var/log/tick-`date +%d%m%y_%H%M%S`.tar /var/log/tick

This will work in case of power outage, system or application initiated reboot or even a panic.

However if the system is hung this will not be much of help.