Hi Gang,
A number of times f18 has become stuck for so long that I felt it necessary to call the command reboot. Certain times a dracut command line shows up and I call systemctl, which shows what it does, and with little-to-no current technical training, I have little understanding of what I am looking for. Is there some way to call systemctl, get the same information, and paste this information here in an email for someone to look at? and perhaps let me know what to look for?
Thanks
Richard
On 04/06/2013 03:47 PM, Richard Vickery wrote:
I have little understanding of what I am looking for. Is there some way to call systemctl, get the same information, and paste this information here in an email for someone to look at? and perhaps let me know what to look for?
If you're logged in as root, you can redirect the output to a file, like this:
systemctl status foo.service > foo.txt
which would put it into /root/foo.txt. Then, you can copy the contents of the file into your message after you've rebooted correctly.
On 7 Apr 2013, at 01:22, Joe Zeff joe@zeff.us wrote:
On 04/06/2013 03:47 PM, Richard Vickery wrote:
I have little understanding of what I am looking for. Is there some way to call systemctl, get the same information, and paste this information here in an email for someone to look at? and perhaps let me know what to look for?
If you're logged in as root, you can redirect the output to a file, like this:
systemctl status foo.service > foo.txt
which would put it into /root/foo.txt. Then, you can copy the contents of the file into your message after you've rebooted correctly.
At the risk of being pedantic, that command will put a text file in the current working directory. Which could be anywhere if you've done a cd
systemctl status foo.service > ~/foo.txt
Will always put it into the home directory. (/root for the root user)
Junk.
On Apr 7, 2013 7:12 AM, "Junk" junk@therobinsonfamily.net wrote:
On 7 Apr 2013, at 01:22, Joe Zeff joe@zeff.us wrote:
On 04/06/2013 03:47 PM, Richard Vickery wrote:
I have little understanding of what I am looking for. Is there some way to call systemctl, get the same information, and paste this information here in an email for someone to look at? and perhaps let me know what
to
look for?
If you're logged in as root, you can redirect the output to a file,
like this:
systemctl status foo.service > foo.txt
which would put it into /root/foo.txt. Then, you can copy the contents
of the file into your message after you've rebooted correctly.
--
At the risk of being pedantic, that command will put a text file in the
current working directory. Which could be anywhere if you've done a cd
systemctl status foo.service > ~/foo.txt
Will always put it into the home directory. (/root for the root user)
Junk.
I believe I have used Linux long enough to be aware of what tilda, the ~, represents.
On 04/07/13 11:57, Richard Vickery wrote:
On Apr 7, 2013 7:12 AM, "Junk" <junk@therobinsonfamily.net mailto:junk@therobinsonfamily.net> wrote:
On 7 Apr 2013, at 01:22, Joe Zeff <joe@zeff.us mailto:joe@zeff.us> wrote:
On 04/06/2013 03:47 PM, Richard Vickery wrote:
I have little understanding of what I am looking for. Is there some way to call systemctl, get the same information, and paste this information here in an email for someone to look at? and perhaps let me know what to look for?
If you're logged in as root, you can redirect the output to a file, like this:
systemctl status foo.service > foo.txt
which would put it into /root/foo.txt. Then, you can copy the contents of the file into your message after you've rebooted
correctly.
--
At the risk of being pedantic, that command will put a text file in the current working directory. Which could be anywhere if
you've done a cd
systemctl status foo.service > ~/foo.txt
Will always put it into the home directory. (/root for the root user)
Junk.
I believe I have used Linux long enough to be aware of what tilda, the ~, represents.
But perhaps others reading this thread have not and are not aware of what ~ will do.
Kevin
On Apr 7, 2013 9:57 AM, "Richard Vickery" richard.vickeryrv@gmail.com wrote:
On Apr 7, 2013 7:12 AM, "Junk" junk@therobinsonfamily.net wrote:
On 7 Apr 2013, at 01:22, Joe Zeff joe@zeff.us wrote:
On 04/06/2013 03:47 PM, Richard Vickery wrote:
I have little understanding of what I am looking for. Is there some
way
to call systemctl, get the same information, and paste this
information
here in an email for someone to look at? and perhaps let me know
what to
look for?
If you're logged in as root, you can redirect the output to a file,
like this:
systemctl status foo.service > foo.txt
which would put it into /root/foo.txt. Then, you can copy the
contents of the file into your message after you've rebooted correctly.
--
At the risk of being pedantic, that command will put a text file in the
current working directory. Which could be anywhere if you've done a cd
systemctl status foo.service > ~/foo.txt
Will always put it into the home directory. (/root for the root user)
Junk.
I believe I have used Linux long enough to be aware of what tilda, the ~,
represents.
Doesn't this tilda put the command in the file in which one is working? When the system boots up in [dracut], how is a political scientist / aspiring lawyer who users Linux and does this contribution on his sabbaticals supposed to know where dracut's home is mapped on the filling system? It's far easier for me to find the file in root, or end the command with "...service > /home/(user)/foo.txt
Allegedly, on or about 07 April 2013, Richard Vickery sent:
Doesn't this tilda put the command in the file in which one is working? When the system boots up in [dracut], how is a political scientist / aspiring lawyer who users Linux and does this contribution on his sabbaticals supposed to know where dracut's home is mapped on the filling system? It's far easier for me to find the file in root, or end the command with "...service > /home/(user)/foo.txt
The tilde refers to your homespace. So, for whoever's logged on, a file path like this ~/example.text refers to an example.text file in the root of *their* homespace. The advantage of this, apart from far less typing, is not having to do the /home/(user)/ prefix typing that you've mentioned, and which some people will just not understand that they're expected to replace (user) with their own username, when they see such instructions on mailing lists.
The tilde refers to your homespace. So, for whoever's logged on, a file
path like this ~/example.text refers to an example.text file in the root of *their* homespace. The advantage of this, apart from far less typing, is not having to do the /home/(user)/ prefix typing that you've mentioned, and which some people will just not understand that they're expected to replace (user) with their own username, when they see such instructions on mailing lists.
You have made my exact point in you're first two lines. who - or where - is dracut's homespace. On a dracut boot, it doesn't appear that I am logged it as my home user.
On 04/08/2013 09:28 AM, Richard Vickery wrote:
You have made my exact point in you're first two lines. who - or where - is dracut's homespace. On a dracut boot, it doesn't appear that I am logged it as my home user.
I've always presumed root. Next time it happens, use whoami to find out.
Tim:
The tilde refers to your homespace. So, for whoever's logged on, a file path like this ~/example.text refers to an example.text file in the root of *their* homespace.
Richard Vickery:
You have made my exact point in you're first two lines. who - or where
- is dracut's homespace. On a dracut boot, it doesn't appear that I
am logged it as my home user.
Well, if you're logged in as the user that you're modifying, you don't even need to know. Writing a ~/file puts the "file" where it needs to be. *That* user's home space.
Am 09.04.2013 10:14, schrieb Tim:
Tim:
The tilde refers to your homespace. So, for whoever's logged on, a file path like this ~/example.text refers to an example.text file in the root of *their* homespace.
Richard Vickery:
You have made my exact point in you're first two lines. who - or where
- is dracut's homespace. On a dracut boot, it doesn't appear that I
am logged it as my home user.
Well, if you're logged in as the user that you're modifying, you don't even need to know. Writing a ~/file puts the "file" where it needs to be. *That* user's home space
and you even refuse to understand that the dracut shell may be very special depending on why you landed there and maybe you write tthe output to the temporary initramfs
PERIOD: you should ALWAYS know where you are save files and not rely on wonders and magic which may surprise you
Allegedly, on or about 09 April 2013, Reindl Harald sent:
and you even refuse to understand that the dracut shell may be very special depending on why you landed there and maybe you write tthe output to the temporary initramfs
PERIOD: you should ALWAYS know where you are save files and not rely on wonders and magic which may surprise you
It's about fucking time you learnt to stop being an asshole every time you write a reply. Quite frankly, I've had it with being nice to you, you're going to get foul language from me, from now on, any time that you deserve it. I've put up with it far too much, so has everyone else, yet you carry on despite it being brought to your attention on several occasions.
It's dead easy to find out where you currently are. The pwd command shows you that, if you have to ask.
There's nothing unusual about the tilde representing the logon's homespace, it's a very old technique. You're also going to find out, quite quickly, when you're in an environment that doesn't use the tilde in the usual way, as you're going to get an error.
As directions over a mailing list go, it's going to be far more predictable to tell someone to do something like
cp /etc/filename ~/
And have it do what you expect it to do, than try to explain to someone about typing "the full /home/username filepath, replacing 'username' with your actual username." Hell, I've just demonstrated that with a sentence versus two characters.
Am 09.04.2013 15:21, schrieb Tim:
Allegedly, on or about 09 April 2013, Reindl Harald sent:
and you even refuse to understand that the dracut shell may be very special depending on why you landed there and maybe you write tthe output to the temporary initramfs
PERIOD: you should ALWAYS know where you are save files and not rely on wonders and magic which may surprise you
It's about fucking time you learnt to stop being an asshole every time you write a reply. Quite frankly, I've had it with being nice to you, you're going to get foul language from me, from now on, any time that you deserve it. I've put up with it far too much, so has everyone else, yet you carry on despite it being brought to your attention on several occasions.
what is your problem? you have no idea how it sounds if i am an asshole
It's dead easy to find out where you currently are. The pwd command shows you that, if you have to ask.
FOR YOU FOR ME NOT FOR THE AVERAGE USER
There's nothing unusual about the tilde representing the logon's homespace, it's a very old technique. You're also going to find out, quite quickly, when you're in an environment that doesn't use the tilde in the usual way, as you're going to get an error.
YES BUT WE SPEAK ABOUT A DRACUT-RESCUE SHELL AND NOT THE NORMAL FILESYSTEM
As directions over a mailing list go, it's going to be far more predictable to tell someone to do something like
cp /etc/filename ~/
YES BUT WE SPEAK ABOUT A DRACUT-RESCUE SHELL AND NOT THE NORMAL FILESYSTEM
And have it do what you expect it to do, than try to explain to someone about typing "the full /home/username filepath, replacing 'username' with your actual username." Hell, I've just demonstrated that with a sentence versus two characters
YES BUT WE SPEAK ABOUT A DRACUT-RESCUE SHELL AND NOT THE NORMAL FILESYSTEM
On Tue, Apr 09, 2013 at 15:24:58 +0200, Reindl Harald h.reindl@thelounge.net wrote:
what is your problem? you have no idea how it sounds if i am an asshole
To native English speakers your style of writing reflects poorly on you. Using less hyperbole when responding to people would help with that. More "I think" and "in my opinion" prefixing statements that are not clearly facts will also help.
I doubt you are actually an asshole, since you do seem to be really trying to help people, but the help is in such a negative style that it puts a number of people off.
On 04/09/13 09:48, Bruno Wolff III wrote:
On Tue, Apr 09, 2013 at 15:24:58 +0200, Reindl Harald h.reindl@thelounge.net wrote:
what is your problem? you have no idea how it sounds if i am an asshole
To native English speakers your style of writing reflects poorly on you. Using less hyperbole when responding to people would help with that. More "I think" and "in my opinion" prefixing statements that are not clearly facts will also help.
I doubt you are actually an asshole, since you do seem to be really trying to help people, but the help is in such a negative style that it puts a number of people off.
Exactly. You are obviously very knowledgeable but the manner in which you provide that knowledge is off-putting at best and arrogant at the least. It gets to the point where reading your answers to peoples questions, while technically sound, are so annoying that I would rather not have had your answer in the first place. You may feel that it's ok to demean people (either directly or indirectly) as long as you are answering their question, but it's not and it makes this list a much less useful resource as a result.
Kevin
On Apr 9, 2013 6:25 AM, "Reindl Harald" h.reindl@thelounge.net wrote:
Am 09.04.2013 15:21, schrieb Tim:
Allegedly, on or about 09 April 2013, Reindl Harald sent:
and you even refuse to understand that the dracut shell may be very special depending on why you landed there and maybe you write tthe output to the temporary initramfs
PERIOD: you should ALWAYS know where you are save files and not rely on wonders and magic which may surprise you
It's about fucking time you learnt to stop being an asshole every time you write a reply. Quite frankly, I've had it with being nice to you, you're going to get foul language from me, from now on, any time that you deserve it. I've put up with it far too much, so has everyone else, yet you carry on despite it being brought to your attention on several occasions.
what is your problem? you have no idea how it sounds if i am an asshole
It's dead easy to find out where you currently are. The pwd command shows you that, if you have to ask.
FOR YOU FOR ME NOT FOR THE AVERAGE USER
There's nothing unusual about the tilde representing the logon's homespace, it's a very old technique. You're also going to find out, quite quickly, when you're in an environment that doesn't use the tilde in the usual way, as you're going to get an error.
YES BUT WE SPEAK ABOUT A DRACUT-RESCUE SHELL AND NOT THE NORMAL FILESYSTEM
As directions over a mailing list go, it's going to be far more predictable to tell someone to do something like
cp /etc/filename ~/
YES BUT WE SPEAK ABOUT A DRACUT-RESCUE SHELL AND NOT THE NORMAL FILESYSTEM
And have it do what you expect it to do, than try to explain to someone about typing "the full /home/username filepath, replacing 'username' with your actual username." Hell, I've just demonstrated that with a sentence versus two characters
YES BUT WE SPEAK ABOUT A DRACUT-RESCUE SHELL AND NOT THE NORMAL FILESYSTEM
--
LOL nice one Reindl!!!
On 04/09/13 08:21, Tim wrote:
Allegedly, on or about 09 April 2013, Reindl Harald sent:
and you even refuse to understand that the dracut shell may be very special depending on why you landed there and maybe you write tthe output to the temporary initramfs
PERIOD: you should ALWAYS know where you are save files and not rely on wonders and magic which may surprise you
It's about fucking time you learnt to stop being an asshole every time you write a reply. Quite frankly, I've had it with being nice to you, you're going to get foul language from me, from now on, any time that you deserve it. I've put up with it far too much, so has everyone else, yet you carry on despite it being brought to your attention on several occasions.
It's dead easy to find out where you currently are. The pwd command shows you that, if you have to ask.
There's nothing unusual about the tilde representing the logon's homespace, it's a very old technique. You're also going to find out, quite quickly, when you're in an environment that doesn't use the tilde in the usual way, as you're going to get an error.
As directions over a mailing list go, it's going to be far more predictable to tell someone to do something like
cp /etc/filename ~/
And have it do what you expect it to do, than try to explain to someone about typing "the full /home/username filepath, replacing 'username' with your actual username." Hell, I've just demonstrated that with a sentence versus two characters.
+1 Tim. I agree with your comments and am sick of seeing people on this list (and others) that can't answer questions without attacking the intelligence of the questioners. So what if you've been an admin/engineer/developer for 30 years (as I'm approaching); not everybody has learned everything you have at this point and are looking for information from those who are more knowledgeable, not derision.
As for using ~ instead of /home/username, while unusual it's definitely possible for somebody to *not* have their homespace under /home. For example, on many machines I've seen root's homespace as simply /root, not /home/root (and other special usernames that applications runas are often homed to the application path) so using the /home/username convention fails in that case anyway.
Kevin
Am 09.04.2013 15:30, schrieb Kevin Martin:
As for using ~ instead of /home/username, while unusual it's definitely possible for somebody to *not* have their homespace under /home. For example, on many machines I've seen root's homespace as simply /root, not /home/root (and other special usernames that applications runas are often homed to the application path) so using the /home/username convention fails in that case anyway.
did Tim and you read the subject "Dracut on reboot"? who the hell tells you that you have your normal env in that case?
https://fedoraproject.org/wiki/How_to_debug_Dracut_problems#Using_the_dracut... From the dracut debug shell, you can manually perform the task of locating and preparing your root volume for boot. The required steps will depend on how your root volume is configured. Common scenarios include:
Allegedly, on or about 09 April 2013, Kevin Martin sent:
As for using ~ instead of /home/username, while unusual it's definitely possible for somebody to *not* have their homespace under /home. For example, on many machines I've seen root's homespace as simply /root, not /home/root (and other special usernames that applications runas are often homed to the application path) so using the /home/username convention fails in that case anyway.
... And the ~/ convention works like most of expects it to. There's probably a very large number of users where home is over a network, and might not be mapped into the /home/username convention, at all.
On all the RedHat and Fedora Linux installed machines, that I've seen, and a few others, the root user's homespace was always /root. The logic being that / would always have to be mounted, but /home might only be there on a computer that was up and running in the normal manner.
I've yet to see a daemons have a /home/daemonname space, those that have a homespace could have one anywhere on the filesystem tree, but usually disallowing logons. (Temporarily making it possible for gdm to logon was the trick I used to make it possible to customise the gdm logon screen.) If you look through /etc/password, you can see that there's a plethora of different places set up as the homespace for them (/etc/daemonname, /usr/share/daemonname, /var/lib/daemonname, /var/spool/daemonname, just to name a few of them).
On 04/09/2013 06:30 AM, Kevin Martin wrote:
For example, on many machines I've seen root's homespace as simply /root, not /home/root (and other special usernames that applications runas are often homed to the application path) so using the /home/username convention fails in that case anyway.
I think that's standard so that root's home space will be available even if /home is on a separate partition and isn't currently mounted.
On Apr 9, 2013 6:21 AM, "Tim" ignored_mailbox@yahoo.com.au wrote:
Allegedly, on or about 09 April 2013, Reindl Harald sent:
and you even refuse to understand that the dracut shell may be very special depending on why you landed there and maybe you write tthe output to the temporary initramfs
PERIOD: you should ALWAYS know where you are save files and not rely on wonders and magic which may surprise you
It's about fucking time you learnt to stop being an asshole every time you write a reply. Quite frankly, I've had it with being nice to you, you're going to get foul language from me, from now on, any time that you deserve it. I've put up with it far too much, so has everyone else, yet you carry on despite it being brought to your attention on several occasions.
Unlike yourself, Tim, as you suggest in this quote, some of us are compassionate enough to get past language barriers
On Apr 9, 2013 10:43 AM, "Joe Zeff" joe@zeff.us wrote:
On 04/09/2013 08:24 AM, Richard Vickery wrote:
Unlike yourself, Tim, as you suggest in this quote, some of us are compassionate enough to get past language barriers
Language differences aren't the issue. Common courtesy is.
--
Is it not possible to read passed swearing to the real issues? If someone uses vulgar language, and meaning to, just ignore it and raffle the good that is in the message?
On 04/09/2013 02:51 PM, Richard Vickery wrote:
Is it not possible to read passed swearing to the real issues? If someone uses vulgar language, and meaning to, just ignore it and raffle the good that is in the message?
I do, for the most part, especially if I know that the poster's native language isn't English. I also do my best to ignore the accidental gibberish caused by using the wrong words, preferring to translate them into what the writer probably meant. Of course, when the poster's name suggests that they grew up using English, I tend to channel the spirit of Professor Henry Higgins.
On 04/09/2013 03:14 AM, Tim wrote:
Tim:
The tilde refers to your homespace. So, for whoever's logged on, a file path like this ~/example.text refers to an example.text file in the root of *their* homespace.
Richard Vickery:
You have made my exact point in you're first two lines. who - or where
- is dracut's homespace. On a dracut boot, it doesn't appear that I
am logged it as my home user.
Well, if you're logged in as the user that you're modifying, you don't even need to know. Writing a ~/file puts the "file" where it needs to be. *That* user's home space.
When you are at the "dracut:/#" prompt, you are still running from the initramfs, probably without even the normal root filesystem mounted, and "~" resolves to the root directory in the initramfs. Storing anything there would be pointless. The only clue as to what went wrong is in the message that preceded the "dracut:/#" prompt.
On 04/09/2013 08:03 PM, Robert Nichols wrote:
When you are at the "dracut:/#" prompt, you are still running from the initramfs, probably without even the normal root filesystem mounted, and "~" resolves to the root directory in the initramfs. Storing anything there would be pointless. The only clue as to what went wrong is in the message that preceded the "dracut:/#" prompt.
If that's true, there's no point in trying to save a file for later because when you reboot, it's gone. Right?
Am 10.04.2013 07:00, schrieb Joe Zeff:
On 04/09/2013 08:03 PM, Robert Nichols wrote:
When you are at the "dracut:/#" prompt, you are still running from the initramfs, probably without even the normal root filesystem mounted, and "~" resolves to the root directory in the initramfs. Storing anything there would be pointless. The only clue as to what went wrong is in the message that preceded the "dracut:/#" prompt.
If that's true, there's no point in trying to save a file for later because when you reboot, it's gone. Right?
yes and that is what i tried to explain before Tim drove crazy and called me an asshole.............
On 04/09/2013 11:34 PM, Reindl Harald wrote:
yes and that is what i tried to explain before Tim drove crazy and called me an asshole.............
Maybe if you had simply said what you meant that wouldn't have happened. Instead, you responded in a rude and arrogant manner, refused to explain what you meant and (in short) acted like an asshole. Let this be a learning experience about the value of courtesy and why you don't assume that your audience will always understand obscure things that you find obvious.
Am 10.04.2013 07:00, schrieb Joe Zeff:
On 04/09/2013 08:03 PM, Robert Nichols wrote:
When you are at the "dracut:/#" prompt, you are still running from the initramfs, probably without even the normal root filesystem mounted, and "~" resolves to the root directory in the initramfs. Storing anything there would be pointless. The only clue as to what went wrong is in the message that preceded the "dracut:/#" prompt.
If that's true, there's no point in trying to save a file for later because when you reboot, it's gone. Right?
Well, the strategy here is to mount /boot and save any files there for later inspection. /boot is chosen, because it's a simple partition.
Am 10.04.2013 10:55, schrieb poma:
On 10.04.2013 10:07, Harald Hoyer wrote:
Well, the strategy here is to mount /boot and save any files there for later inspection. /boot is chosen, because it's a simple partition.
*boot* *simple* Only if you follow Fedora's install guidance. :)
poma
Or just stick in a USB stick and mount that.
On 10.04.2013 12:07, Harald Hoyer wrote:
Am 10.04.2013 10:55, schrieb poma:
On 10.04.2013 10:07, Harald Hoyer wrote:
Well, the strategy here is to mount /boot and save any files there for later inspection. /boot is chosen, because it's a simple partition.
*boot* *simple* Only if you follow Fedora's install guidance. :)
[…]
Or just stick in a USB stick and mount that.
:) I'm just saying that things are more complicated than they seem at first glance.
poma
Am 07.04.2013 00:47, schrieb Richard Vickery:
Hi Gang,
A number of times f18 has become stuck for so long that I felt it necessary to call the command reboot. Certain times a dracut command line shows up and I call systemctl, which shows what it does, and with little-to-no current technical training, I have little understanding of what I am looking for. Is there some way to call systemctl, get the same information, and paste this information here in an email for someone to look at? and perhaps let me know what to look for?
Thanks
Richard
You are probably looking for dracut-shutdown.service
# journalctl -u dracut-shutdown.service
Does it fail to run, or what is the message?
On Apr 8, 2013 12:03 AM, "Harald Hoyer" harald.hoyer@gmail.com wrote:
Am 07.04.2013 00:47, schrieb Richard Vickery:
Hi Gang,
A number of times f18 has become stuck for so long that I felt it
necessary to
call the command reboot. Certain times a dracut command line shows up
and I call
systemctl, which shows what it does, and with little-to-no current
technical
training, I have little understanding of what I am looking for. Is
there some
way to call systemctl, get the same information, and paste this
information here
in an email for someone to look at? and perhaps let me know what to
look for?
Thanks
Richard
You are probably looking for dracut-shutdown.service
# journalctl -u dracut-shutdown.service
Does it fail to run, or what is the message?
I haven't had a dracut reboot since, though I am longing to so that I can post it to the group for help.
In re-reading that I'm laughing - it sounds hilarious that I a wishing, hoping, and looking for trouble from the computer.