Systemd Unit Fails at Boot, but Succeeds when Started from the
Console
by Jonathan Ryshpan
This unit
$ cat /etc/systemd/system/noip-duc.service
[Unit]
Description=No-IP Dynamic Update Client
After=network.target auditd.service
[Service]
EnvironmentFile=/etc/sysconfig/noip-duc
ExecStart=/usr/local/bin/noip-duc
Restart=on-failure
Type=simple
[Install]
WantedBy=multi-user.target
always fails at boot time with the message status=2/INVALIDARGUMENT
Here is an extract from the system log (a fuller extract is attached):
Mar 18 07:57:56 OaklandWeather.localdomain systemd[1]: Started noip-
duc.service - No-IP Dynamic Update Client.
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:
Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:
Failed with result 'exit-code'.
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:
Scheduled restart job, restart counter is at 1.
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: Stopped noip-
duc.service - No-IP Dynamic Update Client.
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: Started noip-
duc.service - No-IP Dynamic Update Client.
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:
Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:
Failed with result 'exit-code'.
Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:
Scheduled restart job, restart counter is at 2.
However if the unit is started from the console after the boot process
is complete:
$ systemctrl start noip-duc.service
it succeeds.
How can I find out what the argument is with which systemd is invoking
noip-duc, so I can understand why it is invalid at boot time but valid
when the unit is started afterwards from the console? I would simply
recompile it to output this, but noip-duc is written in the rust
programming language, which I to lazy to learn for this one application.
--
Sincerely Jonathan Ryshpan <jonrysh(a)pacbell.net>
We dance around in a ring and suppose
But the secret sits in the center and knows.
- Robert Frost
11 months, 3 weeks
Broken browser? Or broken website...
by Dave Close
Accessing a page on <https://discussion.fedoraproject.org/>, I am
presented with a banner reading, "Unfortunately, your browser is
unsupported. Please switch to a supported browser to view rich content,
log in and reply." I am unable to scroll beyond the portion of the
page immediately visible.
But, of course, I didn't ask for any support. I recognize that my
browsers of choice may not properly render some web sites that choose
to use some newer facilities. ("rich content", indeed! I'd be very happy
without "rich" content.) If I'm stuck, I can use a different browser;
I know how to do that.
I wouldn't object to a banner warning me that some parts of the site
might not render properly on my browser. But fedoraproject.org takes
things further by refusing to allow the entire page to load. I resent
their patronizing and holier-than-thou attitude.
Unfortunately, fedoraproject.org is not the only place I've encountered
this abomination. What gives the administrators of these places their
special rights to control the rest of us?
--
Dave Close, Compata, Irvine CA +1 714 434 7359
dave(a)compata.com dhclose(a)alumni.caltech.edu
"Computers are useless. They can only give you answers."
-- Pablo Picasso
11 months, 3 weeks
F38/Xfce restoring apps on login
by Robert Moskowitz
What do I set so that the apps I had running the last login are
autorestarted?
That is the behavior I am use to, but I can't figure out what is
different that on this new F38, I start up on login with nothing running.
thanks
11 months, 4 weeks
f38 upgrade :: rpm signature breakage
by Adrian Sevcenco
Hi! after the update, when i try to use rpm i get:
root@hal: ~ # rpm -qa | grep kernel
error: rpmdbNextIterator: skipping h# 230
Header V4 DSA/SHA256 Signature, key ID 3cdbbc71: BAD
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h# 231
Header V4 DSA/SHA256 Signature, key ID 3cdbbc71: BAD
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h# 232
Header V4 DSA/SHA256 Signature, key ID 3cdbbc71: BAD
Header SHA1 digest: OK
.... (many other lines)
--rebuilddb did not change anything ..
does anyone have any idea what could be wrong?
Thanks a lot!
Adrian
11 months, 4 weeks
htpasswd weirdness
by Patrick O'Callaghan
My small web server is now mostly working, but I'm having a very
strange problem. I can *usually* add user accounts from the Shell using
htpasswd, and they can log in successfully.
Except when I can't.
In *some" cases, usernames are added to the password file, and the
password verifies correctly (using 'htppasswd -v ...'), but Apache
still throws an error, e.g.:
[Sat Apr 29 17:12:10.790251 2023] [authz_core:error] [pid 17622:tid 17769] [client 82.69.61.82:40716] AH01631: user notatest: authorization failure for "/":
(NB: "authorization failure", not "authentication failure" as with a
password mismatch.)
Since these are all fictitious users (i.e. not local UIDs) I don't
understand what's going on. Either it should always work or always
fail.
Suggestions welcome.
poc
11 months, 4 weeks
F38/Xfce can't rename printer
by Robert Moskowitz
HP Tools did not recognize my printer that I installed via Print Settings.
So I let HP Tools do its thing to install the printer again. I then
deleted the old printer.
Now I want to rename what HP Tools installed "Office_Pro_8600" to just
HP8600.
When, in Print Settings, I select Printer -> Rename, I get a dialog that
"Renaming will loose History". I click OK and nothing happens. No
dialog to rename the printer.
How do I rename this printer queue?
thanks
11 months, 4 weeks
F38 with Xfce - alt-F4 switches terminal not close window
by Robert Moskowitz
I just did an upgrade from F37 to F38. I really did not use this system
on F37, still for the most part using my F35 system (mostly migrated
now), but...
<alt-F4> was for closing a window, and <shift-alt-F4> for switching
terminal sessions with session F1 being the graphic one.
Now both switch terminal sessions.
It seems that whatever <alt-F?> should have done still took place as
well as the session switch.
thanks
11 months, 4 weeks
saving backward compatibility :-)
by Tom Horsley
I'd wager there are shell scripts using fgrep that were written on
the first pdp-11 unix and are still in use today, but appeasing
someone's OCD is more important than backward compatibility for
tens of thousands of systems all over the world. OK fine, I know
I'll lose any argument here, so I've used my "big hammer" to
write some new scripts to fix the issues I've found so far:
https://tomhorsley.com/game/Mjolnir.html
Whenever a dnf update brings back the stderr message for egrep
and fgrep, I've got a script that copies the egrep and fgrep
from fedora 37 that I saved off back over the top of the egrep
and fgrep scripts in /usr/bin :-). No more annoying stderr spew.
Also the -p and -i options of uname were broken, so another script
I have notices if uname stops working again and moves the new
/usr/bin/uname to /usr/bin/uname.real and copies in a unmae script
that swaps a -i or -p option to be -m instead then invokes
uname.real
At least my sanity is saved :-).
11 months, 4 weeks
Post F38 upgrade/install printing in mirror image from HP P3015
by Max Pyziur
Greetings,
I'm stumbling through both an F38 upgrade and a new installation (the
latter due to an F38 major upgrade problem). Thankfully, data has been
saved and recovered.
But problems arise (sort of like knowing how to drive a 2000 model year
vehicle and then being confronted with a 2020 model year one).
Two problems:
1) On both machines, printing to my HP P3015 produces a mirror image when
printing from a browser.
2) When using paps to print text files, the result is raw postscript,
meaning multiple pages when one was expected.
Advice?
Max
11 months, 4 weeks
Fwd: hp - windows media creation tool
by Luna Jernberg
---------- Forwarded message ---------
From: bruce <badouglas(a)gmail.com>
Date: Fri, Apr 28, 2023 at 7:38 PM
Subject: Re: hp - windows media creation tool
To: Luna Jernberg <droidbittin(a)gmail.com>
Hi Luna,
Thanks for the reply. I wasn't so much interested in the "windows"
side of things. But, rather anyone had managed to have windows, use
the tool, then install linux/fedora, and reinstall windows as a test.
This is why I posted here... for the fedora to windows reinstall portion..
thanks!
On Fri, Apr 28, 2023 at 1:07 PM Luna Jernberg <droidbittin(a)gmail.com> wrote:
>
> https://www.microsoft.com/software-download/windows11 Microsoft has a
> site to make a Windows 11 USB with a tool not sure if the Fedora list
> is the best place for Windows questions however but answering anyways
>
> On Fri, Apr 28, 2023 at 5:51 PM bruce <badouglas(a)gmail.com> wrote:
> >
> > Hey.
> >
> > Looking over hp's laptops. They come with windows 11. I was wondering
> > if the hp - windows mediacreationtool actually works to copy the
> > windows OS to a usb so I can restore if required.
> >
> > Thought I'd ask the list if anyone has used this tool to copy/restore
> > windows after installing fedora.
> >
> > The docs/sites imply it should work.
> >
> > Thoughts/comments.
> >
> > thanks!
> > _______________________________________________
> > users mailing list -- users(a)lists.fedoraproject.org
> > To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
> > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
11 months, 4 weeks