The officially official Devuan Forum!

You are not logged in.

#551 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-06 15:39:54

Ron

Adding haveged as GNUser suggested seems to have fixed the problem (thanks GNUser!). Is this installed by default on Jessie?

#552 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-06 14:24:30

Ron
wdq wrote:

What i would do is press E on grub remove the " quiet " and see when it boot where it hangs or what error spits out .

The problem is not during the boot. It's during the login to the OS.

#553 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-06 02:49:45

Ron

Just reinstalled Ascii. I'm still getting the long login time even before I have done anything with it (logged in twice so far). I don't remember this happening when I first installed Ascii (I mean before the changes I had made). I'm stumped on this. I guess I'll just have to wait for an updated Ascii in the future. Unless anyone has any ideas.

If I wipe the partition Ascii is on, and consolidate it back onto the Jessie partition, will that mess up the grub boot loader? If so, how would I fix it?

#554 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-05 13:50:24

Ron

I'll try an OS reinstall without deleting anything. But I won't be able to get to it until late tonight. Will post results back later tonight.

#555 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-05 03:45:07

Ron

Thanks for the help so far.

MiyoLinux wrote:
Okay, I'm nearing the end of my knowledge. I'm seriously wondering how much the deletion of Openbox and the change to Mate under the "still being developed Ascii" is influencing this; however, let's try one more thing...

That didn't work. What was that supposed do? Before I made this edit I was able to press F1  and get "Session: Mate." (After the edit I still had to press F1 to get it.)

Another thing I should mention. I notice that about maybe 1 out of 6 times it will login very quickly.

golinux wrote:
Keeping in mind that slim and lightdm require different backends iirc.

So if I wanted to switch to lightdm, does that mean that I would need to install something else along with it?

#556 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-05 02:22:16

Ron

Only a Mate file is in there. Any other ideas?

#557 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-05 01:49:00

Ron

MiyoLinux wrote:
Yes, change those lines so that they look like this...

default_user ron
# Set to "yes" to enable this feature
focus_password      yes

Great. This worked! But still have the very long login time. Is there anything I can check or do about it to help?

#558 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-05 00:46:37

Ron

Thanks MiyoLinux. Your fix for sudo worked. Also your login screen workaround also worked. But I would really like to just be prompted for my password. I noticed in slim.conf these 3 lines:

#default_user miyo
# Set to "yes" to enable this feature
#focus_password      no

If I change miyo to ron and change no to yes, would that get me what I want?

Also, I made a mistake saying boot time. I meant login time. From the time I enter my password and hit enter, it takes 27 seconds to log in. However, I notice that if I giggle the mouse while I'm waiting that that speeds up the login.

Also I should mention that I installed the Mate desktop and uninstalled openbox, all things Xfce, and the other thing I can't remember, I think it ends in "fm." I did the same thing in Jessie and had no problems.

#559 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-04 22:05:39

Ron

Just installed the new release (along side of Jessie and Mint). I'm having a couple of problems. The first thing is that boot time is way slow compared to Jessie's boot time. The other problem (to me it is a problem) is the login screen. Unlike Jessie where my user name is already selected, and I only have to type in my password, Ascii requires me to type in my user name, and then my password. I know this may seem trivial, but before I tried Miyo I tried two other distros that behaved the same; not having to type in my user name for login was a very big reason I went with Miyo. (It seems superfluous to have to type it in when there's only one user account.)

Another problem I don't think has to do with Ascii is that I'm trying to run Pale Moon's browser installer script and when it asks me for my password I get an error message. It says make sure this user has sudo rights, or something like that. My password works for Synaptic so I don't know why it doesn't work for this.

#560 Re: Devuan Derivatives » [Miyo] Kernel questions » 2018-05-03 00:16:38

Ron

MiyoLinux wrote:
Then I'd recommend putting the # back on the backports repo.

I can't remember if I put them back. Should it look like this:

# jessie-backports
#deb http://auto.mirror.devuan.org/merged jessie-backports main
#deb-src http://auto.mirror.devuan.org/merged jessie-backports main

or just this:

# jessie-backports
deb http://auto.mirror.devuan.org/merged jessie-backports main
deb-src http://auto.mirror.devuan.org/merged jessie-backports main

Another question, if I disable the backports then won't I not be offered an update on the new kernel when one is released?

#562 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-02 01:45:32

Ron
siva wrote:

2. I really want to know why your anacrontab doesn't read:
1 8    automatic.trim   /sbin/fstrim --all || true
Also, what's the rationale behind keeping the " || true" statement?

You mean I really don't even need the trim script file?

As for the || true, I have no idea. I kept the file exactly the same as it was in Mint. Also, thanks for the tip in #1, and your link in your previous post.

And before I forget, many thanks to both siva and GNUser. I'm getting closer to ditching Mint and going with Miyo full-time.

#563 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-02 01:18:22

Ron

Okay, I think it's finally working in a way I can understand. First, I delete the trim file out of the /etc/cron.daily folder (and kept the one in my Documents folder). Then I went back to the anacron file in /etc and added this:

1 8    automatic.trim   /bin/bash /home/ron/Documents/trim

I changed 10 minutes to 8 and using your suggestion named it automatic.trim. Rebooted and ran sudo cat /var/log/syslog | grep anacron and got this on one line:

May  1 19:06:28 localhost anacron[1661]: Will run job `automatic.trim' in 8 min.

Finally, checked that the log file automatic.trim exists, opened it up and found this: 20180501.

So, can I finally consider this as SOLVED? smile

#564 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-02 00:38:21

Ron

Okay, one thing I just realized in looking at the anacrontab file in /etc. There is the following line:

1    5    cron.daily    run-parts --report /etc/cron.daily

I had previously put the script trim in /etc/cron.daily (and it's still there) so does that mean that trim ran?

#565 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-02 00:28:51

Ron

I just finished all the steps you gave me. It appears to have worked but I have one question. When I ran sudo cat /var/log/syslog | grep anacron I got this:

May  1 18:09:38 localhost anacron[1659]: Anacron 2.3 started on 2018-05-01
May  1 18:09:38 localhost anacron[1659]: Will run job `cron.daily' in 5 min.
May  1 18:09:38 localhost anacron[1659]: Will run job `cron.weekly' in 10 min.
May  1 18:09:38 localhost anacron[1659]: Will run job `cron.monthly' in 15 min.
May  1 18:09:38 localhost anacron[1659]: Jobs will be executed sequentially

Any idea why it says the daily cron will run in 5 minutes when it's set for 10?

EDIT: I think I know what happened. After installing anacron, I should have went back to re-add the line
1 10    example.daily   /bin/bash /home/ron/Documents/trim. I'm going back to add it again and retry everything. It should work this time!

#566 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-02 00:06:15

Ron

GNUser wrote:
Would you kindly share the contents of that file?

#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true

siva wrote:
A) which program
B) find / -iname *program*

which anacron returned nothing while almost every line from find / -iname anacron ended with Permission denied.

siva wrote:
To reiterate, I'm not sure why you're pointing cron to a script that runs a simple command.  I would use a script if there were a series of lines.

If I had to do it manually, I'd probably forget about it. smile One thing I'm wondering about, can I turn this script into an .sh file that will run when I click on it?

#567 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-01 20:44:44

Ron

Okay, I think I got a handle on this. I added the following line to /etc/anacrontab:

@daily    10    example.daily   /bin/bash /home/ron/Documents/trim

and made sure I copied the trim script into my Documents folder. Is that all there is to it? Once again, thanks for helping.

FTR, I'm just an average desktop user that regularly powers off (no hibernation/suspend).

EDIT: I just checked out the link in GNUser's post, and I don't have an anacron file in /usr/sbin, just a link. Does that mean anacron isn't working?

#568 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-05-01 17:32:01

Ron

So taking everything that has been said and done in this thread, I gather that I may place the trim script file in /etc/cron.daily and it will do its job?

#569 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-04-30 22:18:20

Ron

golinux wrote:
Not that it would make a difference but are you aware that sudo is not enabled by default in Devuan?

Maybe the Miyo guys enable it? I've never gotten an error message, I get a prompt for my password. Also I have used sudo to open read only files.

siva wrote:
Also, I have no idea why you didn't just run: /sbin/fstrim --all || true directly in a root shell.

I ran it in the terminal but got this:

fstrim: /: FITRIM ioctl failed: Operation not permitted

Then I added sudo in front of it, and after putting in my password there was a brief pause, then "ron@miyolinux:~$" came back. So does that mean it worked? I rebooted and all seems well (so far).

Also, I want to thank everyone for taking the time to help me out with this things. I appreciate it much. I'm determined to become "systemd free."

#570 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-04-30 21:28:19

Ron

siva wrote:
Have you ran this command in devuan yet (not as a cron job, just a command)?

I tried two ways, but can't get it to run right. First I just doubled clicked the file but it didn't run, it just opened up in my text editor. Then I tried pasting the path to it in the terminal and got this:

bash: /home/ron/Desktop/trim: Permission denied

Then I added sudo before the path and got this:

sudo: bash:: command not found

I'm starting to feel a little dumb. sad

#572 Re: Devuan Derivatives » [Miyo] How to set daily trim job? [SOLVED] » 2018-04-30 20:30:35

Ron

siva wrote:
If all you want is to know how to set up the cron job, then figure out which cron application your version of Mint uses first.  In devuan, you can either...
a) learn the cron version and syntax that miyo uses and create a new job for your needs; or,
b) if you really want, and if it's in the devuan repos, use the version of cron that Mint ships.  Just try to understand that you may end up setting up more than anticipated if it's not a miyo default.

Here's what I found in Mint:

Package: cron Version: 3.0pl1-128ubuntu2
and
Package: anacron Version: 2.3-23

I'm assuming that by default Mint uses the Ubuntu cron.

siva wrote:
I am assuming you understand what this command does and why.

Just that it runs a trim job, whatever that is. Anything beyond that is gooblygook to me.

#573 Devuan » Will Devuan ever stop being based on Debian? » 2018-04-30 20:15:16

Ron
Replies: 26

Will the time ever come where systemd will become an even bigger entwined mess (than it is now) that Devuan would simply have to no longer be based on Debian, but become completely independent? Or for any other reason? I'm mostly just asking for curiosity's sake.  smile

#574 Re: Devuan Derivatives » [Miyo] Kernel questions » 2018-04-30 20:04:22

Ron

I successfully added the backports, but when I mark the kernel for installation I get this error message:

linux-image-4.9.0-0.bpo.6-amd64:
  Depends: linux-base (>=4.3~) but 3.5 is to be installed

If I have the backport enabled, why am I not being offered an updated linux-base version?

#575 Re: Devuan Derivatives » [Miyo] Kernel questions » 2018-04-30 18:08:20

Ron

Thanks MiyoLinux. I did some research and found this below on debian's site. Is this what I need to do on Miyo/Devuan to get the backports? Also I'm a bit confused, would it go in the file sources.list found in /etc/apt or would it go in the file devuan.list in /etc/apt/sources.list.d? Thanks for your help.

 1.   For jessie add this line

    deb http://ftp.debian.org/debian jessie-backports main

    to your sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/)

   2.    Run apt-get update

Board footer

Forum Software